use of com.skelril.skree.content.aid.ChatCommandAid in project Skree by Skelril.
the class AidSystem method init.
@NModuleTrigger(trigger = "SERVER_STARTED")
public void init() {
try {
AntiPeskConfig config = ConfigLoader.loadConfig("anti_pesk.json", AntiPeskConfig.class);
Sponge.getEventManager().registerListeners(SkreePlugin.inst(), new ChatCommandAid());
Sponge.getEventManager().registerListeners(SkreePlugin.inst(), new AntiPeskListener(config));
} catch (IOException e) {
e.printStackTrace();
}
}
Aggregations