public override void Load() { Name = "Endgame Enhancer"; Description = "Enhances the Endgame of Terraria."; Author = "Nivek"; Version = "1.01"; TDSMBuild = 24; //Current Release - Working string pluginFolder = Statics.PluginPath + Path.DirectorySeparatorChar + "TDSM"; //Create folder if it doesn't exist CreateDirectory(pluginFolder); //setup a new properties file properties = new File(pluginFolder + Path.DirectorySeparatorChar + "tdsmplugin.properties"); properties.Load(); //properties.Save(); combatXP = new File(pluginFolder + Path.DirectorySeparatorChar + "combatXP.file"); combatXP.Load(); //combatXP.Save(); defenseXP = new File(pluginFolder + Path.DirectorySeparatorChar + "defenseXP.file"); defenseXP.Load(); //defenseXP.Save(); travelerXP = new File(pluginFolder + Path.DirectorySeparatorChar + "travelerXP.file"); travelerXP.Load(); //travelerXP.Save(); //read properties data mobSpawn = properties.getValue("mobSpawn", true); tileBreak = properties.getValue("tileBreak", true); explosives = properties.getValue("explosives", true); isEnabled = true; }