Commands/save

From Minecraft Wiki
< Commands(Redirected from Commands/save-off)
Jump to: navigation, search

These commands manage server saves.

save-all[edit]

save-all
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Java Edition Alpha v1.0.16_02

Saves the server to the data storage device.

Syntax
save-all [flush]
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 the data storage device.
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.
Success Conditions
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[edit]

save-off
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Java Edition Alpha v1.0.16_01

Disables automatic server saves.

Syntax
save-off
Description
Disables the server writing to the world files. All changes will temporarily be queued.
Success Conditions
Always succeeds unless already disabled.

save-on[edit]

save-on
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Java Edition Alpha v1.0.16_01

Enables automatic server saves.

Syntax
save-on
Description
Enables the server writing to the world files. This is the default behavior.
Success Conditions
Always succeeds unless already enabled.

save[edit]

save
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Bedrock Edition 1.6.1

Prepares a backup, queries its status, or resumes.

Syntax
save [hold|query|resume]
Description
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[edit]

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