BetterSleeping

Quick rating

Community listing page, reviews here may not be monitored by the author.

BetterSleeping

No reviews yet

Adds sleep voting, sleep recovery buffs, and no-sleep debuffs.

No Theme
No Genre
QoL & Tweaks
API/Library
Mod Loaders
Forge
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
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

About

Project Details

Type
Mod
Latest Version
BetterSleeping 0.4.0

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

Resources

External Links

Source Issues Wiki Discord

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

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

~93,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works