use of com.skelril.skree.service.internal.shutdown.ShutdownServiceImpl in project Skree by Skelril.
the class ShutdownSystem method init.
@NModuleTrigger(trigger = "SERVER_STARTED")
public void init() {
service = new ShutdownServiceImpl();
// Register the service & command
Sponge.getServiceManager().setProvider(SkreePlugin.inst(), ShutdownService.class, service);
Sponge.getCommandManager().register(SkreePlugin.inst(), ShutdownCommand.aquireSpec(), "shutdown");
}
Aggregations