THIS UPDATE WILL REQUIRE YOU TO RESET YOUR CONFIG.YML
Added Essentials AFK hooks: - Automatically welcome back players who return from being AFK - Prevent players who are AFK from automatically welcoming back other players Both of these are configurable in config.yml under hooks.essentials
Bumped config-version to 4
General code cleanup
This has got to be one of my most time-consuming updates, feel free to rate 5 stars!
Fixed "not-player" message (which is supposed to be sent to console when trying to set its own wb/welcome) being sent when typing in an offline/incorrect player name with /awb setplayer (is now sending "unknown-player" message)
Changed /awb setplayer arguments to /autowb setplayer <player> <wb|welcome> <message|off> (swapped <player> and <wb|welcome> placements so that player comes before wb|welcome as that makes more sense)
Changed above usage in the default config help menu, and bumped config-version to 3- you can safely ignore this if you change the command format for /awb setplayer in the help menuu to the new one above
Changed "auto-wb" to "auto-welcome" in some welcome related messages in the default config, this was down to me copying and pasting and forgetting to change these