Just Sleep
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.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Just Sleep
💤 AFK Sleep
Sleep through the night with just 50% of players — AFK players don't count!
---
✨ Features
- 🌙 Lightweight — Only half of active players need to sleep to skip the night - 🚶 Lightweight — Players who haven't moved for Lightweight are automatically marked as AFK and excluded from the sleep count - 💬 Lightweight — Players are informed when they go AFK, return, and when the night is skipped - ☀️ Lightweight — Sleeping players get a small Regeneration effect as a reward - ⚡ Lightweight — Pure datapack, no mods required, runs on vanilla 1.21.x
---
📦 Installation
1. Download the `.zip` file 2. Place it in your world's `datapacks` folder: `saves/<world_name>/datapacks/` 3. In-game run: `/reload` 4. 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 single player - ✅ Works on single player and single player - ✅ Compatible with other datapacks - ❌ Does not work on Bedrock Edition
---
📝 Notes
- Only Overworld and Overworld mode players are counted - Only players in the Overworld dimension are counted - Creative/Spectator players are completely ignored
---
*Made with ❤️ for vanilla Minecraft multiplayer servers*