Commands/save

From Minecraft Wiki
< Commands(Redirected from Commands/save-all)
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

Information icon.svg
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[edit]

save-all [<flush>]

Arguments[edit]

<flush>

If <flush> is specified as the sole argument to the command, all the chunks are saved to the data storage device immediately, freezing the server for a short time.

Result[edit]

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 fails.

save-off[edit]

save-off
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Java Edition Alpha v1.0.16_01

Information icon.svg
This feature is exclusive to Java Edition.

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

Syntax[edit]

save-off

Result[edit]

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

Information icon.svg
This feature is exclusive to Java Edition.

Enables the server writing to the world files.

Syntax[edit]

save-on

Result[edit]

Always succeeds unless already enabled.

save[edit]

save
Restrictions

Multiplayer
Operator
No command blocks

First introduced

Bedrock Edition 1.6.1

Information icon.svg
This feature is exclusive to Bedrock Edition.

Prepares a backup, queries its status, or resumes.

Syntax[edit]

save <hold|query|resume>

Result[edit]

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[edit]

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