Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteCarra committed Mar 22, 2016
1 parent 4cb1f40 commit d53bcff
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 26 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ bin
*.bak
*.rar
*.zip
*.iml
*.iml
out
.idea
Empty file removed config.yml
Empty file.
12 changes: 0 additions & 12 deletions plugin.yml

This file was deleted.

22 changes: 11 additions & 11 deletions src/com/comze_instancelabs/oitc/IClassesConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ public IClassesConfig(JavaPlugin plugin) {
this.getConfig().addDefault("config.kits.default.money_amount", 100);
this.getConfig().addDefault("config.kits.default.permission_node", "minigames.kits.default");

this.getConfig().addDefault("config.kits.pro.name", "Pro");
this.getConfig().addDefault("config.kits.pro.items", "261*1;262*2;258*1");
/*this.getConfig().addDefault("config.kits.pro.name", "Pro");
this.getConfig().addDefault("config.kits.pro.items", "261*1;262*1;258*1;298*1;299*1;300*1;301*1");
this.getConfig().addDefault("config.kits.pro.icon", "262*2");
this.getConfig().addDefault("config.kits.pro.lore", "The Pro class.");
this.getConfig().addDefault("config.kits.pro.requires_money", true);
this.getConfig().addDefault("config.kits.pro.requires_permission", false);
this.getConfig().addDefault("config.kits.pro.requires_money", false);
this.getConfig().addDefault("config.kits.pro.requires_permission", true);
this.getConfig().addDefault("config.kits.pro.money_amount", 100);
this.getConfig().addDefault("config.kits.pro.permission_node", "minigames.kits.pro");
this.getConfig().addDefault("config.kits.uber.name", "Uber");
this.getConfig().addDefault("config.kits.uber.items", "261*1;262*3;258*1");
this.getConfig().addDefault("config.kits.uber.name", "Pro Pro");
this.getConfig().addDefault("config.kits.uber.items", "261*1;262*1;267*1;302*1;303*1;304*1;305*1");
this.getConfig().addDefault("config.kits.uber.icon", "262*3");
this.getConfig().addDefault("config.kits.uber.lore", "The Uber class.");
this.getConfig().addDefault("config.kits.uber.requires_money", true);
this.getConfig().addDefault("config.kits.uber.requires_permission", false);
this.getConfig().addDefault("config.kits.uber.lore", "The Pro Pro class.");
this.getConfig().addDefault("config.kits.uber.requires_money", false);
this.getConfig().addDefault("config.kits.uber.requires_permission", true);
this.getConfig().addDefault("config.kits.uber.money_amount", 100);
this.getConfig().addDefault("config.kits.uber.permission_node", "minigames.kits.uber");
this.getConfig().addDefault("config.kits.uber.permission_node", "minigames.kits.propro");*/

this.getConfig().options().copyDefaults(true);
this.saveConfig();
}
Expand Down
4 changes: 2 additions & 2 deletions src/com/comze_instancelabs/oitc/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void onEnable() {
m = this;

// Copy over old MGOneInTheChamber configs to MGOITC config folder
File f = new File(this.getDataFolder().getParent() + "\\MGOneInTheChamber\\arenas.yml");
/*File f = new File(this.getDataFolder().getParent() + "\\MGOneInTheChamber\\arenas.yml");
File f2 = new File(this.getDataFolder() + "\\arenas.yml");
System.out.println(f + " " + f2);
try {
Expand All @@ -83,7 +83,7 @@ public void onEnable() {
}
} catch (Exception e) {
e.printStackTrace();
}
}*/

api = MinigamesAPI.getAPI().setupAPI(this, "OneInTheChamber", IArena.class, new ArenasConfig(this), new MessagesConfig(this), new IClassesConfig(this), new StatsConfig(this, false), new DefaultConfig(this, false), true);
PluginInstance pinstance = api.pinstances.get(this);
Expand Down

0 comments on commit d53bcff

Please sign in to comment.