Back to mods
Sleeping Server Stopper project artwork

Modrinth · Minecraft mod

Sleeping Server Stopper

A Fabric mod that automatically shuts down the server when it's empty or below a certain player threshold.

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

Quick answer

Which Sleeping Server Stopper release matches 26.2?

Updated 2 months ago
Best match for your filters 1.2.0
Game version 26.1.2, 26.2
Loader Fabric

Sleeping Server Stopper 1.2.0 targets 26.1.2, 26.2 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 Sleeping 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 Sleeping Server Stopper 1.2.0 need?

1.2.0 on 26.2. 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 Sleeping Server Stopper 1.2.0
required
Matching file found Matched file: 0.160.0+26.2

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

Before you install it

Add Sleeping Server Stopper without breaking your instance.

Built for Sleeping Server Stopper 1.2.0 on 26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.0. It targets 26.1.2, 26.2 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 1.2.0. It opens that exact file at the source.

About this project

What does Sleeping Server Stopper add?

Empty Server Stopper

Not bothered asking the Empty/Sleeping Server Stopper mod author to update his name & URL

empty-server-stopper 1

A Fabric mod that automatically shuts down the server when it's empty or below a certain player threshold.
Ideal for use with hibernation scripts or the SleepingServerStarter tool (see below).

Usage

Commands

All commands require gamemaster permission level (OP level 2), except time and min_players, which can be opened
to all players via config.

Command Description
/ess reload Reloads the configuration file and re-evaluates the shutdown state.
/ess time Shows the remaining time before shutdown.
/ess time set <minutes> Sets and persists a new shutdown delay, then restarts the timer with it.
/ess enable Enables the mod logic and starts checking player count.
/ess disable Disables the mod logic and stops any running timer.
/ess restart Manually re-evaluates and restarts the shutdown countdown if applicable.
/ess min_players Shows the current minimum player threshold.
/ess min_players set <n> Sets and persists a new minimum player threshold, then re-evaluates immediately.

Configuration

The config file is located at ./config/emptyserverstopper/config.json.

Key Default Description
enabled true Globally enable or disable the mod.
shutdownTimeMinutes 5 Minutes to wait before shutdown once the threshold is crossed.
minimumPlayersBeforeShutdown 1 Server schedules a shutdown once the player count drops below this value.
timerOnLaunch true Start the timer immediately when the server boots.
playersCanAskShutdownTime true If true, non-OP players can use /ess time.
playersCanAskMinPlayer true If true, non-OP players can use /ess min_players.

Any value changed via a set command is written back to this file automatically — no manual editing or reload needed
for it to persist across restarts.

Behavior

  • Announcements: the mod broadcasts a message when a shutdown is scheduled, another warning 1 minute before it
    fires, and a confirmation if the shutdown is canceled.
  • Auto-cancel: the timer is automatically canceled if enough players join to bring the count back above the
    threshold, and restarted automatically if it drops below again.

TODO

  • Port to recent version: 26.1.2
  • Translations support? Not practical — the mod is server-side only

Contributors

Original author: Martinkrk

Current author: Mat1212fr

Project description from Modrinth.

Pick your setup

Sleeping Server Stopper by Minecraft version and loader

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

2 available setups

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

Recent files

Sleeping Server Stopper versions and loaders

1 of 1 releases match

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