Перейти к содержимому
Mineforgian

BetterSleeping Revived

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

54K загрузок58 подписчиковLicenseRef-Customfabric

Обновлён 25 мая 2024 г. · опубликован 4 декабря 2021 г.

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.6.2+1.19Релиз1.20.1, 1.20.2, 1.20.3, 1.20.4fabric25 мая 2024 г..jar (283 КБ)
0.6.2+1.17Релиз1.17.1, 1.18, 1.18.1, 1.18.2fabric25 мая 2024 г..jar (283 КБ)
0.6.1+1.19Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4fabric29 июля 2022 г..jar (476 КБ)
0.6.1+1.17Релиз1.17.1, 1.18, 1.18.1, 1.18.2fabric29 июля 2022 г..jar (476 КБ)
0.6.0+1.19Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4fabric7 июня 2022 г..jar (476 КБ)
0.6.0+1.17Релиз1.17.1, 1.18, 1.18.1, 1.18.2fabric7 июня 2022 г..jar (476 КБ)
0.5.1+1.18Бета1.18, 1.18.1, 1.18.2fabric4 декабря 2021 г..jar (341 КБ)
0.5.1+1.17Бета1.17, 1.17.1fabric4 декабря 2021 г..jar (341 КБ)
0.5.0Бета1.17, 1.17.1fabric4 декабря 2021 г..jar (332 КБ)

Ченджлог

0.6.2+1.19Релиз1.20.2, 1.20.3, 1.20.4 · 25 мая 2024 г.
  • Link to minecraft.wiki instead of old Fandom wiki
  • Add support for Minecraft 1.20 to 1.20.4
0.6.2+1.17Релиз1.18, 1.18.1, 1.18.2 · 25 мая 2024 г.
  • Link to minecraft.wiki instead of old Fandom wiki
0.6.1+1.19Релиз1.19.2, 1.19.3, 1.19.4 · 29 июля 2022 г.

What's Changed

  • Don't actually apply debuffs when the config option is turned off

Full Changelog: https://github.com/ReviversMC/bettersleeping/compare/0.6.0...0.6.1

0.6.1+1.17Релиз1.18, 1.18.1, 1.18.2 · 29 июля 2022 г.

What's Changed

  • Don't actually apply debuffs when the config option is turned off

Full Changelog: https://github.com/ReviversMC/bettersleeping/compare/0.6.0...0.6.1

0.6.0+1.19Релиз1.19.2, 1.19.3, 1.19.4 · 7 июня 2022 г.

⚠️Warning: Due to a complete config-system rewrite, your old settings will have to be copied over manually!

What's Changed

  • 1.19 support
  • Quite a big rebalance of the base stats
  • Debuffs are now only applied in dimensions you can actually sleep in
  • Completely overhauled the config system and added many new options; basically everything is adjustable now
  • In-game config via Cloth Config
0.6.0+1.17Релиз1.18, 1.18.1, 1.18.2 · 7 июня 2022 г.

⚠️Warning: Due to a complete config-system rewrite, your old settings will have to be copied over manually!

What's Changed

  • 1.19 support
  • Quite a big rebalance of the base stats
  • Debuffs are now only applied in dimensions you can actually sleep in
  • Completely overhauled the config system and added many new options; basically everything is adjustable now
  • In-game config via Cloth Config
0.5.1+1.18Бета1.18, 1.18.1, 1.18.2 · 4 декабря 2021 г.

Remove debug messages

0.5.1+1.17Бета1.17, 1.17.1 · 4 декабря 2021 г.

Remove debug messages

Полная история изменений — на Modrinth.

Комментарии

Загружаем…