

SimpleAFK
Simple AFK management solution for Minecraft servers
This mod provides a convenient toolset for controlling player automatic inactivity. With it, administrators can flexibly configure all aspects of the AFK status system operation.
Main features
- Automatic AFK detection: tracking player inactivity time with customizable interval
- Kick system: automatic disconnection of players who remain AFK for too long (with option to disable)
- Flexible formatting: full customization of status change messages, kick reasons and display of names in player list
- Sleep system integration: AFK players are not counted when calculating the required number of sleeping players for morning
Note: the mod overrides the vanilla setIdleTimeout
command, ignoring previous settings.
Configuration settings
The system offers advanced configuration capabilities, allowing you to adapt the mod's behavior to the needs of a specific server.
Main parameters:
secondsBeforeAfk
- time in seconds after player's last action before receiving AFK statussecondsBeforeKick
- time in seconds in AFK after which player will be disconnected (0 to disable function)isNowAfkMessage
- format of global message when entering AFK (supports color codes)isNoLongerAfkMessage
- format of message when exiting AFK (supports color codes)playerNameFormat
- format for displaying name in player list for AFK status (supports color codes)afkKickMessage
- message displayed when kicking for prolonged AFK (supports color codes)
Permission system
SimpleAFK uses standard permission nodes for integration with permission systems:
simpleafk.toggle
- allows player to manually toggle their AFK status (available to everyone by default)simpleafk.toggle.target
- allows toggling AFK status of other players (administrators only)simpleafk.bypass
- bypass AFK system (player doesn't receive status and cannot be disconnected) (administrators only)simpleafk.bypass_sleep
- exclusion from calculation of required percentage of sleeping players (administrators only)