Anti AFK + 2.1

Advanced AFK detection, challenge system & macro protection

Hold Shift and click to select a range

Latest
Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 2.1 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Generator Mode Detection Restored Always Reliable Smoother Everywhere

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Generator Mode Catches Farmers Again


Some setups reported generator mode staying completely silent. The plugin now reliably recognises the blocks your generator creates, so AFK farmers are caught again - while natural mining and building stay completely safe.

What you get
  • Generator mode detects again - even on generators built by other plugins
  • Classic generators (one fixed output spot) always work out of the box
  • Natural stone, cave cobblestone and player-built blocks stay ignored



More Reliable Everywhere


Version 2.1 also tightens up the small things, so the plugin behaves predictably on every server.

What changed
  • Statistics export now only runs when statistics are enabled - no stray files
  • Reloads and restarts stay clean - no duplicated background tasks



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Drop-in replacement - just run /antiafk reload afterwards.
Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 2.0 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Generator Mode Fixed Only Real Generator Blocks No More False Flags

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Generator Mode Finally Works as Expected


Before, generator mode only looked at the block type. That meant natural stone and cobblestone - from caves, builds or anywhere else - were treated the same as blocks your generator made. Players could get flagged for mining blocks your generator never created. Not anymore.

What changed
  • Generator mode now only counts blocks your generator actually created
  • Natural stone, cave cobblestone and player-built blocks are ignored
  • Regular mining and building are never flagged as farming



Cleaner and More Reliable


Version 2.0 also polishes the small things, so the plugin behaves the same everywhere and always feels predictable.

What you get
  • Every message is fully localizable - no leftover English text anywhere
  • Detection counters only run when statistics are enabled, keeping things tidy
  • A smoother reload - no stale state after /antiafk reload
  • The debug command now tells you if the block you are looking at was created by a generator



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Drop-in replacement - just run /antiafk reload afterwards.
Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.9 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

AFK-Bot Detection Catches Random Interaction No False Positives

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



AFK-Bot Detection - Random Interaction Now Caught


Until now, AntiAFK caught LiquidBounce's old Anti-AFK mode, but the Random Interaction mode went unnoticed. That mode stands still and swings its arm to look active, so it got past every check. Not anymore.

How it works
  • The plugin counts arm swings that are not backed by any real action
  • Mining, fighting, building, eating, fishing, using items and opening menus reset the counter instantly
  • Real players are never flagged - only bots that do nothing but swing their arm



Same Options as the Other Detectors


Swing detection works exactly like the farm and auto-click detectors, so setting it up feels familiar.

What you get
  • Action: WARN, CHALLENGE, KICK or COMMAND, plus a cooldown so it never spams
  • Admin alerts, a Discord webhook, statistics with CSV/JSON export and a %antiafk_swing_detections% placeholder
  • Test it anytime with /antiafk testswing and diagnose players with /antiafk debug
  • Bypass permission antiafk.bypass.swing, disabled worlds and safe zones



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

New feature release - drop-in replacement. Just run /antiafk reload afterwards.
Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.8 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Comments Survive Updates Deepslate Ores Counted Bossbar Style Fixed Clearer Testing

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Config Comments Survive Updates


Every new option now arrives with its full # description - no more mystery settings.

No More Bare Options
  • New config options keep their # comment lines after an update
  • Your existing settings are always preserved
  • Safe fallback if anything goes wrong - nothing is ever lost



Generator-Only Mining Counts Deepslate Ores


Fixes mining-mode: GENERATOR on 1.17+ servers where ores below y=0 were not counted.

All Ore Variants Covered
  • Deepslate ores (DEEPSLATE_IRON_ORE, DEEPSLATE_GOLD_ORE, etc.) now count
  • Cobblestone, stone and regular ores keep working as before
  • Normal building/mining of other blocks is still never flagged



Bossbar Style Finally Works


The style option silently did nothing before - now it actually changes the bossbar look.

SOLID & SEGMENTED Work Again
  • Legacy names (SOLID, SEGMENTED_6/10/12/20) are mapped correctly
  • New names (PROGRESS, NOTCHED_6/10/12/20) work too



Testing Tip - OPs Are Exempt By Default


If nothing triggers while you test, it's probably because you're testing as OP.

This Is Expected, Not a Bug
  • OPs get the bypass/exempt permissions by default, so detection skips them
  • Test on a normal (non-OP) account
  • Or verify instantly: /antiafk testfarm and /antiafk testclick
  • Diagnose any player with /antiafk debug



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Bugfix release - drop-in replacement. Just run /antiafk reload afterwards.
Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.7 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Latest Skyblock Support Clearer Alerts Generator-Only Mining Admin Toolkit

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Works With The Latest SuperiorSkyblock2


