Commands/save

These commands manage server saves.

save-all
Saves the server to the data storage device. Causes the server to mark all chunks and player data as needing to be saved. They will be saved over time until all are flushed to the data storage device.

Arguments

 * flush
 * If 'flush' is specified as the sole argument to the command, all the chunks will be saved to the data storage device immediately, freezing the server for a short time.

Result

 * Succeeds if the map is successfully saved to the data storage device. If an error occurs (such as the data storage device being full, or another copy of Minecraft has the map open) the command will fail.

save-off
Disables the server writing to the world files. All changes will temporarily be queued.

Result
Always succeeds unless already disabled.

save-on
Enables the server writing to the world files.

Result
Always succeeds unless already enabled.

save
Prepares a backup, queries its status, or resumes.

Result
When the backup is ready, save query will output the path of every file and the amount of bytes to truncate it separated by a colon.

History
Befehl/save-all 命令/save