Community listing page, reviews may not be monitored by the author.
BetterSleeping
No reviews yet
Adds sleep voting, sleep recovery buffs, and no-sleep debuffs.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
'It works now, I swear!'
Requires the Fabric API.
This mod adds sleep voting, sleep recovery and no-sleep debuffs! Works server-side only as well!
Sleep voting
Sleep voting allows nights to be skipped when a certain percentage of the players are asleep. This can be set via a gamerule (percentRequiredToSleep) per save!
Sleep recovery
Sleep recovery gives players regeneration for 15s when they have slept through the night. This can be enabled or disabled through the config file.
No-sleep debuffs
No-sleep debuffs are applied when a player has skipped some nights consecutively without sleeping. The effects get stronger 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:
- Nausea (5s first night, 10s second night, so on)
- Slowness (50s, strength increases every other night)
- Mining fatigue (50s, strength increases every other night)
- Weakness (50s, strength increases every other night)
- Blindness (25s, only after the 2nd night of debuffs)
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:
{asleep}which is replaced with the number of players asleep{total}which is replaced with the total number of players{percent}which is replaced with the percentage of players that are asleep{required}which is replaced with the number of players required to skip the night new in 0.2.0{percentRequired}which is replaced with the percentage of players required to skip the night new in 0.2.0
- The debuff message can take
{nights}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_config.json. 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.
Screenshots
Gallery
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
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources