Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Sleeping Server Stopper
Not bothered renaming it to Empty Server Stopper.
Shuts your dedicated server down once nobody has been on it for a set number of minutes, so it isn't left running empty.
It's a port of the Sleeping Server Stopper Spigot plugin, meant to be used with SleepingServerStarter by vincss. The Starter wakes the server when someone tries to join, and this mod puts it back to sleep when everyone has left.
- Server-side only. Players don't need it installed.
- Does nothing in singleplayer or on LAN worlds.
- Runs on Fabric, NeoForge and Forge, from 1.7.10 up to 26.x.
How it works
- When the server starts (optional) or the last player leaves, a countdown begins.
- If a player joins before the countdown ends, it is cancelled.
- If the server is still empty when the countdown ends, it shuts down cleanly.
The server log shows each step:
[SSS] Server empty - Server will shutdown in 2 minute(s)!
[SSS] Player joined - Server shutdown cancelled.
[SSS] Server empty - Server shutting down.
Choose your file
Each file covers every Minecraft version in its range.
Fabric
Needs Fabric API.
| Minecraft versions | File |
|---|---|
| 26.1 – 26.x | sleepingserverstoppermod-fabric-4.1.0+26.x.jar |
| 1.16.4 – 1.21.11 | sleepingserverstoppermod-fabric-4.1.0+1.16.4-1.21.11.jar |
NeoForge
| Minecraft versions | File |
|---|---|
| 1.20.6 – 26.x | sleepingserverstoppermod-neoforge-4.1.0+1.20.6-26.x.jar |
| 1.20.2 – 1.20.4 | sleepingserverstoppermod-neoforge-4.1.0+1.20.2-1.20.4.jar |
| 1.20.1 | Use the Forge 1.18.2-1.20.1 file (NeoForge 1.20.1 is a Forge fork) |
Forge
| Minecraft versions | File |
|---|---|
| 1.21.6 – 1.21.11 | sleepingserverstoppermod-forge-4.1.0+1.21.6-1.21.11.jar |
| 1.20.6 – 1.21.5 | sleepingserverstoppermod-forge-4.1.0+1.20.6-1.21.5.jar |
| 1.20.2 – 1.20.4 | sleepingserverstoppermod-forge-4.1.0+1.20.2-1.20.4.jar |
| 1.18.2 – 1.20.1 | sleepingserverstoppermod-forge-4.1.0+1.18.2-1.20.1.jar |
| 1.17.1 | sleepingserverstoppermod-forge-4.1.0+1.17.1.jar |
| 1.16.5 | sleepingserverstoppermod-forge-4.1.0+1.16.5.jar |
| 1.12.2 | sleepingserverstoppermod-forge-4.1.0+1.12.2.jar |
| 1.7.10 | sleepingserverstoppermod-forge-4.1.0+1.7.10.jar |
Before each release, every file is tested on a real dedicated server across the versions it covers. A bot joins and leaves, and the test checks that the countdown cancels, restarts and shuts the server down.
Want a version that isn't listed? Open an issue.
Config
On first launch the mod creates config/sleepingserverstoppermod.properties:
# How many minutes the server must be empty before it shuts down. (Minimum is 1 minute!)
shutdownTimeInMinutes=2
# Should the shutdown countdown start as soon as the server launches?
shutdownOnLaunch=true
Upgrading from 3.x: the old
sleepingserverstoppermod-common.toml/.cfgfiles are no longer read. Copy your values into the new file.
🤝 Contributors
Author: MadaHaz
- OneWeekNotice tested the 1.16.5 version.
Originally based on an archived port, EmptyServerStopper by GHYAKIMA.
Source code, issues and full changelog: GitHub
📄 Versions
- v4.1.0
- Each file now covers a range of Minecraft versions, so 12 files cover what used to need one file per version.
- New: Fabric 1.17.x, and every 1.20.x and 1.21.x release on Fabric, NeoForge and Forge.
- New: Forge 1.17.1, 1.20.2 – 1.20.4 and 1.20.6 – 1.21.11. NeoForge 1.20.1 – 1.20.4 and 1.20.6.
- v4.0.0
- Fabric, NeoForge and Forge from one codebase, for 1.7.10 up to 26.x.
- New config file shared by every loader:
config/sleepingserverstoppermod.properties. - Fixes: the shutdown runs on the server thread. Joining and leaving repeatedly no longer stacks up timers. The last player leaving starts the countdown on every version. The countdown keeps working while a 1.21.2+ server is paused. Clients without the mod can join 1.7.10 and 1.12.2 servers.
- v3.0.0: the
shutdownOnLaunchconfig value now works. - v2.0.0: config file for the shutdown time (minimum 1 minute) and shutdown on launch, defaulting to 2 minutes and true.
- v1.0.0: a fixed 2 minute timer, and the server shuts down on startup.

