How to Configure Automatic Saving on Your Minecraft Server

Learn how auto-saving works and how to configure save intervals on your Minecraft server.

Minecraft automatically saves your world data periodically. Understanding how auto-saves work helps you protect your data and optimize performance.

How Auto-Saving Works

Minecraft saves world data (chunks, player data, entities) at regular intervals. On Paper/Spigot servers, this is controlled by the max-auto-save-chunks-per-tick setting which spreads saves across multiple ticks to reduce lag spikes.

Save Commands

Use these in Console on the XGamingServer panel:

CommandDescription
/save-allForce an immediate save
/save-all flushSave and flush all chunks to disk
/save-offDisable auto-saving (use for backups)
/save-onRe-enable auto-saving

⚠️ Warning: If you disable auto-saving with /save-off, always remember to re-enable it with /save-on. A crash with saving disabled means lost progress.

Paper Auto-Save Configuration

Go to Files and edit paper-world-defaults.yml:

chunks:
  max-auto-save-chunks-per-tick: 24
  • Higher values = faster saves, but can cause tick lag
  • Lower values = smoother gameplay, but saves take longer to complete
  • Default (24) is fine for most servers

Auto-Save vs Panel Backups

FeatureAuto-SavePanel Backups
What it doesWrites world data to diskCreates a full server snapshot
FrequencyEvery few minutes (automatic)On-demand or scheduled
Protects againstServer crashesUser error, corruption, rollback
RestoreableNo (overwrites current data)Yes (restore any backup)

💡 Tip: Auto-saves protect against crashes, but only panel Backups let you roll back to a previous state. Use both for full protection.

See also: Backups vs Auto-Save Explained | Performance Guide

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page