Added config options "DayTime" and "NightTime" to set the time considered as morning and the time that is considered the start of the night.
New config options will not appear in an existing config, so the config should either be recreated or the new entries manually added. The latest config can be found
here.
Adds integration with AFKPlus (Thanks @Rinary1) and Essentials to ignore afk players for night skipping. This can be toggled with the new config option "IgnoreAFKPlayers".
New config options will not appear in an existing config, so the config should either be recreated or the new entries manually added. The latest config can be found
here.
The sleep info action bar message can now be configured to persist for an amount of seconds, by default 30 seconds. It will automatically be cleared in the morning if a skip doesn't happen so the time can be set as the whole night as well.
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.
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.
The plugin now gets the world name to skip the night in from the latest player to sleep. This fixes any immediate errors with custom worlds or names, but it should soon be replaced with a new system that allows for proper support with multiple worlds.