@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();
}
java类cpw.mods.fml.common.event.FMLServerStoppingEvent的实例源码
Mekanism.java 文件源码
项目:vsminecraft
阅读 26
收藏 0
点赞 0
评论 0
CreeperHostServer.java 文件源码
项目:CreeperHostGui
阅读 20
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void serverStopping(FMLServerStoppingEvent event)
{
if (!CreeperHost.instance.active)
return;
serverOn = false;
serializePreload();
pregenTasks.clear();
}
WorldBorder.java 文件源码
项目:WorldBorder-Forge
阅读 19
收藏 0
点赞 0
评论 0
@Mod.EventHandler
@SideOnly(Side.SERVER)
public void serverStop(FMLServerStoppingEvent event)
{
DynMapFeatures.removeAllBorders();
Config.storeFillTask();
}
EliteArmageddon.java 文件源码
项目:Elite-Armageddon
阅读 16
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStopping(FMLServerStoppingEvent sabtsEvent)
{
for(EAPluginContainer plugin : EALoader.instance().loadedPlugins)
{
plugin.plugin.worldStop();
}
EALoader.instance().loadedPlugins.clear();
}
SmartBackup.java 文件源码
项目:SmartBackup
阅读 19
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStoppingEvent(FMLServerStoppingEvent event) {
manager.interruptBackups();
try {
manager.waitForBackups();
} catch (InterruptedException e) {
return;
}
}
D3Log.java 文件源码
项目:D3Log
阅读 19
收藏 0
点赞 0
评论 0
@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);
}
}
IsoBlockProjector.java 文件源码
项目:IsoBlockProjector
阅读 19
收藏 0
点赞 0
评论 0
@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);
}
}
RpgMastersAddon.java 文件源码
项目:rpginventory
阅读 17
收藏 0
点赞 0
评论 0
@EventHandler
public void onServerStopping(FMLServerStoppingEvent evt){
if(IPet.playersWithActivePets.size() > 0)
for(PetID pet : IPet.playersWithActivePets.values()){
pet.retrievePet();
}
}
NovaMinecraft.java 文件源码
项目:NOVA-Core
阅读 24
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void serverStopping(FMLServerStoppingEvent event) {
Game.events().publish(new ServerEvent.Stop());
}
LogisticStorage.java 文件源码
项目:Logistic-Storage
阅读 18
收藏 0
点赞 0
评论 0
@EventHandler
public void onServerStopping(FMLServerStoppingEvent event)
{
//DataSaveing
}
ForgeMain.java 文件源码
项目:FastAsyncWorldedit
阅读 23
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void serverStopping(FMLServerStoppingEvent event) {
for (EntityPlayerMP player : (List<EntityPlayerMP>)MinecraftServer.getServer().getConfigurationManager().playerEntityList) {
handleQuit(player);
}
}
ThermalRecycling.java 文件源码
项目:ThermalRecycling
阅读 22
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStopping(final FMLServerStoppingEvent event) {
proxy.serverStopping(event);
}
YABM2.java 文件源码
项目:YetAnotherBackupMod2
阅读 19
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void serverStopping(FMLServerStoppingEvent event)
{
backupManager.stop();
}
ChunkyPeripherals.java 文件源码
项目:ChunkyPeripherals
阅读 24
收藏 0
点赞 0
评论 0
@EventHandler
public void atServerStopping(FMLServerStoppingEvent e)
{
isServerStopping=true;
}
TickDynamicMod.java 文件源码
项目:TickDynamic
阅读 26
收藏 0
点赞 0
评论 0
@Subscribe
public void serverStop(FMLServerStoppingEvent event) {
tpsTimer.cancel();
server = null;
}
EightInSeven.java 文件源码
项目:EightInSeven
阅读 18
收藏 0
点赞 0
评论 0
@SubscribeEvent
public void stopping(FMLServerStoppingEvent event) {
if (visibilityRecalcService != null && !visibilityRecalcService.isShutdown())
visibilityRecalcService.shutdown();
}
UsefulPets.java 文件源码
项目:UsefulPets
阅读 21
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStopping( FMLServerStoppingEvent event )
{
petData.save();
}
SpongeBukkitMod.java 文件源码
项目:SpongeBukkit
阅读 21
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void on(FMLServerStoppingEvent event)
{
Bukkit.shutdown();
}
CrayCrafting.java 文件源码
项目:CrayCrafting
阅读 21
收藏 0
点赞 0
评论 0
@Mod.EventHandler()
public void eventHandler(FMLServerStoppingEvent event)
{
if (!MinecraftServer.getServer().isDedicatedServer()) RecipeRegistry.undo();
}
bUpload.java 文件源码
项目:bUpload
阅读 19
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStop(FMLServerStoppingEvent event) {
ConfigHandler.save();
}
DimensionalPockets.java 文件源码
项目:Dimensional-Pockets
阅读 17
收藏 0
点赞 0
评论 0
@EventHandler
public void onServerStopping(FMLServerStoppingEvent event) {
PocketRegistry.saveData();
ChunkLoaderHandler.clearTicketMap();
}
Apocalyptic.java 文件源码
项目:Apocalyptic
阅读 30
收藏 0
点赞 0
评论 0
@ServerStopping
public void serverStopping(FMLServerStoppingEvent event) {
mlt.saveAllPlayers();
apLogger.info("[Apocalyptic] Main life system unloaded with saving");
}
MyTown.java 文件源码
项目:MyTown2
阅读 20
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStopping(FMLServerStoppingEvent ev) {
datasource.deleteAllBlockOwners();
ProtectionManager.saveBlockOwnersToDB();
datasource.stop();
}
MoarPeripherals.java 文件源码
项目:MoarPeripherals
阅读 16
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStopping(FMLServerStoppingEvent e) {
isServerStopping = true;
}
SimplyJetpacks.java 文件源码
项目:SimplyJetpacks
阅读 19
收藏 0
点赞 0
评论 0
@EventHandler
public static void serverStopping(FMLServerStoppingEvent evt) {
SyncHandler.clearAll();
}
Physis.java 文件源码
项目:ShadowsOfPhysis
阅读 21
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void serverStopping(FMLServerStoppingEvent event) {
proxy.serverStopping(event);
}
MineDuinoMod.java 文件源码
项目:mineduino
阅读 29
收藏 0
点赞 0
评论 0
@Mod.EventHandler
public void serverStop(FMLServerStoppingEvent event){
System.out.println("server stopped");
SerialManager.getInstance().close();
}
ClientRuntime.java 文件源码
项目:playblock
阅读 26
收藏 0
点赞 0
评论 0
@Override
public void serverStopping(FMLServerStoppingEvent event) {
super.serverStopping(event);
manager.releaseAll();
}
PlayBlock.java 文件源码
项目:playblock
阅读 17
收藏 0
点赞 0
评论 0
@EventHandler
public void serverStopping(FMLServerStoppingEvent event) {
runtime.serverStopping(event);
}
SLPMod.java 文件源码
项目:someluigis-peripherals
阅读 18
收藏 0
点赞 0
评论 0
@ServerStopping
public void serverstopping(FMLServerStoppingEvent evt) {
SLPHTTPServer.stop();
}