Minecraft:Commands/save: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 2: | Line 2: | ||
== save-all == | == save-all == | ||
{{ | {{Exclusive|Java|section=1}} | ||
{{Infobox command | {{Infobox command | ||
|name=save-all | |name=save-all | ||
|oplevel=4 | |oplevel=4 | ||
|serveronly=y | |serveronly=y | ||
}}{{DISPLAYTITLE:/save|noerror}}<!--Located here to override displaytitle in the infobox--> | }}{{DISPLAYTITLE:<code>/save</code>|noerror}}<!--Located here to override displaytitle in the infobox--> | ||
Saves the server to the data storage device. | Saves the server to the data storage device. | ||
| Line 14: | Line 14: | ||
<code>save-all</code> | <code>save-all</code> | ||
: Normal mode. Saves player data immediately. Marks all chunks as needing to be saved. They get saved over time to the data storage device. | : Normal mode. Saves player data immediately. Marks all [[Minecraft:chunks]] as needing to be saved. They get saved over time to the data storage device. | ||
: This includes when auto-saving has been disabled using the "save-off" command. (see below) | : This includes when auto-saving has been disabled using the "save-off" command. (see below) | ||
<code>save-all flush</code> | <code>save-all flush</code> | ||
| Line 29: | Line 29: | ||
===Output=== | ===Output=== | ||
{{ | {{Output table}} | ||
{{ | {{Output table|edition=je|On fail|N/A|0|0}} | ||
{{ | {{Output table|On success|N/A|1|1}} | ||
{{ | {{Output table}} | ||
== save-off == | == save-off == | ||
{{ | {{Exclusive|java|section=1}} | ||
{{Infobox command | {{Infobox command | ||
|name=save-off | |name=save-off | ||
| Line 58: | Line 58: | ||
===Output=== | ===Output=== | ||
{{ | {{Output table}} | ||
{{ | {{Output table|edition=je|On fail|N/A|0|0}} | ||
{{ | {{Output table|On success|N/A|1|1}} | ||
{{ | {{Output table}} | ||
== save-on == | == save-on == | ||
{{ | {{Exclusive|java|section=1}} | ||
{{Infobox command | {{Infobox command | ||
|name=save-on | |name=save-on | ||
| Line 86: | Line 86: | ||
===Output=== | ===Output=== | ||
{{ | {{Output table}} | ||
{{ | {{Output table|edition=je|On fail|N/A|0|0}} | ||
{{ | {{Output table|On success|N/A|1|1}} | ||
{{ | {{Output table}} | ||
== save == | == save == | ||
{{ | {{Exclusive|bedrock|section=1}} | ||
{{Infobox command | {{Infobox command | ||
|name=save | |name=save | ||
| Line 126: | Line 126: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java alpha}} | ||
|{{HistoryLine||v1.0.16_01|dev=server 0.1.2|Added {{ | |{{HistoryLine||v1.0.16_01|dev=server 0.1.2|Added {{cd|/save-all}}, {{cd|/save-off}} and {{cd|/save-on}}.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.6.1|Added {{ | |{{HistoryLine||1.6.1|Added {{cd|/save}}.}} | ||
}} | }} | ||
| Line 141: | Line 141: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
de:Befehl/save-all | [[Minecraft:de:Befehl/save-all]] | ||
fr:Commandes | [[Minecraft:fr:Commandes#save]] | ||
ja:コマンド/save | [[Minecraft:ja:コマンド/save]] | ||
pt:Comandos/save | [[Minecraft:pt:Comandos/save]] | ||
ru:Команды консоли/save | [[Minecraft:ru:Команды консоли/save]] | ||
zh:命令/save | [[Minecraft:zh:命令/save]] | ||
Latest revision as of 11:03, 1 September 2026
These Minecraft:commands manage Minecraft:server saves.
save-all
Template:Exclusive Template:Infobox command
Saves the server to the data storage device.
Syntax
save-all
- Normal mode. Saves player data immediately. Marks all Minecraft:chunks as needing to be saved. They get saved over time to the data storage device.
- This includes when auto-saving has been disabled using the "save-off" command. (see below)
save-all flush
- All the players and chunks are saved to the data storage device immediately, freezing the server for a short time.
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
save-off
Template:Exclusive Template:Infobox command
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. This option is reset each time the server restarts.
Syntax
save-off
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
save-on
Template:Exclusive Template:Infobox command
Enables the server writing to the level files.
Syntax
save-on
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
save
Template:Exclusive Template:Infobox command
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
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
History
Java Edition
Bedrock Edition
External links
Minecraft:de:Befehl/save-all Minecraft:fr:Commandes#save Minecraft:ja:コマンド/save Minecraft:pt:Comandos/save Minecraft:ru:Команды консоли/save Minecraft:zh:命令/save