Search in sources :

Example 1 with CommandSC

use of net.geforcemods.securitycraft.commands.CommandSC in project SecurityCraft by Geforce132.

the class mod_SecurityCraft method serverStarting.

@EventHandler
public void serverStarting(FMLServerStartingEvent event) {
    event.registerServerCommand(new CommandSC());
    event.registerServerCommand(new CommandModule());
}
Also used : CommandModule(net.geforcemods.securitycraft.commands.CommandModule) CommandSC(net.geforcemods.securitycraft.commands.CommandSC) EventHandler(net.minecraftforge.fml.common.Mod.EventHandler) ForgeEventHandler(net.geforcemods.securitycraft.handlers.ForgeEventHandler)

Example 2 with CommandSC

use of net.geforcemods.securitycraft.commands.CommandSC in project SecurityCraft by Geforce132.

the class SecurityCraft method serverStarting.

@EventHandler
public void serverStarting(FMLServerStartingEvent event) {
    event.registerServerCommand(new CommandSC());
    event.registerServerCommand(new CommandModule());
}
Also used : CommandModule(net.geforcemods.securitycraft.commands.CommandModule) CommandSC(net.geforcemods.securitycraft.commands.CommandSC) EventHandler(net.minecraftforge.fml.common.Mod.EventHandler)

Aggregations

CommandModule (net.geforcemods.securitycraft.commands.CommandModule)2 CommandSC (net.geforcemods.securitycraft.commands.CommandSC)2 EventHandler (net.minecraftforge.fml.common.Mod.EventHandler)2 ForgeEventHandler (net.geforcemods.securitycraft.handlers.ForgeEventHandler)1