Sleep Persist (Players Sleeping %)
Set the 'playerssleepingpercentage' gamerule to be persistent across restarts.
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
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).
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- 4k
- Used in
- 18 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 3, 2026 3:36 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
- 4k
- Used in
- 18 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 3, 2026 3:36 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works