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

Easier Sleeping

Only a percentage of players has to sleep.

217K загрузок13 подписчиковLicenseRef-All-Rights-Reservedforgeneoforge

Обновлён 2 мая 2026 г. · опубликован 7 апреля 2023 г.

Version 4.X.X

For older versions of the mod, check the wiki.

This mod adds that only a percentage of Players have to sleep.
The messages are only shown to players in the same dimension.
Since Minecraft 1.19.1 the Mod is needed on the server and client side.
For 1.19 and before, the Mod is only needed on the server side, but can also be used on the client side.


You need a server to play with friends? You don't know how to set up one? Just rent an already configured server!

BisectHosting Promotion Banner

Click on the picture above, select a plan (with recommended at least 6 GB),
use my code agent to get 25% off your first month and enjoy playing with your friends!


Support

Supported Versions Image
Minecraft versions, for which the mod is not released, are not supported.
You can find a text version here.

Server Config

The config file can be found in the "serverconfig" folder in the "world" folder and is named "easier_sleeping-server.toml". The name of the world folder is set for servers in the "server.properties" file and for clients it is the name of the world/save game in the world list, and it can be found in the "saves" folder in the ".minecraft" folder.
The config can be edited with commands.
The changes done with the commands, will be saved to the config.

  • sleep_percent
    Percentage of players required to skip the night.
    Default: 50
  • sleep_messages
    List of messages, from which one will be shown, when a player goes to bed
    (Available parameters: %player% = Player name)
    Default: ["%player% is now in bed."]
  • wake_messages
    List of messages, from which one will be shown, when a player leaves his bed
    (Available parameters: %player% = Player name)
    Default: ["%player% stood up."]
  • morning_messages
    List of messages, from which one will be shown, when the night was skipped
    Default: ["Good Morning"]
  • all_players_rest
    If true, the time since last rest is reset for all players, if enough other players are successfully sleeping. So not every player has to sleep to prevent phantom spawning for him.
    Default: false
  • dimensions
    Dimensions in which, the sleeping percentage is active or inactive, depending on the dimension_list_type option.
    Default: ["minecraft:overworld"]
  • dimension_list_type
    If dimension_list_type is set to SLEEP_ACTIVE, the dimension list is the list of dimensions in which the sleep voting is active.
    If dimension_list_type is set to SLEEP_INACTIVE, the dimension list is the list of dimensions in which the sleep voting is inactive.
    Default: "SLEEP_ACTIVE"
  • block_blacklist
    Block names of beds being ignored for sleep percentage.
    Examples: minecraft:white_bed, comforts:hammock_white

Commands

  • /sleep sleep_percent - Shows the current percentage of players required to skip the night.
  • /sleep sleep_percent <sleep_percent> - Sets the percentage of players required to skip the night.
  • /sleep messages sleep - Shows the list of messages, from which one will be shown, when a player goes to bed
  • /sleep messages sleep add <message> - Adds a message from the list of messages, from which one will be shown, when a player goes to bed
  • /sleep messages sleep remove <message> - Removes a message from the list of messages, from which one will be shown, when a player goes to bed
  • /sleep messages wake - Shows the list of messages, from which one will be shown, when a player leaves his bed
  • /sleep messages wake add <message> - Adds a message from the list of messages, from which one will be shown, when a player leaves his bed
  • /sleep messages wake remove <message> - Removes a message from the list of messages, from which one will be shown, when a player leaves his bed
  • /sleep messages morning - Shows the list of messages, from which one will be shown, when the night was skipped
  • /sleep messages morning add <message> - Adds a message from the list of messages, from which one will be shown, when the night was skipped
  • /sleep messages morning remove <message> - Removes a message from the list of messages, from which one will be shown, when the night was skipped
  • /sleep all_players_rest - Shows, if for all players the last slept time will be reset, if players sleep successfully.
  • /sleep all_players_rest <all_players_rest> - Sets, if for all players the last slept time shall be reset, if players sleep successfully.
  • /sleep dimension - Shows dimensions in which, the sleeping percentage is active.
  • /sleep dimension add <dimension> - Adds a dimension in which, the sleeping percentage is active.
  • /sleep dimension remove <dimension> - Removes a dimension in which, the sleeping percentage is active.
  • /sleep dimension list_type - Shows the type of the dimensions list. If dimension_list_type is set to SLEEP_ACTIVE, the dimension list is the list of dimensions in which the sleep voting is active. If dimension_list_type is set to SLEEP_INACTIVE, the dimension list is the list of dimensions in which the sleep voting is inactive.
  • /sleep dimension list_type <dimension_list_type> <invert_list> - Sets the dimension_list_type. If dimension_list_type is set to SLEEP_ACTIVE, the dimension list is the list of dimensions in which the sleep voting is active. If dimension_list_type is set to SLEEP_INACTIVE, the dimension list is the list of dimensions in which the sleep voting is inactive. If the invert_list parameter is false, the dimensions list is not change. If the invert_list parameter is true, the dimensions list is inverted. All dimensions, which were not on the list before, are added to the list and all dimensions, which were on the list before, are removed.

Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me on CurseForge and Modrinth.

