Minecraft Wiki
Advertisement

These commands manage server saves.

save-all[]

Information icon
This feature is exclusive to Java Edition. 

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

Syntax[]

save-all

Normal mode.

save-all flush

All the chunks are saved to the data storage device immediately, freezing the server for a short time.

Result[]

CommandTriggerJava Edition
anyif an error occurs (such as the data storage device being full, or another copy of Minecraft has the map open) Failed
OtherwiseSuccessful

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A11

save-off[]

Information icon
This feature is exclusive to Java Edition. 

Disables the server writing to the world files. All changes are temporarily queued.

Syntax[]

save-off

Result[]

CommandTriggerJava Edition
anyif automatic saving have already been turned off Failed
OtherwiseSuccessful

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A11

save-on[]

Information icon
This feature is exclusive to Java Edition. 

Enables the server writing to the world files.

Syntax[]

save-on

Result[]

CommandTriggerJava Edition
anyif automatic saving have not been turned off Failed
OtherwiseSuccessful

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A11

save[]

Information icon
This feature is exclusive to Bedrock Edition. 

Prepares a backup, queries its status, or resumes.

Syntax[]

save <hold|query|resume>

Result[]

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

History[]

Java Edition Alpha
v1.0.16_01Added /save-all, /save-off and /save-on.
Bedrock Edition
1.6.1Added /save.
Advertisement