@EventHandler public void serverStopping(FMLServerStoppingEvent event) { if(general.voiceServerEnabled) { voiceManager.stop(); } //Clear all cache data jetpackOn.clear(); gasmaskOn.clear(); activeVibrators.clear(); worldTickHandler.resetRegenChunks(); privateTeleporters.clear(); //Reset consistent managers MultiblockManager.reset(); FrequencyManager.reset(); TransporterManager.reset(); PathfinderCache.reset(); TransmitterNetworkRegistry.reset(); }
@Mod.EventHandler public void serverStopping(FMLServerStoppingEvent event) { if (!CreeperHost.instance.active) return; serverOn = false; serializePreload(); pregenTasks.clear(); }
@Mod.EventHandler @SideOnly(Side.SERVER) public void serverStop(FMLServerStoppingEvent event) { DynMapFeatures.removeAllBorders(); Config.storeFillTask(); }
@EventHandler public void serverStopping(FMLServerStoppingEvent sabtsEvent) { for(EAPluginContainer plugin : EALoader.instance().loadedPlugins) { plugin.plugin.worldStop(); } EALoader.instance().loadedPlugins.clear(); }
@EventHandler public void serverStoppingEvent(FMLServerStoppingEvent event) { manager.interruptBackups(); try { manager.waitForBackups(); } catch (InterruptedException e) { return; } }
@Mod.EventHandler public void serverStopping(FMLServerStoppingEvent event) { if (event.getSide().isClient()) return; LOGGING_THREAD.end(); try { dataSource.close(); } catch (SQLException e) { logger.error(e.getMessage(), e); } }
@EventHandler public void onFMLServerStoppingEvent(FMLServerStoppingEvent e) { log.info("Stopping BlockTransfer server"); MinecraftForge.EVENT_BUS.unregister(this); FMLCommonHandler.instance().bus().unregister(this); IBPserver.stop(); try { IBPserverthread.join(); } catch (InterruptedException ex) { throw new RuntimeException("Interrupted during BlockTransfer server shutdown",ex); } }
@EventHandler public void onServerStopping(FMLServerStoppingEvent evt){ if(IPet.playersWithActivePets.size() > 0) for(PetID pet : IPet.playersWithActivePets.values()){ pet.retrievePet(); } }
@Mod.EventHandler public void serverStopping(FMLServerStoppingEvent event) { Game.events().publish(new ServerEvent.Stop()); }
@EventHandler public void onServerStopping(FMLServerStoppingEvent event) { //DataSaveing }
@Mod.EventHandler public void serverStopping(FMLServerStoppingEvent event) { for (EntityPlayerMP player : (List<EntityPlayerMP>)MinecraftServer.getServer().getConfigurationManager().playerEntityList) { handleQuit(player); } }
@EventHandler public void serverStopping(final FMLServerStoppingEvent event) { proxy.serverStopping(event); }
@Mod.EventHandler public void serverStopping(FMLServerStoppingEvent event) { backupManager.stop(); }
@EventHandler public void atServerStopping(FMLServerStoppingEvent e) { isServerStopping=true; }
@Subscribe public void serverStop(FMLServerStoppingEvent event) { tpsTimer.cancel(); server = null; }
@SubscribeEvent public void stopping(FMLServerStoppingEvent event) { if (visibilityRecalcService != null && !visibilityRecalcService.isShutdown()) visibilityRecalcService.shutdown(); }
@EventHandler public void serverStopping( FMLServerStoppingEvent event ) { petData.save(); }
@Mod.EventHandler public void on(FMLServerStoppingEvent event) { Bukkit.shutdown(); }
@Mod.EventHandler() public void eventHandler(FMLServerStoppingEvent event) { if (!MinecraftServer.getServer().isDedicatedServer()) RecipeRegistry.undo(); }
@EventHandler public void serverStop(FMLServerStoppingEvent event) { ConfigHandler.save(); }
@EventHandler public void onServerStopping(FMLServerStoppingEvent event) { PocketRegistry.saveData(); ChunkLoaderHandler.clearTicketMap(); }
@ServerStopping public void serverStopping(FMLServerStoppingEvent event) { mlt.saveAllPlayers(); apLogger.info("[Apocalyptic] Main life system unloaded with saving"); }
@EventHandler public void serverStopping(FMLServerStoppingEvent ev) { datasource.deleteAllBlockOwners(); ProtectionManager.saveBlockOwnersToDB(); datasource.stop(); }
@EventHandler public void serverStopping(FMLServerStoppingEvent e) { isServerStopping = true; }
@EventHandler public static void serverStopping(FMLServerStoppingEvent evt) { SyncHandler.clearAll(); }
@Mod.EventHandler public void serverStopping(FMLServerStoppingEvent event) { proxy.serverStopping(event); }
@Mod.EventHandler public void serverStop(FMLServerStoppingEvent event){ System.out.println("server stopped"); SerialManager.getInstance().close(); }
@Override public void serverStopping(FMLServerStoppingEvent event) { super.serverStopping(event); manager.releaseAll(); }
@EventHandler public void serverStopping(FMLServerStoppingEvent event) { runtime.serverStopping(event); }
@ServerStopping public void serverstopping(FMLServerStoppingEvent evt) { SLPHTTPServer.stop(); }
@Mod.ServerStopping public void serverShutdown(FMLServerStoppingEvent event){ Signs.saveArray(Signs.Proclist); }
@EventHandler public void serverStopping(FMLServerStoppingEvent event) { logger.info("Unloading spawn configuration"); MSCLogFormatter.log.clear(); config = null; }
@EventHandler public void serverUnload(FMLServerStoppingEvent event) { }
public void serverStopping(final FMLServerStoppingEvent event) { }
/** * A public method to handle the server-side stopping functionality.<p/> * From the {@link EventHandler} javadoc for methods using the {@link FMLServerStoppingEvent} parameter: * <pre> * FMLServerStoppingEvent: * Do what you need to before the server has started its shutdown sequence. * </pre> * @param event A Forge event handler for when the server is beginning to end. */ @EventHandler abstract public void serverStopDuring(FMLServerStoppingEvent event);
public void serverStopping(FMLServerStoppingEvent event) { }
/** * Called on server stop. * * @param event * the event */ public void serverStopping(FMLServerStoppingEvent event) { }
/** * Called when the server-stopping event occurs. * * *event* is the server-stopping event. */ public void serverStopping(FMLServerStoppingEvent event);
/** * Send the server-stopping event to the python mod. * * *event* is the server-stopping event. */ public void serverStopping(FMLServerStoppingEvent event) { this.log.fine("Server stopping."); this.pythonMod.serverStopping(event); }