Anti AFK + 2.1

Advanced AFK detection, challenge system & macro protection

Download 0
No ratings yet

Compatibility

Minecraft: Java Edition 1.21 - 26.2
Platforms Paper Purpur

Changes


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.

 

AntiAFK.jar 116.01 KB
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 +