Advanced sleep system featuring smooth night acceleration, buffs, debuffs, and immersive nightmare mechanics.
⚠️ Compatibility Note: This plugin is built for Minecraft 1.21.5 Purpur. I tested it on Purpur 1.21.5 and Spigot 1.21.1. It should work on 1.21.1-1.21.5 Spigot/Purpur/Paper/Bukkit.
If you want to report a bug or suggest a new plugin, join my Discord server.
This is a cut-out and improved fragment of my SmpMechanics plugin and forms a harmonious whole with Cozy Campfire and CustomDayNightTime.
Sleep. Dream. Survive.
BetterSleep transforms the boring vanilla sleep mechanic into an immersive, interactive system. Instead of skipping the night instantly, time accelerates smoothly. Sleeping rewards players with buffs, while refusing to sleep brings dangerous consequences. It’s highly configurable and optimized for survival multiplayer servers.
light level < 7) carries a risk! You might wake up violently with a Zombie or Skeleton spawning directly in your room./bs add, /bs toggle, etc.) allows admins to tweak every aspect of the plugin without restarting.Everything is customizable via config.yml or in-game commands:
Main command: /bs (or /bettersleep)
| Command | Description | Permission | Default |
|---|---|---|---|
| --- PLAYER --- | |||
/bs |
Displays server status (Speed, %, Chances). | bettersleep.help |
✅ Everyone |
/bs help |
Displays the list of available commands. | bettersleep.help |
✅ Everyone |
/bs language <pl/en> |
Change your personal interface language. | bettersleep.language |
✅ Everyone |
| --- ADMIN --- | |||
/bs sleeppercentage <%> |
Set required sleep percentage. | bettersleep.percentage |
❌ OP |
/bs nightmultiplier <x> |
Set night speed multiplier (e.g. 150). | bettersleep.multiplier |
❌ OP |
/bs nightmarechance <%> |
Set chance for a nightmare in dark. | bettersleep.nightmarechance |
❌ OP |
/bs toggle <module> |
Toggle: buff, debuff, nightmare. |
bettersleep.toggle |
❌ OP |
/bs add <type> ... |
Add an effect (buff/debuff) or mob. |
bettersleep.add |
❌ OP |
/bs remove <type> ... |
Remove an effect or mob from config. | bettersleep.remove |
❌ OP |
/bs debug effect |
Test apply effects on yourself (admin). | bettersleep.admin |
❌ OP |
/bs reload |
Reloads configuration. | bettersleep.reload |
❌ OP |
Special Permissions (Bypass):
These permissions allow you to exclude specific groups (e.g., VIPs) from the reward or penalty system.
| Permission | Description | Default |
|---|---|---|
bettersleep.bypass.buff |
Player will not receive rewards (buffs) for sleeping. | ❌ False |
bettersleep.bypass.debuff |
Player will not receive penalties (debuffs) for staying awake. | ❌ False |
bettersleep.* (Grants full command access, but does NOT automatically grant bypass permissions)..jar file./plugins/ folder of your server (Spigot/Paper/Purpur 1.21.x).