/save-all Command in Minecraft Java Edition

Save the Server World Data in Minecraft

Java EditionServer AdminPermission: Level 4

The /save-all command in Minecraft Java Edition forces the server to save all world data and player progress to the storage device. It requires permission level 4, which is normally reserved for the server owner.

Server owners use this command when they want to make sure recent progress is recorded right away. It has been available in Java Edition since at least version 1.13 and remains active in version 26.3.

Syntax (Java 26.3, 1 form)

  1. /save-all [flush]

The forms you will use most

/save-all [flush]
Saves all server data to disk, with an optional setting to flush the data immediately.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.13 Already in the game in 1.13, the oldest Java version we track.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition does not have a command with the name /save-all, so this command can only be used in Java Edition.

FAQ

What permission level do I need for /save-all?

You need permission level 4, which is the highest level and is given to the server owner.

Can I use /save-all in Minecraft Bedrock Edition?

No, Bedrock Edition has no command with this name.

When was /save-all added to Minecraft Java Edition?

The command was already available in version 1.13 and continues to work in version 26.3.

Related commands

/ban/ban-ip/banlist/datapack/deop/fetchprofile/kick/list/op/pardon/pardon-ip/publish/reload/save-off/save-on/setidletimeout