First work on converting the old global config file to the new one.

For #23
This commit is contained in:
graywolf336
2014-03-14 15:15:30 -05:00
parent 065f273c14
commit 060bb125a4
15 changed files with 584 additions and 32 deletions

View File

@ -161,6 +161,13 @@ public class JailMain extends JavaPlugin {
}
}
/** Reloads the Jail Sticks, so the new ones can be loaded from the config. */
public void reloadJailSticks() {
this.jsm.removeAllStickUsers();
this.jsm = null;
this.jsm = new JailStickManager(this);
}
/** Gets the {@link HandCuffManager} instance. */
public HandCuffManager getHandCuffManager() {
return this.hcm;