[SPIGOT-2999] When restarting, server doesn't save data for players or world Created: 09/Jan/17  Updated: 09/Jan/17  Resolved: 09/Jan/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Adam Åstmar Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.11.2, crash, restart
Environment:

spigot.jar server latest build taken from Buildtools. Also connected to bungeecord, but that shouldn't be the issue.



 Description   

Hello. Whenever I restart my server, it doesn't seem that it's saving the players data (i.e inventories) or the world chunks. I use multicraft and have an autosaver on every 10 minutes and that helps a lot. But now when i restarted my world I did actually save the world before restarting, but still some things rollbacked, like chunks in the world and inventories. I also got this error in the console that apparently was causing a crash, therefor not saving anything.

09.01 21:39:58 [Server] ERROR The server has stopped responding! 09.01 21:39:58 [Server] ERROR Please report this to http://www.spigotmc.org/ 09.01 21:39:58 [Server] ERROR Be sure to include ALL relevant console errors and Minecraft crash reports 09.01 21:39:58 [Server] ERROR Spigot version: git-Spigot-7d78b81-270755d (MC: 1.11.2) 09.01 21:39:58 [Server] ERROR ------------------------------ 09.01 21:39:58 [Server] ERROR Server thread dump (Look for plugins here before reporting to Spigot!): 09.01 21:39:58 [Server] ERROR ------------------------------ 09.01 21:39:58 [Server] ERROR Current Thread: Server thread 09.01 21:39:58 [Server] ERROR PID: 15 | Suspended: false | Native: false | State: TIMED_WAITING 09.01 21:39:58 [Server] ERROR Stack: 09.01 21:39:58 [Server] ERROR java.lang.Thread.sleep(Native Method) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.FileIOThread.b(SourceFile:69) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.ServerNBTManager.a(SourceFile:51) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.WorldServer.saveLevel(WorldServer.java:1251) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.MinecraftServer.saveChunks(MinecraftServer.java:438) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.MinecraftServer.stop(MinecraftServer.java:491) 09.01 21:39:58 [Server] ERROR org.spigotmc.RestartCommand.restart(RestartCommand.java:121) 09.01 21:39:58 [Server] ERROR org.spigotmc.RestartCommand.restart(RestartCommand.java:40) 09.01 21:39:58 [Server] ERROR org.spigotmc.RestartCommand$1.run(RestartCommand.java:31) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:749) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) 09.01 21:39:58 [Server] ERROR net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) 09.01 21:39:58 [Server] ERROR java.lang.Thread.run(Thread.java:745) 09.01 21:39:58 [Server] ERROR ------------------------------ 09.01 21:39:58 [Server] ERROR Entire Thread Dump:


 Comments   
Comment by Adam Åstmar [ 09/Jan/17 ]

Alright. Thank you for the answer! Will do that from now on, since it worked.

Best regards

Comment by md_5 [ 09/Jan/17 ]

/restart is not compatible with Multicraft.
You should use /stop

Comment by Adam Åstmar [ 09/Jan/17 ]

I have not touched the save options.

I use multicrafts built in "restart" option. I also use /restart ingame. If the issue is customized save options, where do I find them and reset to default?

Edit: Just to add. When i do /stop and /start, everything works perfectly. It's only the /restart command that doesn't seem to work properly.

Comment by md_5 [ 09/Jan/17 ]

How are you restarting your server? Make sure you haven't customized save options.

Generated at Tue Apr 15 11:10:51 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.