HomeJavaModsAntiAFKPlus
AntiAFKPlus
AntiAFKPlus — screenshot 1AntiAFKPlus — screenshot 2AntiAFKPlus — screenshot 3

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

  1. Download the latest .jar file
  2. Place it into your /plugins/ folder
  3. Restart your server or use /reload
  4. 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

— ️** 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?

  1. Lightweight and optimized
  2. Highly configurable for any server
  3. Multi-version support (1.16–1.21+)
  4. Clean code and well-structured
  5. Professional notifications and UX
  6. Designed for performance and simplicity

Coming Soon in the Premium Version

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! ✨

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more