Skip to main content

/save-all

Forces the server to save all chunks and player data to disk. The flush option ensures data is written synchronously.

Category
Server
Permission Level
Owner / Console
Version Added
1.0

Syntax

/save-all [flush]

Parameters

NameTypeRequiredDescription
flushliteralOptionalIf specified, forces all data to be written to disk synchronously before returning.

Examples

/save-all

Saves all world data to disk asynchronously.

/save-all flush

Saves all data and waits for the write to complete before continuing.

Common Mistakes

Notes

Automatic saves already happen periodically. Use /save-all before backing up the server to ensure data consistency.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting