This version drops support for game versions before 1.21, which will give me a good baseline for any future features. I don't plan on introducing anything new any time soon.
This version also removes the debug logs that I left in. They don't do anything if you don't have a particular tag, but still add a very, very small amount of overhead. So I wanted to get a new release out for myself that doesn't contain them.
This is a patch release for 1.3 that drops support for older versions of the game. Both releases behave the same.
To recap the changes in 1.3:
- Players in other dimensions are no longer counted toward the total number of players
- Changing player conditions will now update the
playersSleepingPercentage
while players are trying to sleep- This means a player leaving and rejoining, or travelling to the nether, will now work correctly!
- The "relative percentage" (percentage of online, non-AFK players in the same dimension) that have to sleep to pass the night can now be updated directly by changing the
playersSleepingPercentage
gamerule- I kept having to check my own documentation to remember what value had to change. This massively simplifies the experience and removes a big source of surprise.
This version is a massive internal refactor.
Fixes
- Players in other dimensions are no longer counted toward the total number of players
- Changing player conditions will now update the
playersSleepingPercentage
while players are trying to sleep- This means a player leaving and rejoining, or travelling to the nether, will now work correctly!
- The "relative percentage" (percentage of online, non-AFK players in the same dimension) that have to sleep to pass the night can now be updated directly by changing the
playersSleepingPercentage
gamerule- I kept having to check my own documentation to remember what value had to change. This massively simplifies the experience and removes a big source of surprise.