Search in sources :

Example 1 with RespawnServiceImpl

use of com.skelril.skree.service.internal.respawn.RespawnServiceImpl in project Skree by Skelril.

the class RespawnSystem method init.

@NModuleTrigger(trigger = "SERVER_STARTED")
public void init() {
    service = new RespawnServiceImpl();
    // Register the service
    Sponge.getEventManager().registerListeners(SkreePlugin.inst(), service);
    Sponge.getServiceManager().setProvider(SkreePlugin.inst(), RespawnService.class, service);
}
Also used : RespawnServiceImpl(com.skelril.skree.service.internal.respawn.RespawnServiceImpl) NModuleTrigger(com.skelril.nitro.module.NModuleTrigger)

Aggregations

NModuleTrigger (com.skelril.nitro.module.NModuleTrigger)1 RespawnServiceImpl (com.skelril.skree.service.internal.respawn.RespawnServiceImpl)1