HomeJavaModsSlumber
Slumber
ModsJava

Slumber

by qpcrummer · on Modrinth

Let the server rest while there are no players online. Free Minecraft Java mod for 26.1, 26.1.1, 26.1.2.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1–26.2 · Fabric⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21.10 · Fabric⬇ Download for 26.1–26.2 · Quilt⬇ Download for 1.21.11 · Quilt⬇ Download for 1.21.10 · Quilt⬇ Download for 26.1–26.2 · Folia⬇ Download for 26.1–26.2 · Forge⬇ Download for 26.1–26.2 · NeoForge⬇ Download for 26.1–26.2 · Paper⬇ Download for 26.1–26.2 · Purpur⬇ Download for 26.1–26.2 · Spigot⬇ Download for 26.1–26.2 · Sponge
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.

Slumber

Let the server slumber while there are no players online.

This mod allows you to freeze your server when no players are online.

Minecraft versions before 1.20.3 require fabric-carpet.

Commands

/slumber displays current status whether it is in slumber or not, it has the following output.

/slumber true enables freezing.

/slumber false disables freezing.

Configuration file

Located at /config/slumber.properties

The syntax is key=value

value should have type same as describe below.

Key Type Default Value Description
freeze-delay-seconds integer 20 Time (in seconds) to slumber after no player left in the server
debug-messages boolean false Show message in server log when game is in slumber or not
config-version string 1.4 Version of the config
safe-starting boolean true Freeze when the terrain is loading to prevent redstone machines from breaking
sleep_tick_speed double 0.0 Sets the TPS that should be used when the server is in slumber. 0.0 means a complete freeze
sleep_autosaving boolean false Enable autosaving when the server is in slumber
toggle boolean true Enable slumber by default

Supported Platforms (As of v2.0.0)

Installation

Fabric, Quilt, Forge, NeoForge

Simply put the mod in the mods folder

Sponge

Simply put the plugin in the plugins folder

Spigot/PaperMC

  1. Install the Ignite Mixin loader
  2. Run the ignite jar alongside the paper/spigot jar
  3. Put the mod in the mods folder and restart

Folia

  1. Install the Ignite Mixin loader
  2. Rename the Folia jar to "paper.jar". Alternatively, you can launch the game with the following JVM args: -Dignite.locator=paper -Dignite.jar=./folia.jar
  3. Run the ignite jar alongside the folia jar
  4. Put the mod in the mods folder and restart
Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more