@EventHandler public static void onServerStopped(FMLServerStoppedEvent event) { if (ModConfiguration.halloweenCheckInterval > 0) { // stop the scheduler scheduler.schedule(new Runnable() { @Override public void run() { handle.cancel(true); } }, 0, TimeUnit.SECONDS); } }
@EventHandler public void serverStopped(FMLServerStoppedEvent evt) { Set<IWorldGenerator> worldGens = ObfuscationReflectionHelper.getPrivateValue(GameRegistry.class, null, "worldGenerators"); Map<IWorldGenerator,Integer> worldGenIdx = ObfuscationReflectionHelper.getPrivateValue(GameRegistry.class, null, "worldGeneratorIndex"); for (TargetWorldWrapper tww : delegates.values()) { worldGens.remove(tww); Integer idx = worldGenIdx.remove(tww); worldGens.add(tww.delegate); worldGenIdx.put(tww.delegate,idx); } delegates.clear(); }
@Mod.EventHandler public void onServerStop(FMLServerStoppedEvent event) { logger.debug("Cleaning up"); PlayerDataManager.capList.clear(); PlayerDataManager.tutorialDone.clear(); EventHandler.hitList.clear(); }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event) { // Unregister custom dimensions. This is only useful in single player, // so that all the dimensions won't immediately load when joining a world again. DimensionConfig.instance().unregisterCustomDimensions(); }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event) { eventHandlerServer.mobHats.clear(); eventHandlerServer.playerHats.clear(); eventHandlerServer.playerActivity.clear(); eventHandlerServer.playerTradeRequests.clear(); eventHandlerServer.activeTrades.clear(); proxy.playerWornHats.clear(); }
@Mod.EventHandler public static void serverStop(FMLServerStoppedEvent event) { SolarApi.getRelativityPowerMap().clear(); SolarApi.getRelativityMap().clear(); SolarApi.setQuantumData(null); }
@Override public void serverStopped(FMLServerStoppedEvent event) { GrassColours.clearCache(); }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event) { proxy.serverStopped(event); }
@EventHandler public void serverStopped(FMLServerStoppedEvent event) { EntityPackManager.saveAllPacksInfo(false); EntityPackManager.cleanup(); }
public void serverStopped(FMLServerStoppedEvent event){ for (DimensionalSettingsModifier modifier: modifiers.values()) { modifier.serverStopped(event); } }
public void serverStopped(FMLServerStoppedEvent event) { new HashMap<Integer,GenLayerRiverMixWrapper>(); dimensionalSettings = new HashMap<Integer,ClimateControlSettings>(); }
@EventHandler public void serverStopped(@Nonnull final FMLServerStoppedEvent event) { proxy.serverStopped(event); }
public void serverStopped(@Nonnull final FMLServerStoppedEvent event) { ServiceManager.deinitialize(); }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event){ //logger.info("Server stopped: " + event + " [TCINFO]"); }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event) { MinecraftForge.EVENT_BUS.unregister(ServerEventHandlers.I); }
public void onServerStopped(FMLServerStoppedEvent evt) { }
@EventHandler public void serverStopped(@Nonnull FMLServerStoppedEvent event) { ServerTickHandler.flush(); ServerChannelRegister.instance.reset(); }
public void serverStopped(FMLServerStoppedEvent e) { }
/** * Called at the end of server shutdown. End connections here? */ void closeDatabase(FMLServerStoppedEvent event);
@Override public void closeDatabase(FMLServerStoppedEvent event) { }
abstract public void serverStopped(FMLServerStoppedEvent event);