AutoHibernate
Automatically puts your Minecraft server to sleep when no players are online — zero CPU usage, instant resume.
AutoHibernate
AutoHibernate is a server-side Fabric mod that automatically puts your Minecraft server into deep hibernation when no players are connected, and seamlessly wakes it up the moment someone joins. By hibernating the server, you save significant CPU and power resources while keeping your world exactly as players left it.
✨ Key Features
* Console Support — Server CPU usage drops to 0% (or near 0%) when the server is empty. * Console Support — Block updates, entity movements, crop growth, and random ticks are completely paused. * Console Support — In-game time stops ticking, preventing regional difficulty from artificially increasing while nobody is playing. * Console Support — The server instantly wakes up without any noticeable lag or delay when a player connects. * Console Support — Commands entered into the server console continue to work perfectly fine while the server is hibernating.
🎮 Commands
You can manually control the hibernation behavior using the `/autohibernate` command:
| Command | Description | | :--- | :--- | | `/autohibernate` | Shows the current status | | `/autohibernate autopause true` | Enables automatic hibernation when the server is empty | | `/autohibernate autopause false` | Disables automatic hibernation | | `/autohibernate sleep` | Instantly forces the server to hibernate | | `/autohibernate wake` | Instantly wakes the server from hibernation |
❓ FAQ
Can you update this to a newer version of Minecraft? Try using the latest version of the mod first! It often works perfectly fine even if Modrinth doesn't explicitly list the newest Minecraft snapshot or minor version as supported.
Can you port this to an older version of Minecraft? Probably not, as this would likely require porting to a completely different mod loader.
Can you port this to Forge/NeoForge/Paper? I may port this to other mod loaders in the future if I have the time, but for now, it remains a Fabric mod.