If you use SuperiorSkyblock2, this update gets it working again - including the newest versions.

No More Startup Error
  • Fixes the error that appeared with the latest Skyblock update
  • Older Skyblock versions keep working too
  • If anything ever changes again, the plugin simply continues without the extra island checks



Alerts Tell You Exactly What Was Caught


No more guessing what a player was doing.

Mining or Fishing? You'll Know
  • Admin alerts now say which one: Mining or Fishing
  • The console log says the same
  • Players see the type too in the warning message



Generator-Only Mining - One Setting


Stop false alarms while your players build and mine normally.

Only Generator Blocks Count
  • Only cobblestone, stone, ores and similar generator blocks count
  • Breaking or placing anything else is never flagged
  • Turn it on with a single setting - done
  • You can still list your own blocks if you prefer



Admin Toolkit


Everything you need to test, fine-tune and keep the plugin fair - plus a cleaner Polish translation.

Test A Detection Instantly
  • /antiafk testfarm - trigger a test farming detection right now
  • /antiafk testclick - trigger a test auto-click detection right now
  • /antiafk debug - see why a player is (or isn't) flagged
  • No waiting for a real offender - check your settings instantly


Choose Who Gets Checked
  • New permissions to skip farming or auto-click checks for a player
  • Exempt a builder without switching off everything else
  • New option: punish players who hide behind /afk (or keep the old behaviour)


More Numbers & Placeholders
  • Farm and auto-click detection counters in /antiafk stats and the admin panel
  • Export everything to a file (CSV/JSON)
  • New chat placeholders for PlaceholderAPI users
  • New skyblock option: co-op members count as being on the island
  • Polish language file now uses proper Polish characters



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Full changelog on the resource page. Update is a drop-in replacement - just run /antiafk reload afterwards.
Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.6 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Choose What Happens On Fail Only Generator Blocks Skyblock (SSB) Auto-Click No More Deleting Config

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



You Choose What Happens When a Check Fails



Before, failing a check always kicked the player. Now you decide what happens.

Warn, Kick or Run Your Own Command

  • Send a warning instead of a kick
  • Kick the player - the old behaviour
  • Run any command you like (for example a tempban)
  • Works for every check: inactivity, farming, macro and command-triggered




Only Generator Blocks Count Now



The anti-farm check no longer counts every broken block.

Skyblock Friendly

  • You choose which blocks count (cobblestone, stone, ores...)
  • Normal building and mining of other blocks is never flagged
  • No more false alarms while placing or building blocks



Works With SuperiorSkyblock2

  • Optionally, only count breaks on the player's own island
  • No extra setup - it works even without SSB installed




Auto-Click Detection (Mob Farms)



Catches players who farm mobs with an auto-clicker while AFK.

Catch Auto-Clickers

  • Flags inhumanly fast clicking - you set how many clicks in how long
  • PvP is ignored by default, so normal fighting is not affected
  • Admins get a notification, and it can be posted to Discord




No More Deleting Your Config



Updating the plugin just got much easier.

Everything Is Added For You

  • New options are added to your config file automatically on update
  • Language files get new messages the same way
  • Your settings and translations are always kept - nothing is overwritten
  • If a setting is written wrong, the plugin tells you in the console




━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Full changelog on the resource page. Update is a drop-in replacement - run /antiafk reload afterwards.

 

Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.5 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Time-Based Anti-Farm Custom Command Action Cooldown Quality of Life

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Time-Based Anti-Farm Detection



Choose Action-Based or Time-Based Control

  • New afk-farm.trigger-mode in config.yml: BREAKS (default) or TIME
  • BREAKS - flags after min-breaks matching breaks, just like before
  • TIME - flags when matching breaks span at least min-time seconds, e.g. min-time: 10



Perfect for Big Generators

  • Works great when a generator has many separate mines and blocks respawn slowly
  • Catches slow AFK farmers whose break count never builds up inside the window
  • Match-mode POSITION, MATERIAL and ANY all work with time-based control



Configurable Counter Reset

  • window-seconds now also controls the counter reset time
  • Break blocks, then leave - after this time the history clears and the counter resets



Custom Command On Detection

  • New action: COMMAND - run your own console command when farming is detected
  • Set it with afk-farm.command - placeholders: {player} {world} {x} {y} {z}
  • Example: action: COMMAND, command: "tempban {player} 1h AFK farming at {x},{y},{z}"



Works for Fishing Too

  • Time-based control also applies to fishing rod casts (min-time instead of min-casts)




Quality of Life



Action Cooldown

  • New afk-farm.cooldown-seconds (default 30, 0 = off) - minimum gap between two detections
  • Stops action spam (repeated COMMAND / KICK) for a persistent farmer



Exempt Materials

  • afk-farm.exempt-materials: blocks that never count toward farming detection
  • Example: [SUGAR_CANE, PUMPKIN] - gather them freely without ANY mode flagging you



Admin Alerts

  • Players with the antiafk.admin permission get a message when farming is detected
  • Customizable in the language files (afk-farm.admin-alert, EN/PL included)



Config Validation

  • On /antiafk reload the plugin warns if a farm setting can never trigger
  • E.g. trigger-mode TIME with min-time higher than window-seconds, or a bad action / match-mode


Safe Config Update

  • Your existing config.yml settings are always preserved - never overwritten
  • New options work automatically with safe defaults - no manual editing needed
  • Want to see/tune the new options? Add them manually or delete config.yml to regenerate




━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Full changelog on the resource page. Update is a drop-in replacement - run /antiafk reload afterwards.

 

Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.4 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Hex Colors Every Message &&#RRGGBB Syntax Fully Backwards Compatible

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Hex Color Support



Add Hex Colors Anywhere

  • New &&#RRGGBB syntax, e.g. &#FF5500 - converted automatically to the vanilla §x§R§R§G§G§B§B format
  • Works in every message in the language files (lang/en_US.yml, lang/pl_PL.yml)
  • Works in punishment texts in config.yml (MESSAGE, TITLE, KICK value/subtitle)



Every Place You Use Colors

  • Messages, titles, actionbar, bossbar, tab-list prefix
  • Admin GUI and challenge GUI item names and descriptions
  • /antiafk check and every chat message the plugin sends



Fully Backwards Compatible

  • Standard codes like &c, &e, &7 keep working exactly as before
  • Your existing config and language files need no changes
  • Example: &#9B59B6&lAFK#FFFFFF&7 - purple bold text with a white accent




━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Full changelog on the resource page. Update is a drop-in replacement - run /antiafk reload afterwards.

 

Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.3 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Challenge-Only Mode Perfect for GrimAC Customizable Check GUI Bug Fixes

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Challenge-Only Mode



One Plugin, Two Modes

  • New mode: CHALLENGE_ONLY in config.yml - no separate version needed
  • AFK detection, punishments, macro/farm detection, admin GUI, stats and integrations are all disabled
  • Only the verification check system stays, triggered by command



Built for Anti-Cheats like GrimAC

  • Send a check to any player anytime with /antiafk challenge [type]
  • GUI, CHAT, MATH, SHIFT and CAPTCHA check types all available
  • Fail the check and the player is kicked - perfect for anti-cheat confirmations



Customizable Check GUI

  • The glowstone button name and description are now fully editable
  • Per-language, right in the lang files (EN/PL included)
  • Every message now lives in the language files - title, button, captcha, shift, chat and math text are all yours to change




━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


Bug Fixes



  • A check left by a player who disconnects is now cleaned up in every mode
  • Fixed a GUI conflict - the admin panel no longer pops open while browsing other plugins' paged menus





━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



How to Update

Stop the server, replace the plugin file, and start it again.
Your settings and player data are kept.


Version 1.3 - thank you for playing fair.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

 

Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 26.2

AntiAFK
Version 1.2 - What's New

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Permissions Overhaul Auto-Exempt Smarter Staff Permissions Bug Fixes

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Permissions Made Simple



Auto-Exempt by Permission

  • Players with antiafk.exempt are now automatically exempt from AFK checks
  • No more adding staff one by one in the panel - just give the permission
  • Server operators get it by default, so admins are never kicked



One Permission for All Staff Tools

  • antiafk.admin now grants every staff permission at once
  • GUI, checks, exemption, reload, export, challenges, macro bypass - all in one node



All Permissions Means All

  • antiafk.* now also includes the macro bypass permission




━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


Bug Fixes



  • /antiafk stats works again for regular players, just as it should
  • The exempt permission really exempts now, no more surprising kicks for staff





━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



How to Update

Stop the server, replace the plugin file, and start it again.
Your settings and player data are kept.


Version 1.2 - thank you for playing fair.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Download 0
No ratings yet
Purchase required

Compatible with Minecraft 1.21 - 1.21.11

FV

Download 1
No ratings yet
Purchase required
Product Info
Statistics
64

Views

1

Purchases

1

Downloads

146.12 KB

File size

16.07.2026

Published

19.08.2026

Updated

Share & Earn

Share and earn part of the profits, an estimated €0.4 per product sale.

Log in to get your link
Product Image
Anti AFK +
Anti AFK +