This is a Forge mod only until 1.21.1. This is a NeoForge mod only starting 1.21.1. There will be no Fabric version. It will not be backported.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.21.1-4.0.1Релиз1.21.7, 1.21.8, 1.21.9, 1.21.10neoforge2 мая 2026 г..jar (58 КБ)
1.21.1-4.0.0Релиз1.21.1neoforge11 декабря 2025 г..jar (57 КБ)
1.21.1-3.0.0Релиз1.21.1forge1 сентября 2024 г..jar (120 КБ)
1.21-3.0.0Релиз1.21forge30 августа 2024 г..jar (119 КБ)
1.20.6-3.0.0Релиз1.20.6forge1 июня 2024 г..jar (119 КБ)
1.20.4-3.0.0Релиз1.20.4forge13 декабря 2023 г..jar (118 КБ)
1.20.2-3.0.0Релиз1.20.2forge23 ноября 2023 г..jar (116 КБ)
1.20.2-2.1.3Релиз1.20.2forge19 октября 2023 г..jar (102 КБ)
1.20.1-2.1.3Релиз1.20.1forge6 июля 2023 г..jar (101 КБ)
1.20-2.1.3Релиз1.20forge2 июля 2023 г..jar (101 КБ)
1.19.4-2.1.3Релиз1.19.4forge10 апреля 2023 г..jar (54 КБ)
1.18.2-2.1.3Релиз1.18.2forge10 апреля 2023 г..jar (54 КБ)
1.19.4-2.1.2Релиз1.19.4forge7 апреля 2023 г..jar (54 КБ)
1.18.2-2.1.0Релиз1.18.2forge7 апреля 2023 г..jar (54 КБ)
1.17.1-2.1.0Релиз1.17.1forge7 апреля 2023 г..jar (54 КБ)

Ченджлог

1.21.1-4.0.1Релиз1.21.8, 1.21.9, 1.21.10 · 2 мая 2026 г.

Add compatibility for minecraft version 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10

1.21.1-4.0.0Релиз1.21.1 · 11 декабря 2025 г.

Ported to NeoForge for Minecraft version 1.21.1

1.21.1-3.0.0Релиз1.21.1 · 1 сентября 2024 г.

Ported to 1.21.1

1.21-3.0.0Релиз1.21 · 30 августа 2024 г.

Ported to 1.21

1.20.6-3.0.0Релиз1.20.6 · 1 июня 2024 г.

Ported to 1.20.6

1.20.4-3.0.0Релиз1.20.4 · 13 декабря 2023 г.

Ported to 1.20.4

1.20.2-3.0.0Релиз1.20.2 · 23 ноября 2023 г.
  • IMPORTANT: The config structure has been changed and is not compatible with older versions.
  • Night will only be skipped, if all players are sleeping for 80 ticks or more. Remove instead night skip
  • For sleep, wake and morning there can now be multiple message, from which one will be randomly shown.
  • For sleep and wake messages, there is now a %player% parameter, so the place, where the player name shall be shown, is now configurable.
1.20.2-2.1.3Релиз1.20.2 · 19 октября 2023 г.

Ported to 1.20.2

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

Комментарии

Загружаем…