Sleep Persist (Players Sleeping %)
Modby aNinjin
Set the 'playerssleepingpercentage' gamerule to be persistent across restarts.
Type
Mod
CurseForge Downloads
4,379
CurseForge ID
1329646
Last Updated
Aug 15, 2026
Description
Sleep Persist (Players Sleeping %)
Server-side NeoForge mod for Minecraft 1.21.1 that keeps the playersSleepingPercentage gamerule persistent across reboots. Set it once, and it’ll stick even after restarts and auto-apply to all dimensions on startup.
Features
- Persistent sleeping % stored in the world save (default 30%)
- Auto-apply on server startup (first tick)
- All dimensions covered
- Zero client requirement (server-only)
Commands (ops only)
- /sleeppercent get — shows the stored percentage
- /sleeppercent set 0-100 — persists the value and applies immediately
- /sleeppercent apply — re-applies the stored value to all loaded worlds
Compatibility
- Loader: NeoForge (21.1.x)
- Minecraft: 1.21.1
- Java: 21
- Pure server-side; clients don’t need the mod.
Install
- Put the jar in your server mods/ folder.
- Start the server (accept EULA if needed).
- Optional: set your preferred value: /sleeppercent set 50 It’ll persist and survive reboots.
FAQ
Q: Where is the value saved?
A: In your world’s data as sleeppersist.dat (SavedData). Delete it to reset to defaults.
Q: New dimensions added later?
A: They’ll get the current setting when the server next applies it (on restart or /sleeppercent apply).
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
No More Ocean Monuments
Removes ocean monuments from the world generation.
Realism Renewed | GunsCraft |
Vic's Modern Warfare style addon for the GunsCraft Adventurer's Arsenal mod, magazines, guns and jamming!
EC Aether Compat
Adds compatibility between Expanded Combat and The Aether
Recruits-Medieval Siege Machine mod compat addon
Compatibility addon between Talhanation's Villager Recruits and Magistu's Medieval Siege Machines mod.
project-688815
This 1.20 will add Deco Blcoks.
Grand Papi
Port of Papi to 1.18.2