Mod

BetterSleeping Revived

Quick rating

BetterSleeping Revived

No reviews yet

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

No Theme
Adventure/Exploration
Survival
QoL & Tweaks
Mod Fork/Port
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
Custom License
Latest Version
0.6.2 for MC 1.19 to 1.20.4
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

server-side only  

174820943-8a1805bb-b066-40a9-b21a-24f3373a5f8e.png

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 15s 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

(Effects and timing are configurable)

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)!

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)!

Screenshots

Gallery

This project has no gallery images yet.

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~460,000
Total Downloads
CurseForge
~410,000
Modrinth
~54,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync