/** * This event will be fired after the server stopped * Only the ServerSide will receive this event. * * @param event */ public void OnServerStopped(FMLServerStoppedEvent event) { /*!gen.mod.hook.OnServerStopped*/ /**/ //TODO:Add your own code here }
/** * Called when the server is stopped. * * @param event - the event information */ @EventHandler public void shutdown(FMLServerStoppedEvent event) { LogHelper.info("Stopping MCManager..."); if(webServerEnabled) webServer.stopServer(); consoleMonitor.stopLogging(); LogHelper.info("MCManager stopped."); }
@EventHandler public void unregisterDims(FMLServerStoppedEvent var1) { WorldUtil.unregisterPlanets(); WorldUtil.unregisterSpaceStations(); }
@EventHandler public void unregisterDims(FMLServerStoppedEvent event) { SpaceLog.severe("Unregister-Dims"); }
@EventHandler public void onServerStop(FMLServerStoppedEvent event) { round.save(); }
@EventHandler public void serverStop(FMLServerStoppedEvent event) { // Shutdown our throttled packet dispatcher ServerPacketDispatcher.getInstance().halt(); ServerPacketDispatcher.shutdown(); }
public void serverStopped(FMLServerStoppedEvent event) { generating.clear(); }
@EventHandler public void serverStopped(FMLServerStoppedEvent event) { structureGenerator.serverStopped(event); structureRegister.serverStopped(event); }
public void serverStopped(FMLServerStoppedEvent event) { worldManagers.clear(); loadedStructures.clear(); }
@EventHandler public void atServerStopped(FMLServerStoppedEvent e) { }
@Mod.EventHandler public void serverStopped(final FMLServerStoppedEvent event) { }
@EventHandler public void serverStop(FMLServerStoppedEvent event) { ThreadBlockChecking.instance().onLeaveWorld(); }
@Mod.EventHandler public void onServerStopped(FMLServerStoppedEvent event) { ChunkLoadHandler.tickets.clear(); }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event) { if(FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER) { TeleportRegistry.clear(); } }
@EventHandler public void serverStopping(FMLServerStoppedEvent event) { if (worldConfig == null) return; config.remove(worldConfig); worldConfig = null; }
@Mod.EventHandler public void serverStopped(FMLServerStoppedEvent event) { proxy.serverStopped(event); }
public void serverStopped(FMLServerStoppedEvent event) { Physis.oooBuilder.stop(); }
@EventHandler public void onServerStoped(FMLServerStoppedEvent event) { }
/** * A public method to handle the server-side stopped functionality.<p/> * From the {@link EventHandler} javadoc for methods using the {@link FMLServerStoppedEvent} parameter: * <pre> * FMLServerStoppedEvent: * Do whatever cleanup you need once the server has shutdown. * Generally only useful on the integrated server. * </pre> * @param event A Forge event handler for when the server is finishing to end. */ @EventHandler abstract public void serverStopFinish(FMLServerStoppedEvent event);
/** * Called when the server-stopped event occurs. * * *event* is the server-stopped event. */ public void serverStopped(FMLServerStoppedEvent event);
/** * Send the server-stopped event to the python mod. * * *event* is the server-stopped event. */ public void serverStopped(FMLServerStoppedEvent event) { this.log.fine("Server stopped."); this.pythonMod.serverStopped(event); }
/** * Called when the Minecraft server stopped. * * @param event * the event. */ @ServerStopped public void serverStopped(FMLServerStoppedEvent event) { ((IServer) P2P.get(P2P.SERVER_PROVIDER)).stop(); }