Back to mods
Empty Server Stopper project artwork

Modrinth · Minecraft mod

Empty Server Stopper

Shutdown the server if no players are connected. Meant to be used with SleepingServerStarter by vincss.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Empty Server Stopper release matches 1.18?

Updated today
Best match for your filters 4.1.0+fabric-1.16.4-1.21.11
Game version 1.21.11, 1.21.10, 1.21.9
Loader Fabric

Empty Server Stopper 4.1.0+fabric-1.16.4-1.21.11 targets 1.21.11, 1.21.10, 1.21.9 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Empty Server Stopper required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Empty Server Stopper 4.1.0+fabric-1.16.4-1.21.11 need?

4.1.0+fabric-1.16.4-1.21.11 on 1.18. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Empty Server Stopper 4.1.0+fabric-1.16.4-1.21.11
required
Matching file found Matched file: [1.18/1.18.1] Fabric API 0.44.0+1.18

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Empty Server Stopper without breaking your instance.

Built for Empty Server Stopper 4.1.0+fabric-1.16.4-1.21.11 on 1.18. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 4.1.0+fabric-1.16.4-1.21.11. It targets 1.21.11, 1.21.10, 1.21.9 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 4.1.0+fabric-1.16.4-1.21.11. It opens that exact file at the source.

About this project

What does Empty Server Stopper add?

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

  1. When the server starts (optional) or the last player leaves, a countdown begins.
  2. If a player joins before the countdown ends, it is cancelled.
  3. 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.

Timeline showing which Sleeping Server Stopper jar covers each Minecraft version on Fabric, NeoForge and Forge

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 / .cfg files are no longer read. Copy your values into the new file.

🤝 Contributors

Author: MadaHaz

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 shutdownOnLaunch config 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.

Project description from Modrinth.

Pick your setup

Empty Server Stopper by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

86 available setups

Showing the newest 12 of 38 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Empty Server Stopper versions and loaders

1 of 22 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.