Search in sources :

Example 1 with PvPServiceImpl

use of com.skelril.skree.service.internal.pvp.PvPServiceImpl in project Skree by Skelril.

the class PvPSystem method init.

@NModuleTrigger(trigger = "SERVER_STARTED")
public void init() {
    service = new PvPServiceImpl();
    // Register the service & command
    Sponge.getEventManager().registerListeners(SkreePlugin.inst(), service);
    Sponge.getServiceManager().setProvider(SkreePlugin.inst(), PvPService.class, service);
    Sponge.getCommandManager().register(SkreePlugin.inst(), PvPCommand.aquireSpec(), "pvp");
}
Also used : PvPServiceImpl(com.skelril.skree.service.internal.pvp.PvPServiceImpl) NModuleTrigger(com.skelril.nitro.module.NModuleTrigger)

Aggregations

NModuleTrigger (com.skelril.nitro.module.NModuleTrigger)1 PvPServiceImpl (com.skelril.skree.service.internal.pvp.PvPServiceImpl)1