Ejemplo n.º 1
0
  @EventHandler
  public void serverLoad(FMLServerStartingEvent event) {

    event.registerServerCommand(new ToggleVampire());
    event.registerServerCommand(new CheckInfo());
    event.registerServerCommand(new VampireCMD());
  }
Ejemplo n.º 2
0
  @Mod.EventHandler
  public void serverStarting(FMLServerStartingEvent event) {
    event.registerServerCommand(commandBuildcraft);

    if (Utils.CAULDRON_DETECTED) {
      BCLog.logger.warn("############################################");
      BCLog.logger.warn("#                                          #");
      BCLog.logger.warn("#  Cauldron has been detected! Please keep #");
      BCLog.logger.warn("# in mind that BuildCraft does NOT support #");
      BCLog.logger.warn("#   Cauldron and we do not promise to fix  #");
      BCLog.logger.warn("#  bugs caused by its modifications to the #");
      BCLog.logger.warn("#   Minecraft engine. Please reconsider.   #");
      BCLog.logger.warn("#                                          #");
      BCLog.logger.warn("#  Any lag caused by BuildCraft on top of  #");
      BCLog.logger.warn("# Cauldron likely arises from our fixes to #");
      BCLog.logger.warn("#  their bugs, so please don't report that #");
      BCLog.logger.warn("#  either. Thanks for your attention! ~BC  #");
      BCLog.logger.warn("#                                          #");
      BCLog.logger.warn("############################################");

      // To people reading that code and thinking we're lying:
      // Cauldron does not invalidate tile entities properly, causing
      // issues with our tile entity cache. That is the bug and that
      // is also the reason for the extra lag caused when using Cauldron.
    }
  }
 @Mod.EventHandler
 public void serverStarting(FMLServerStartingEvent event) {
   event.registerServerCommand(new CommandHandler());
 }
Ejemplo n.º 4
0
 @EventHandler
 public void serverLoad(FMLServerStartingEvent event) {
   event.registerServerCommand(new FindIDCommand());
   event.registerServerCommand(new FindIDFromHandCommand());
 }
Ejemplo n.º 5
0
 public void serverStarting(FMLServerStartingEvent event) {
   event.registerServerCommand(new CommandDownloadLatest());
   event.registerServerCommand(new CommandShare());
   event.registerServerCommand(new CommandOpen());
   if (Botania.gardenOfGlassLoaded) event.registerServerCommand(new CommandSkyblockSpread());
 }
Ejemplo n.º 6
0
 @Mod.EventHandler
 public void serverStart(FMLServerStartingEvent event) {
   event.registerServerCommand(new PowerKitCommand());
 }
 @Override
 public void serverStarting(FMLServerStartingEvent e) {
   // general
   e.registerServerCommand(new CommandMotd());
   e.registerServerCommand(new CommandRules());
   e.registerServerCommand(new CommandModlist());
   // utility
   e.registerServerCommand(new CommandButcher());
   e.registerServerCommand(new CommandRemove());
   e.registerServerCommand(new CommandSpawnMob());
   e.registerServerCommand(new CommandTPS());
   e.registerServerCommand(new CommandKit());
   e.registerServerCommand(new CommandEnderchest());
   e.registerServerCommand(new CommandVirtualchest());
   e.registerServerCommand(new CommandCapabilities());
   e.registerServerCommand(new CommandSetspawn());
   e.registerServerCommand(new CommandJump());
   e.registerServerCommand(new CommandCraft());
   // op
   e.registerServerCommand(new CommandServerDo());
   // fun
   e.registerServerCommand(new CommandSmite());
   e.registerServerCommand(new CommandBurn());
   e.registerServerCommand(new CommandPotion());
   e.registerServerCommand(new CommandColorize());
   // teleport
   e.registerServerCommand(new CommandBack());
   e.registerServerCommand(new CommandBed());
   e.registerServerCommand(new CommandHome());
   e.registerServerCommand(new CommandSpawn());
   e.registerServerCommand(new CommandTp());
   e.registerServerCommand(new CommandTphere());
   e.registerServerCommand(new CommandTppos());
   e.registerServerCommand(new CommandWarp());
   // cheat
   e.registerServerCommand(new CommandRepair());
   e.registerServerCommand(new CommandHeal());
   // Vanilla Override
   e.registerServerCommand(new CommandBan());
   e.registerServerCommand(new CommandBanIp());
   e.registerServerCommand(new CommandBanlist());
   e.registerServerCommand(new CommandDebug());
   e.registerServerCommand(new CommandDefaultGameMode());
   e.registerServerCommand(new CommandDeop());
   e.registerServerCommand(new CommandDifficulty());
   e.registerServerCommand(new CommandEnchant());
   e.registerServerCommand(new CommandGameRule());
   //		e.registerServerCommand(new CommandHelp());
   e.registerServerCommand(new CommandKick());
   e.registerServerCommand(new CommandMe());
   e.registerServerCommand(new CommandOp());
   e.registerServerCommand(new CommandPardon());
   e.registerServerCommand(new CommandPardonIp());
   e.registerServerCommand(new CommandPublish());
   e.registerServerCommand(new CommandSaveAll());
   e.registerServerCommand(new CommandSaveOff());
   e.registerServerCommand(new CommandSaveOn());
   e.registerServerCommand(new CommandSay());
   e.registerServerCommand(new CommandSeed());
   e.registerServerCommand(new CommandStop());
   e.registerServerCommand(new CommandTell());
   e.registerServerCommand(new CommandTime());
   e.registerServerCommand(new CommandToggleDownfall());
   e.registerServerCommand(new CommandWeather());
   e.registerServerCommand(new CommandWhitelist());
   e.registerServerCommand(new CommandXP());
   e.registerServerCommand(new CommandKill());
   e.registerServerCommand(new CommandGive());
   e.registerServerCommand(new CommandClearInventory());
   e.registerServerCommand(new CommandGameMode());
 }
