HomeJavaModsAntiAFK - The Performance AFK Solution
AntiAFK - The Performance AFK Solution
ModsJava

AntiAFK - The Performance AFK Solution

by bentahsin · on Modrinth

AntiAFK is a next-gen AFK management tool. With behavior analysis, macro detection, and Captcha tests, it blocks the most complex bots and exploits. Its…

⬇ Download on Modrinth
AntiAFK - The Performance AFK Solution — screenshot 1AntiAFK - The Performance AFK Solution — screenshot 2AntiAFK - The Performance AFK Solution — screenshot 3AntiAFK - The Performance AFK Solution — screenshot 4AntiAFK - The Performance AFK Solution — screenshot 5
AntiAFK Banner

Smart, Performance-Focused, and Comprehensive AFK Management System

License: MIT Java: 8+ API: Spigot 1.13+


AntiAFK is a next-generation management tool designed for modern Minecraft servers where standard AFK timers fall short. Its primary goal is not only to detect AFK players but also to proactively prevent the most complex bots and attempts to exploit AFK detection. With a design that prioritizes server performance, it operates unnoticed even on the busiest servers.

Visuals

Orbital Detection System (Behavior Analysis)

Orbital Detection System visuals. Orbital Detection System 1 Orbital Detection System 2

Repeating Pointless Movements Continuously in the Same Block (Pointless Activity Analysis)

Pointless Activity System visuals. Pointless Activity System 1 Pointless Activity System 2

GUI Display:

GUI System images. GUI System

✨ Key Features ✨

🧠 "Learning Mode": Intelligent Pattern Recognition

Leveraging machine learning principles, Learning Mode detects and counteracts sophisticated AFK bots that follow predefined movement patterns or routes. This system goes beyond simple activity checks to analyze how players move over time. A highly optimized, asynchronous task continuously compares the recent movements of all online players against a library of known bot patterns using the Dynamic Time Warping (DTW) algorithm, which effectively compares two movement sequences even if they are performed at different speeds.

Multi-Layered Detection Architecture

AntiAFK applies a four-layered analysis to detect AFK behavior and bots that mimic it:

“Turing Test” (Captcha Protection)

When suspicious behavior is detected, AntiAFK challenges the player:

Graduated Penalty and Record System

Provides a fair and effective penalty system:

🌍 Full Internationalization (i18n) Support

AntiAFK now speaks your language! The entire plugin has been overhauled to provide a truly multilingual experience.

Comprehensive Management and Configuration

Provides full control to server owners:


🚀 Performance

AntiAFK has been developed using the most modern techniques to keep its impact on server performance to an absolute minimum. It doesn't just show results, it transparently reveals how it achieves them:

Performance Profile (Spark Analysis)

Test Environment: Paper 1.19.4, 1 online player, standard server load.


// Server's overall idle rate (higher is better)
Server thread: 100.00%
└── net.minecraft.server.MinecraftServer.waitUntilNextTick(): 85.37%

// Plugin's total impact on the main thread
AntiAFK (v1.0.2)
└── Server thread: 0.24%
├── com.bentahsin.antiafk.tasks.AFKCheckTask.run(): 0.18%
├── com.bentahsin.antiafk.listeners.handlers.PlayerMovementListener.onPlayerMove(): 0.04%
└── Other (Commands, GUI, Captcha): 0.02%

Analysis:


🔗 Integrations and Installation

Integrations:

Installation:

  1. Download the latest version here.
  2. Place the .jar file in your server's plugins folder.
  3. Start the server to generate the default configuration files (config.yml, messages.yml, questions.yml, playerdata.db).
  4. Customize the configuration files as needed and use the /antiafk reload command.
If you encounter any issues with the plugin or have feature suggestions, please use the GitHub Issues page.
GitHub Page | Report an Issue
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