- Console can now run the ignore and reload commands.
- For console use ignore can now take a player name to ignore someone else, or a player name and state to force a specific state. For example /sleep ignore Hraponssi false to force removal from the ignore list regardless of if they were in it or not.
- Random messages are now the same for all players.
- The plugin is now built for Java 17 instead of 8 so it can use new features.
- Night skip messages are now as a list, so you can have multiple to have one randomly chosen from. Old configs should stay compatible.
- Some cleaning up of the code that shouldn't affect functionality.
- Added a note to the debug command if you're ignored in gamemode spectator or creative.
- The sleep percentage is capped at 100%, in case ignored players sleep.
- Check for permissions when running subcommands.
- Allow disabling some messages by setting them as blanks in the config. (SleepInfo, Nightskip, SkipByVote)
- All commands have been moved to subcommands of /sleep
- Voting commands now check if voting is enabled before starting a vote
Note: The message SleepHelp has been renamed to SleepHelpList to reflect the change in the message format. The new format has the message followed by a list of subcommands the player has permissions for.
- Changed lists from using player objects to UUIDs to avoid potential memory leaks.
- Tested working on 1.20.2.
- Votes can now only be started if the world time would allow for sleeping in a bed.
- First modrinth upload.