Issue: When the required amount of players is set to >1 then solo players or any amount of players < the amount players set cannot sleep. They lie in bed but nothing will happen.
Suggestion: Either simply ensure that if there is less players than the required amount on the server, that the set amount is ignored, or change the "required amount" = to a percentage, rather than a round number of players.
Say 34% of players would,
- with 1 player = 1 player required to sleep
- with 2 players = 1 player
- 3 players = 1 player
- 4 players = 2 players required to sleep
etc
As right now when setting it to say, 3 players-
- with 1 player on the server, that player can never sleep.
- with 2 players on the server, regardless of what these 2 do, they cannot sleep.
- with 3 players on the server, all 3 need to sleep.
Essentially, I believe it'd be easier to simply mimick the game rule's behaviour of using a percentage.
Perhaps the game rule could be used to configure the percentage in the first place?
Otherwise, having a config file to sort this out would also work I suppose.
The scoreboard setup seems to be a bit clunky? I don't really mind it, I suppose, but it's a bit unintuitive. But that might be preference.
