use of net.dzikoysk.funnyguilds.command.Commands in project FunnyGuilds by FunnyGuilds.
the class FunnyGuilds method onLoad.
@Override
public void onLoad() {
if (!this.getDataFolder().exists()) {
this.getDataFolder().mkdir();
}
DescriptionManager descriptionManager = new DescriptionManager(super.getDescription());
version = descriptionManager.extractVersion();
PluginConfig settings = Settings.getConfig();
descriptionManager.rename(settings.pluginName);
this.concurrencyManager = new ConcurrencyManager(settings.concurrencyThreads);
this.concurrencyManager.printStatus();
this.reloadHandler = new ReloadHandler();
this.reloadHandler.init();
Commands commands = new Commands();
commands.register();
this.eventManager = new EventManager();
this.eventManager.load();
}
Aggregations