Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Tags
Creators
Details
Licensed ARR
Published 3 days ago
AFKPlugin
A lightweight, configurable AFK plugin for Paper 1.21.x. Automatically detects inactive players and marks them as AFK.
Features
- Automatic Detection ā Players are marked AFK after a configurable inactivity timeout
- Low Sensitivity ā Small movements (stuttering, mouse clicks, short walks) won't cancel AFK. Only moving a significant distance or actively interacting counts as activity
- Manual Toggle ā
/afkto toggle AFK manually - Tablist Display ā AFK players get an
[AFK]prefix in the player list - Auto-Kick ā Optional automatic kick after prolonged AFK time
- Broadcast ā Optional chat notification when players go AFK / return
- Fully Configurable ā Timeout, messages, kick, and detection are all adjustable
- Permissions ā Bypass, ignore, and reload controlled via permissions
- Customizable Messages ā All messages editable in
messages.yml
Commands
| Command | Description | Permission |
|---|---|---|
/afk |
Toggle AFK mode | afk.use |
/afk reload |
Reload configuration | afk.reload |
/afk <player> |
Check a player's AFK status | afk.others |
Perms
| Permission | Default | Description |
|---|---|---|
afk.use |
true |
Allows using /afk |
afk.others |
op |
Allows checking others' AFK status |
afk.bypass |
false |
Never automatically marked AFK |
afk.kick.bypass |
op |
Never kicked for being AFK |
afk.reload |
op |
Allows reloading the config |
Install
- Make sure you're running Paper 1.21.x
- Place
AFKPlugin-1.0.0.jarinto yourplugins/folder - Restart the server or run
/reload - Optionally adjust
config.ymlandmessages.yml
Config
config.yml
timeout: 600
kick:
enabled: false
after: 1200
detection:
min-movement-distance: 5.0


