Easier Sleeping
Mod Overview
The Easier Sleeping mod fundamentally changes the sleep mechanics in Minecraft, making them more convenient for multiplayer gameplay. Instead of requiring all players to sleep simultaneously to skip the night, only a certain percentage of sleeping participants is needed.
Main Features
The mod's key feature is the customizable percentage of players required to skip the night. By default, it's set to 50%, but you can adjust it according to your needs. All sleep notifications are displayed only to players in the same dimension as the sleeper.
Installation requirements are important to note: starting from Minecraft 1.19.1, the mod must be installed on both server and client. For versions 1.19 and earlier, server-side installation is sufficient, although client installation is also possible.
Configuration Settings
The configuration file is located in the "serverconfig" folder within the world folder and is named "easier_sleeping-server.toml". All settings can be edited either directly in the file or using in-game commands.
Main Configuration Parameters:
- sleep_percent - percentage of players required to skip the night (default: 50)
- sleep_messages - list of messages shown when a player goes to bed (available parameter: %player% - player name)
- wake_messages - list of messages when a player leaves the bed
- morning_messages - list of greeting messages when successfully skipping the night
- all_players_rest - resets the time since last sleep for all players when others sleep successfully
- dimensions - dimensions where the sleep voting system is active
- dimension_list_type - determines whether the dimensions list contains active or inactive sleep dimensions
- block_blacklist - blacklist of bed blocks that are ignored during sleep counting
Management Commands
The mod provides an extensive set of commands for managing settings directly in the game:
Sleep Percentage Management:
/sleep sleep_percent- shows current percentage/sleep sleep_percent <value>- sets new percentage
Message Management:
- Commands for viewing, adding, and removing messages for different sleep stages (going to bed, waking up, morning)
- Format:
/sleep messages <type> [add|remove] <message>
Additional Settings:
- Management of all_players_rest setting
- Management of dimensions list for sleep system
- Configuration of dimensions list type
All changes made through commands are automatically saved to the configuration file.