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");
}
Aggregations