This update the goal was to improve the multiple language support in the plugin. Russian and Chinese are now also by default supported. On request the PlaceholderAPI placeholders
%ezafk_afk_count en
%ezafk_active_count% are added to the plugin. Full changelog below.
Make sure to update your configuration file(s)
Added default support for Russian language (ru)
Added default support for Chinese language (zh)
Added new permission ezafk.gui.view-active to view the active players in the GUI
Added new permission ezafk.gui.actions for entering the action GUI
Moved AFK broadcast messages from the config to the language file
Economy handling now offers configurable fallbacks and retry behaviour for both entry and recurring AFK charges, reducing unexpected toggles when Vault payments fail.
Added
Shipped Russian and Simplified Chinese message bundles so every AFK command response, GUI error, and economy notice is localized out of the box.
AFK admin GUI contains options to see all online players instead of only AFK players for more advanced server administration.
Changed
Introduced granular economy settings: require-funds, retry-delay, and kick-on-fail and updated the charging flow to skip optional fees gracefully, queue retries, or revoke AFK status based on those flags.
Automatic AFK toggling now respects temporary economy blocks and clears them once the player interacts again, preventing repeated charge attempts immediately after a failure.
Vault economy integrations are refreshed dynamically when providers register or unregister, keeping AFK costs in sync without a server restart.
/afk command replies and player-action GUI prompts now route through the centralized message manager, ensuring every response respects the selected language file.
Upgrade notes
Regenerate your configuration to pick up the new gui.yml, mysql.yml, and language-aware message files, or merge the added sections manually before enabling the update.
You can now configure title messages for going in and out of the AFK state. The options for this can be found in the config "afk.title" and "unafk.title". This title will be set for only the player who is going in or out of the AFK state.
Because an OP player has the permission "ezafk.bypass" by default it was not possible to let the OP players go in the AFK state. I have added the option "afk.bypass.enabled" in the config. When this value is "false" the AFK state will be enabled for OP players.
The plugin now has a feature to sync the AFK players to a MySQL database. This could be nice for servers that want to show the AFK player status on their custom website.
Update message
The plugin now checks for a newer version on the website of spigotmc.org on server start up, when a newer version is available the plugin will give you a notice to update. This can be turned off by disabling the spigot integration in the config.
Animations
Simple optional animations are added to players going AFK and going off the AFK state.