
Safe Quit
Safe Quit is a lightweight, client-side Fabric mod that prevents singleplayer world corruption and data loss when exiting a world while the game is actively saving.
What It Does
In singleplayer, Minecraft runs an integrated server in the background that periodically auto-saves your world. If you click Save and Quit to Title right in the middle of an auto-save or chunk write, the client can begin tearing down threads before the server finishes writing to disk—leading to corrupted chunks, lost progress, or broken save files.
Safe Quit silently intercepts the disconnect routine and checks if the integrated server is currently saving. If a save is in progress, it waits in the background until the write finishes before safely disconnecting you. If the world is already saved, it steps out of the way and lets you quit instantly.
Why Use It
- Prevents Save Corruption: Eliminates race conditions between quitting the game and active background chunk/level saves.
- Protects Your Progress: Ensures player data, inventories, and modified chunks are completely flushed to disk before closing.
- Zero Bloat & Silent: Runs 100% behind the scenes with no extra buttons, popups, or performance overhead.
- Client-Side Only: Works out of the box on any singleplayer world without needing to be installed on a server.