Commands/save

These commands manage server saves.

save-all
Saves the server to disk.


 * Syntax




 * Description


 * 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 disk.
 * If 'flush' is specified as the sole argument to the command, all the chunks will be saved to disk immediately, freezing the server for a short time.


 * Success Conditions


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

save-off
Disables automatic server saves.


 * Syntax




 * Description


 * Disables the server writing to the world files. All changes will temporarily be queued.


 * Success Conditions


 * Always succeeds unless already disabled.

save-on
Enables automatic server saves.


 * Syntax




 * Description


 * Enables the server writing to the world files. This is the default behavior.


 * Result


 * Always succeeds unless already enabled.