Ejemplo n.º 8
0
 @EventHandler
 public void onServerStarting(FMLServerStartingEvent event) {
   event.registerServerCommand(new CommandRU());
 }
Ejemplo n.º 9
0
 @EventHandler
 public void serverStarting(FMLServerStartingEvent event) {
   // THIS EVENT IS NOT FIRED ON SMP SERVERS
   event.registerServerCommand(new CommandFps());
   event.registerServerCommand(new CommandZyinHUDOptions());
 }
Ejemplo n.º 10
0
 public void register(FMLServerStartingEvent e) {
   list.add(this);
   e.registerServerCommand(this);
 }
 public static void regOverrides(FMLServerStartingEvent e) {
   e.registerServerCommand(new CommandBan());
   e.registerServerCommand(new CommandBanIp());
   e.registerServerCommand(new CommandBanlist());
   e.registerServerCommand(new CommandDebug());
   e.registerServerCommand(new CommandDefaultGameMode());
   e.registerServerCommand(new CommandDeop());
   e.registerServerCommand(new CommandDifficulty());
   e.registerServerCommand(new CommandEnchant());
   e.registerServerCommand(new CommandGameRule());
   e.registerServerCommand(new CommandKick());
   e.registerServerCommand(new CommandMe());
   e.registerServerCommand(new CommandOp());
   e.registerServerCommand(new CommandPardon());
   e.registerServerCommand(new CommandPardonIp());
   e.registerServerCommand(new CommandPublish());
   e.registerServerCommand(new CommandSaveAll());
   e.registerServerCommand(new CommandSaveOff());
   e.registerServerCommand(new CommandSaveOn());
   e.registerServerCommand(new CommandSay());
   e.registerServerCommand(new CommandSeed());
   e.registerServerCommand(new CommandStop());
   e.registerServerCommand(new CommandTell());
   e.registerServerCommand(new CommandTime());
   e.registerServerCommand(new CommandToggleDownfall());
   e.registerServerCommand(new CommandWeather());
   e.registerServerCommand(new CommandWhitelist());
   e.registerServerCommand(new CommandXP());
 }
Ejemplo n.º 12
0
 @EventHandler
 public void serverStarting(FMLServerStartingEvent event) {
   event.registerServerCommand(new CommandBuildCraft());
 }
 @Mod.EventHandler
 public void serverStart(FMLServerStartingEvent event) {
   event.registerServerCommand(new CommandArmourers());
   SkinDataCache.INSTANCE.serverStarted();
 }