This mod is obsolete, since this feature was added to Minecraft in version 1.17
Summary
This mod is server side for Minecraft 1.15 and requires the fabric-api
This mod allows to skip the night when a certain percentage of players are sleeping.
How many players are required is caluclated through 'percentToSkip' and how many players are in the specifc world.
Meaning a player in the nether is excluded from the overworld's calculation.
A sleeping status message looks like this: [2/4].
"2" indicates the sleeping players
"4" indicates the required amount of players
The same status message won't be send twice. If no message is sent, the desired message might be already in the chat.
Commands
How many people are required to sleep is saved per world.
You can change the required percentage through /nightSkip percentToSkip <value>.
Whereas the the possible values range from 0 to 1.
0.5 (50%) is the standard value.
Only operator can use this command.
'/nightSkip percentToSkip' shows you the current percentage.
This command can be used by everyone
If you change "percentToSkip" to while players are sleeping. They need to stop and sleep again.
Incompatibilities
This mod may be incompatible with other mods, which do the same thing or need to know how many players are sleeping.

