Search in sources :

Example 1 with CommandModule

use of org.freeforums.geforce.securitycraft.commands.CommandModule in project SecurityCraft by Geforce132.

the class mod_SecurityCraft method serverStarting.

// public static Item testChestplate;
@EventHandler
public void serverStarting(FMLServerStartingEvent event) {
    event.registerServerCommand(new CommandSCHelp());
    event.registerServerCommand(new CommandModule());
    if (this.debuggingMode) {
        event.registerServerCommand(new CommandSCLog());
    }
}
Also used : CommandModule(org.freeforums.geforce.securitycraft.commands.CommandModule) CommandSCHelp(org.freeforums.geforce.securitycraft.commands.CommandSCHelp) CommandSCLog(org.freeforums.geforce.securitycraft.commands.CommandSCLog) ForgeEventHandler(org.freeforums.geforce.securitycraft.handlers.ForgeEventHandler) EventHandler(cpw.mods.fml.common.Mod.EventHandler)

Aggregations

EventHandler (cpw.mods.fml.common.Mod.EventHandler)1 CommandModule (org.freeforums.geforce.securitycraft.commands.CommandModule)1 CommandSCHelp (org.freeforums.geforce.securitycraft.commands.CommandSCHelp)1 CommandSCLog (org.freeforums.geforce.securitycraft.commands.CommandSCLog)1 ForgeEventHandler (org.freeforums.geforce.securitycraft.handlers.ForgeEventHandler)1