thecoder-001/MineColab

[BUG] Blocks disappearing after restarting the server

iamtakingithard opened this issue · 8 comments

Describe the bug
Blocks placed by players are disappearing after restarting the server

To Reproduce
Steps to reproduce the behavior:

  1. Create a map and host
  2. Place some random blocks
  3. Exit and shutdown the server with old IP
  4. Restart the server with new IP
  5. Join on the new IP
  6. See that your blocks are missing

Expected behavior
By idea everything should be saved.

Minecraft server Version
1.17, but I have seen that 1.16.4 is affected as well. Maybe other version as well

Mod/Datapack list
No mods and datapacks.

Ah, it seems to be a (duplicate?) of this issue #27

Addition. The settings were default ones, and nothing was changed apart from online-mode value to false

Also, on the notebook click on clear, and then shutdown the server till you see these lines

[09:45:42 INFO]: Stopping server
[09:45:42 INFO]: Saving players
[09:45:42 INFO]: Saving worlds
[09:45:42 INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[09:45:43 INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[09:45:43 INFO]: Saving chunks for level 'ServerLevel[world_nether]'/minecraft:the_nether
[09:45:43 INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:45:43 INFO]: Saving chunks for level 'ServerLevel[world_the_end]'/minecraft:the_end
[09:45:43 INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:45:43 INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[09:45:43 INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:45:43 INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:45:43 INFO]: Flushing Chunk IO
[09:45:43 INFO]: Closing Thread Pool
[09:45:43 INFO]: Closing Server

after that you can be sure that server is saved and all good.

You can also make datapack that autosaves server, by command "/save", it's a bit performance consuming but works, if you want I can link this datapack here

Sure @Shadow0Bit

Sorry I've noticed your reply today, I haven't posted it because it doesn't work for 1.17

Sure @Shadow0Bit

Sorry I've noticed your reply today, I haven't posted it because it doesn't work for 1.17

Sad

type in stop instead of the button