RedxAxAntiAFK
Plugin Overview:
RedxAxAntiAFK is a Spigot plugin designed to prevent players from going AFK (Away From Keyboard) for extended periods. The plugin detects player inactivity and kicks AFK players, helping to maintain an active and engaged player base on your server.
Features:
- Configurable AFK timeout duration.
- Customizable kick message.
- Customizable sensitivity.
- Webhook integration for notifications.
- Customizable webhook message
- Economy integration for purchasing AFK bypass.
- GUI for viewing and managing AFK players (Not Finished).
- Customizable In Everyway.
Installation:
1. Download the
RedxAx
Anti
AFK.jar file.
2. Download The Soft Dependency (
Vault and an ecomomy plugin like
EssintialsX)
2. Place the jar files in your server's ''plugins'' folder.
3. Restart your server.
4. Configure your
webhook in the config and reload the plguin.
Configuration:
- `afk-timeout-minutes`: Sets the AFK timeout duration in minutes.
- `min-distance-to-move`: Minimum distance a player must move to reset AFK status.
- `buy-bypass-enabled`: Enables or disables the ability to buy AFK bypass.
- bypass-cost-per-minute`: Cost per minute for buying AFK bypass.
- `kick-message`: Custom message displayed when a player is kicked for being AFK.
- `webhook.url`: Webhook URL for receiving notifications.
- `webhook.message`: Custom message format for webhook notifications.
Commands:
- `/raa reload`: Reloads the plugin configuration.
- `/raa forceafk [player]`: Forces a player or yourself to be marked as AFK.
- `/raa afklist`: Opens a GUI displaying a list of AFK players.
- `/raa buybypass [duration]`: Purchases AFK bypass for a specified duration (minutes).
Permissions:
- `raa.bypass`: Bypass AFK kick.
- `raa.reload`: Reload the plugin configuration.
- `raa.force`: Force a player to be marked as AFK.
- `raa.list`: View the AFK player list.
- `raa.buybypass`: Purchase AFK bypass.
Webhook Integration:
The plugin supports webhook notifications for AFK kicks. Configure the
webhook URL in the `config.yml` file to receive notifications about AFK kicks.
Economy Integration:
The plugin integrates with
Vault for economy features. Players can purchase AFK bypass for a specified duration using the `/
raa
buybypass` command.
Support and Issues:
For support or reporting issues, please join the
discord
here
Galary and screen shoots:
Not So Much Because... What Did You Expect To See Huh?
To Do List:
- Fixing The AFK List
- Adding A GUI For Buying AFK Pass
- Make Settings Configurable In-Game (Expected With The Full Release)