Search in sources :

Example 1 with RespawnQueueServiceImpl

use of com.skelril.skree.service.internal.respawnqueue.RespawnQueueServiceImpl in project Skree by Skelril.

the class RespawnQueueSystem method init.

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

Aggregations

NModuleTrigger (com.skelril.nitro.module.NModuleTrigger)1 RespawnQueueServiceImpl (com.skelril.skree.service.internal.respawnqueue.RespawnQueueServiceImpl)1