AfkKick
AfkKicker is a lightweight plugin that automatically kicks AFK (away from keyboard) players after a configurable number of hours. It also includes a command for admins to manually kick all AFK players.
📖About AfkKick
ENG
AfkKick – Auto Kick AFK Players from Your Server
AfkKick is a lightweight, no-dependency Spigot plugin that automatically removes AFK (Away From Keyboard) players from your server after a set amount of time. Designed for performance and simplicity, it's perfect for survival, faction, and PvP servers that want to keep player activity high and prevent abuse of idle time.
Features
Automatic AFK Kicking
Kick inactive players every X hours (configurable).
Manual Kick Command
Use /afkkick to kick all AFK players manually (permission-based).
Fully Customizable Messages
All messages (kick reason, feedback, broadcast) can be edited in config.yml, with full & color code support.
Permission System
Players with afkkick.bypass are never kicked. Command use is protected by afkkick.use.
No Dependencies
Works out of the box on any Spigot-based server (Paper, Purpur, etc.).
Configuration (config.yml)
interval_hours: 5
kick_reason: "&cYou were kicked for being AFK."
manual_kick_message: "&aKicked &e%count% &aAFK players."
auto_kick_message: "&a[Auto] Kicked &e%count% &aAFK players."
show_kick_message: true
no_permission: "&cYou do not have permission."
Permissions
afkkick.use Allows use of /afkkick
afkkick.bypass Prevents the player from being kicked
Compatibility
Minecraft 1.16 – 1.21+
Spigot / Paper / Purpur
No external dependencies required
License
This project is licensed under BSD-2 clause.
