BetterSleeping Revived

BetterSleeping Revived

This mod adds sleep notifications, gives sleeping players buffs and debuffs to the ones who haven't slept in a long time!

by
54.2K Downloads
fabricadventure
Rent Server with this Mod

About this Mod

Environment: Server
Chat on Discord

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.

Requires Fabric API

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

0.6.2 for MC 1.19 to 1.20.4release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
May 25, 2024
0.6.2 for MC 1.17 and 1.18release
MC 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2fabric
May 25, 2024
0.6.1 for MC 1.19release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4fabric
July 29, 2022
0.6.1 for MC 1.17 and 1.18release
MC 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2fabric
July 29, 2022
0.6.0 for MC 1.19release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4fabric
June 7, 2022

How to Install BetterSleeping Revived on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

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

fabric

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+12 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install BetterSleeping Revived with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-Custom
Server-side
Required

Supported Versions

1.20.41.20.31.20.21.20.11.201.19.41.19.31.19.21.19.11.19+5 more