
BetterSleeping Revived
This mod adds sleep notifications, gives sleeping players buffs and debuffs to the ones who haven't slept in a long time!
About this Mod
This is a continuation of ExtraCrafTX's BetterSleeping mod, ported to 1.17+ and rewritten for better compatibility and native support for 1.17's new playersSleepingPercentage gamerule.
Sleep recovery
Sleep recovery gives players regeneration for 25s when they have slept through the night. This can be adjusted in the config.
No-sleep debuffs
No-sleep debuffs are applied when a player has skipped three nights consecutively without sleeping. The effects get stronger and last longer the more nights the player is awake. This can be enabled or disabled, and the nights before the effect is applied can be configured through the config file as well.
The effects given are:
- Slowness
- Weakness
- Nausea
- Mining fatigue
- Blindness
Messages
Messages are sent when a player sleeps, for skipping nights and for debuffs. These can all be configured as well. Each message can have placeholders that are replaced:
- The night skipped message does not take any placeholders.
- The players asleep message can take:
{asleepPlayers}which is replaced with the number of players asleep{totalPlayers}which is replaced with the total number of players{asleepPercentage}which is replaced with the percentage of players that are asleep{asleepPlayersRequired}which is replaced with the number of players required to skip the night{asleepPercentageRequired}which is replaced with the percentage of players required to skip the night{asleepPlayersAdditionallyNeeded}which is replaced with the number of players additionally needed to sleep to skip the night
- The debuff message can take
{nightsAwake}which is replaced with the number of nights skipped.
The config file also has a formatting field that is used to format the messages. It is a list and can take the names of any of the standard colours and styles. The Minecraft wiki has a full list.
Config
The config file is found in the config folder and is called bettersleeping.toml. This folder should be in the same place as your mods folder (.minecraft for Windows). If this file is deleted the mod will recreate it with the default settings at the next start-up. If you're in singleplayer, you can also use the in-game configuration menu (via ModMenu)!
Available Versions
How to Install BetterSleeping Revived on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "BetterSleeping Revived". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+12 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
BetterSleeping Revived server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is BetterSleeping Revived compatible with fabric?
BetterSleeping Revived officially supports fabric for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with BetterSleeping Revived – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if BetterSleeping Revived consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install BetterSleeping Revived with just one click on your server.

