Skip to content
/SLASHPLAY

How to save a Minecraft server world

Type save-all in the server console to write the world and player data to disk right away. save-all flush writes everything in one go.

save-all

Saves the world and player data to disk right away, optionally writing everything out in one go.

/save-all [flush]

Examples

/save-all

Saves the world now.

save-all flush

From the console before copying the world folder.

Arguments

flushOptional
Write every chunk immediately before returning.

What it does

The server saves automatically, but running this first makes sure the files on disk are current, for example before a backup or a risky change. flush waits until all chunks are written, which can freeze the server briefly on large worlds.

Good to know

  • Needs operator permission level 4 (owner), the level op grants by default.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.