Loading...
Beta Modpages Unclaimed

Easier Sleeping

Only a percentage of players has to sleep.

0 Likes
1674093 Downloads
Created by GeheimagentNr1

Description

Version 3.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!

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.
  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"

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 activ.

- /sleep dimension add <dimension>
  Adds a dimension in which, the sleeping percentage is activ.

- /sleep dimension remove <dimension>
  Removes a dimension in which, the sleeping percentage is activ.

- /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.

- block_blacklist
  Block names of beds being ignored for sleep percentage.
  Examples: minecraft:white_bed, comforts:hammock_white

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

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


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Clumps

Clumps XP orbs together to reduce lag

Morpheus

Sleep vote system

FTB Utilities (Forge)

FTB Utilities is a mod by FTB. It aims to provide several useful utilities within the FTB Platform ranging from friends list, server configuration utilities, world borders, guide system and many other features...

spark

spark is a performance profiler for Minecraft clients, servers and proxies.

Lootr (Forge & NeoForge)

A mod that makes it so nobody misses out on Loot! All loot chests are instanced per player and visually unique.