/save-all

These commands manage server saves.

save-all

This feature is exclusive to Java Edition.
 
/save-all
Permission level
required

4

Restrictions

Dedicated server

Saves the server to the data storage device.

Syntax

save-all

Normal mode. Saves player data immediately. Marks all chunks as needing to be saved. They get saved over time to the data storage device.

save-all flush

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

Result

CommandTriggerJava Edition
AnyThe command is incomplete. Unparseable
An error occurs (such as the data storage device being full). Failed
OtherwiseSuccessful

Output

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

save-off

This feature is exclusive to Java Edition.
 
/save-off
Permission level
required

4

Restrictions

Dedicated server

Disables the server writing to the level files (except player, advancement, stat files), in order to copy them for backup. All level changes are temporarily queued.

Syntax

save-off

Result

CommandTriggerJava Edition
AnyLevel file writing has already been turned off. Failed
OtherwiseSuccessful

Output

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

save-on

This feature is exclusive to Java Edition.
 
/save-on
Permission level
required

4

Restrictions

Dedicated server

Enables the server writing to the level files.

Syntax

save-on

Result

CommandTriggerJava Edition
AnyLevel file writing has not been turned off. Failed
OtherwiseSuccessful

Output

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

save

This feature is exclusive to Bedrock Edition.
 
/save
Permission level
required

4

Restrictions

Cheat only
Dedicated server

Prepares a backup, queries its status, or resumes.

Syntax

save hold
Disables the server writing to the world files. All changes are temporarily queued.
save query
Shows the path of every file and the amount of bytes to truncate it separated by a colon.
save resume
Enables the server writing to the world files.

Result

CommandTriggerBedrock Edition
AnyThe command is incomplete. Unparseable
save holdFile writing has already been turned off. Failed
save queryFile writing has not been turned off.
save resumeFile writing has not been turned off.
AnyOtherwiseSuccessful

History

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

Navigation