Minecraft server on Ubuntu 16 not saving worlds on shutdown

My kids and I are trying to determine the issue with Minecraft server not saving worlds on reboot.

If we log off and log back in, any progress is still present, but if I reboot the machine, the world is reset.

It seems like this might be a permissions issue as I have encountered a few with setting up the MC server, but I don't have enough MC experience to know if this is expected behavior.

Do I need to set up some type of tear-down script to save progress or is there a way to elegantly shutdown the MC server before the machine powers off?

MC 1.9.4. There is a user minecraft and a systemd service to start the server on boot that I set up based on a tutorial. Other than that, it's more or less out of the box.

1 Answer

You need to tell the Minecraft server to actually save the world state before you shut the machine hosting it down. The Minecraft console command for this is save-all.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like