
DatapacksJava
Pause Server When Empty
A datapack that automatically pauses the daylight and weather cycles when no players are online. Free Minecraft Java datapack for 1.21, 1.21.1, 1.21.2.
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Pause Server When Empty is a datapack designed to enhance your server by automatically pausing the daylight and weather cycles when no players are online. This makes the weather, and day counter stay exactly as they were. The datapack is named after the server.properties setting because I didn't like how Minecraft completely tick freezes the game when that option is enabled.
Features:
- Automatic Pausing: The server's daylight and weather cycles are paused when no players are online, and resumed when players join.
- AFK Integration: Optional integration with Bodebojo's AFK Display to exclude AFK players from the online player count.
- Easy Setup: Simple installation and configuration process.
Commands
- /function pause_server_when_empty:config: Access the configuration menu to customize settings.
Links, Donations, and Partnerships
Verified by MCModsHub
- Downloads as Pause Server When Empty 1.4.1.zip
- Download size: 16 KB
- Download link checked 29 Aug 2026 — working
These come from our own check of the pack file, not from the source page.

