Upate to config

Now has a default config copied over on first run (can and should be commented!)
Currently loads defaults from our in-jar file then what we define in code, could remove what we have in-code?
The power of the auto-formatter compells you
This commit is contained in:
NuclearW
2012-01-31 02:59:46 -05:00
parent 7cefdedea2
commit b7955ea29e
4 changed files with 1042 additions and 696 deletions

File diff suppressed because it is too large Load Diff

View File

@ -97,7 +97,7 @@ public class mcMMO extends JavaPlugin
public Misc misc = new Misc(this);
//Config file stuff
LoadProperties config = new LoadProperties(this);
LoadProperties config;
//Jar stuff
public static File mcmmo;
@ -127,8 +127,8 @@ public class mcMMO extends JavaPlugin
mcPermissions.initialize(getServer());
System.out.println("[mcMMO]Checking config file at: " + this.getDataFolder().toString() + File.separator + "config.yml");
config.configCheck();
this.config = new LoadProperties(this);
this.config.load();
Party.getInstance().loadParties();
new Party(this);