Commands/save
< Commands
These commands manage server saves.
Contents
save-all[edit]
save-all
Restrictions | |
---|---|
First introduced |
Saves the server to disk.
- 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 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[edit]
save-off
Restrictions | |
---|---|
First introduced |
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 | |
---|---|
First introduced |
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 | |
---|---|
First introduced |
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 . |