ModsJava
SleepyCPU - A new hibernation plugin! With folia support!
Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotSleepyCPU
Reduce server CPU usage automatically when your Minecraft server is empty.
SleepyCPU detects when no players are online and temporarily slows down server activity. It optionally unloads chunks and nudges the JVM to free memory. As soon as a player joins, normal operation resumes.
Features
When the player count reaches 0, SleepyCPU:
Configuration
Permissions
Reduce server CPU usage automatically when your Minecraft server is empty.
SleepyCPU detects when no players are online and temporarily slows down server activity. It optionally unloads chunks and nudges the JVM to free memory. As soon as a player joins, normal operation resumes.
Features
- Automatically enters a low-CPU mode when the server is empty
- Configurable delay between server ticks while idle (sleepTicks)
- Optional chunk unloading (unloadChunks) with save-on-unload toggle
- Configurable cleanup interval to control how often chunk unload + GC occurs
- Lightweight: no dependencies and single permission node
When the player count reaches 0, SleepyCPU:
- Saves all worlds safely using region-aware scheduling
- Sleeps between tick cycles by a configurable number of ticks
- Periodically (configurable interval) unloads chunks per world and triggers a GC hint
Configuration
- Location: server-root/sleepycpu.yml
- Keys:
- settings.enabled: Master switch for low-CPU mode (true/false)
- settings.sleepTicks: Delay between idle cycles in ticks (1 tick = 50ms)
- settings.unloadChunks: Unload chunks while idle (true/false)
- settings.saveChunksOnUnload: Save chunks when unloading (true/false)
- settings.cleanupIntervalTicks: Idle cycles between chunk unload + GC
- After editing, run /sleepycpu reload or restart the server
- /sleepycpu help — Show command info
- /sleepycpu toggle — Enable/disable low-CPU mode
- /sleepycpu status — Display current status and settings
- /sleepycpu reload — Reload configuration from disk
- /sleepycpu delay <ticks> — Set sleepTicks
- /sleepycpu cleanupinterval <ticks> — Set cleanupIntervalTicks
- /sleepycpu unloadchunks <true|false> — Toggle unloadChunks
- /sleepycpu saveonunload <true|false> — Toggle saveChunksOnUnload
Permissions
- sleepycpu.admin — Access to all SleepyCPU commands (default: OP)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20, 1.20.6, 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
SleepyCPU - A new hibernation plugin! With folia support! is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 63 times (via Spigot). Download it and open it directly in the game.