Search in sources :

Example 1 with DropClearServiceImpl

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");
}
Also used : DropClearServiceImpl(com.skelril.skree.service.internal.dropclear.DropClearServiceImpl) NModuleTrigger(com.skelril.nitro.module.NModuleTrigger)

Aggregations

NModuleTrigger (com.skelril.nitro.module.NModuleTrigger)1 DropClearServiceImpl (com.skelril.skree.service.internal.dropclear.DropClearServiceImpl)1