use of com.skelril.skree.service.internal.dropclear.DropClearServiceImpl in project Skree by Skelril.
the class DropClearSystem method init.
@NModuleTrigger(trigger = "SERVER_STARTED")
public void init() {
service = new DropClearServiceImpl(1000, 3);
// Register the service & command
Sponge.getServiceManager().setProvider(SkreePlugin.inst(), DropClearService.class, service);
Sponge.getEventManager().registerListeners(SkreePlugin.inst(), service);
Sponge.getCommandManager().register(SkreePlugin.inst(), DropClearCommand.aquireSpec(120), "dropclear", "dc");
}
Aggregations