Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
⨠AntiAFKPlus
Smart and configurable AFK management for your Minecraft server!
ā What is AntiAFKPlus?
AntiAFKPlus is a lightweight yet powerful plugin that automatically kicks inactive players after a configurable period.
Warn players before kicking, set per-permission timeouts, let players go AFK manually, and keep your server clean and fair.
Perfect for Survival, Factions, Minigames, Hub, or Network servers.
ā
Main Features
-
ā³ Configurable AFK kick time (global and per permission)
-
Bypass permission to exclude staff or VIPs
-
ā” Multi-warning system before kick (custom intervals like 60s, 30s, 10s)
-
Broadcasts when players enter or leave AFK
-
ā Manual AFK toggle with the /afk command
-
Per-world control: enable AFK checks only in selected worlds
-
Fully customizable messages with {player} and {seconds} placeholders
-
Reload config instantly using /afkplus reload
-
Built-in bStats support
-
ā Supports Minecraft versions 1.16 to 1.21+
ā Installation
- Download the latest .jar file
- Place it into your /plugins/ folder
- Restart your server or use /reload
- Edit /plugins/AntiAFKPlus/config.yml as desired ā
Commands
/afkplus reload Reloads configuration without restarting Permission: antiafkplus.admin
/afk Manually toggle AFK status Permission: antiafkplus.afk ā
ļø Permissions
- antiafkplus.bypass ā Exempts player from all AFK checks
- antiafkplus.admin ā Allows use of /afkplus reload
- antiafkplus.afk ā Allows manual AFK toggle using /afk
- antiafkplus.time.600 ā 10 minutes AFK timeout
- antiafkplus.time.900 ā 15 minutes AFK timeout
- antiafkplus.time.1800 ā 30 minutes AFK timeout
ā ļø** Configuration Example**
Default settings:
default-afk-time: 300
afk-check-interval-seconds: 5
afk-warnings:
[*]60
[*]30
[*]10
messages: afk-enter: "&7{player} is now AFK."
afk-exit: "&a{player} is no longer AFK."
kick-warning: "&eYou will be kicked in {seconds} seconds for being AFK!"
kicked: "&cYou have been kicked for being AFK."
Use & color codes as usual. Placeholders like {player} and {seconds} are replaced automatically.
ā
Developer API
AntiAFKPlus provides a simple and public API for developers. You can check if a player is AFK or force AFK/return.
Example usage:
AntiAFKPlus plugin = (AntiAFKPlus) Bukkit.getPluginManager().getPlugin("AntiAFKPlus"); AntiAFKPlusAPI api = plugin.getAPI();
if (api.isAFK(player)) { player.sendMessage("You are AFK!"); }
See AntiAFKPlusAPI.md for full documentation.
ā
Metrics
This plugin uses bStats.org to collect anonymous usage statistics. You can disable it in the /plugins/bStats/config.yml file if desired.
ā
Why Choose AntiAFKPlus?
- Lightweight and optimized
- Highly configurable for any server
- Multi-version support (1.16ā1.21+)
- Clean code and well-structured
- Professional notifications and UX
- Designed for performance and simplicity
ā Coming Soon in the Premium Version
- ā MySQL support
- ā Teleport to lobby or spawn instead of kicking
- ā Anti-autoclicker and AFK-farming protection
- ā DecentHolograms / GHolo integration
- ā Kick/AFK logging system
- ā Extended PlaceholderAPI support
Support development by upgrading to the Premium version soon!
ā
Support & Contact
GitHub: https://github.com/koyere/AntiAFKPlus
Discord: https://discord.gg/xKUjn3EJzR
ā
⨠Keep your server clean, fair, and professional with AntiAFKPlus! āØ


