Community listing page, reviews here may not be monitored by the author.
Just Sleep
No reviews yet
Tired of waiting for everyone to sleep? Only 50% of active players need to sleep to skip the night. AFK players are automatically detected and ignored.
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
Resources
External Links
About
Description
💤 AFK Sleep
Sleep through the night with just 50% of players — AFK players don't count!
✨ Features
- 🌙 50% sleep threshold — Only half of active players need to sleep to skip the night
- 🚶 AFK detection — Players who haven't moved for 5 minutes are automatically marked as AFK and excluded from the sleep count
- 💬 Chat notifications — Players are informed when they go AFK, return, and when the night is skipped
- ☀️ Morning bonus — Sleeping players get a small Regeneration effect as a reward
- ⚡ Lightweight — Pure datapack, no mods required, runs on vanilla 1.21.x
📦 Installation
- Download the
.zipfile - Place it in your world's
datapacksfolder:
saves/<world_name>/datapacks/ - In-game run:
/reload - You should see:
[AFK Sleep] Datapack załadowany!
⚙️ How it works
| Situation | Result |
|---|---|
| 2/4 players sleeping, 0 AFK | Night skips ✅ |
| 1/4 sleeping, 2 AFK (2 active) | Night skips ✅ (1/2 active = 50%) |
| 1/4 sleeping, 0 AFK | Night continues ❌ |
| All players AFK | Nothing happens ❌ |
AFK is detected by checking if a player hasn't moved for 300 seconds (5 minutes).
🔧 Compatibility
- ✅ Minecraft Java Edition 1.21.x
- ✅ Works on multiplayer servers and single player
- ✅ Compatible with other datapacks
- ❌ Does not work on Bedrock Edition
📝 Notes
- Only Survival and Adventure mode players are counted
- Only players in the Overworld dimension are counted
- Creative/Spectator players are completely ignored
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.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources