Search in sources :

Example 1 with LazyMySQLModifierService

use of com.skelril.skree.service.internal.modifier.LazyMySQLModifierService in project Skree by Skelril.

the class ModifierSystem method init.

@NModuleTrigger(trigger = "SERVER_STARTED")
public void init() {
    service = new LazyMySQLModifierService();
    // Register the service
    Sponge.getEventManager().registerListeners(SkreePlugin.inst(), new ModifierNotifier());
    Sponge.getServiceManager().setProvider(SkreePlugin.inst(), ModifierService.class, service);
    Sponge.getCommandManager().register(SkreePlugin.inst(), ModExtendCommand.aquireSpec(), "modextend");
}
Also used : ModifierNotifier(com.skelril.skree.content.modifier.ModifierNotifier) LazyMySQLModifierService(com.skelril.skree.service.internal.modifier.LazyMySQLModifierService) NModuleTrigger(com.skelril.nitro.module.NModuleTrigger)

Aggregations

NModuleTrigger (com.skelril.nitro.module.NModuleTrigger)1 ModifierNotifier (com.skelril.skree.content.modifier.ModifierNotifier)1 LazyMySQLModifierService (com.skelril.skree.service.internal.modifier.LazyMySQLModifierService)1