Anti-Bypass Protection
Some automated farms or clients exploit game mechanics such as flowing water, rideable entities, or bubble columns to trigger continuous movement that prevents AFK detection. EzAfk’s anti-bypass system detects each of these tricks and ignores the movement so idle players are flagged correctly.
Configuration
In your config.yml:
afk:
anti:
infinite-waterflow: false # ignore movement caused by flowing water
infinite-vehicle: false # ignore movement while riding a vehicle/entity
bubble-column: false # ignore upward push from bubble columns
flag-only: false # if true, only mark AFK silently; do not warn/eject
afk.anti.infinite-waterflow: Whentrue, movement caused by a flowing water current is not counted as player activity. Useful for servers with water-based AFK fish farms. Default:false.afk.anti.infinite-vehicle: Whentrue, movement while the player is riding a mob or minecart is ignored. Prevents AFK grinders that rely on riding entity movement to stay “active”. Default:false.afk.anti.bubble-column: Whentrue, the upward force from a soul-sand bubble column is not counted as player activity. Default:false.afk.anti.flag-only: Whentrue, players using bypass tricks are silently marked AFK without any warning or ejection. Whenfalse(default), EzAfk may warn the player and/or interrupt the exploit. Default:false.
How It Works
- EzAfk monitors player movement events and checks the cause of each movement.
- Before crediting activity to the player, it checks whether the movement matches an enabled anti-bypass rule.
- Movement that matches an enabled rule is discarded; the player’s last-activity timestamp is not updated.
- After the normal
afk.timeoutelapses without legitimate activity, the player is marked AFK as usual. - If
flag-onlyisfalse, EzAfk may send a warning to the player or interrupt the bypass source (e.g. eject from a vehicle). Ifflag-onlyistrue, the transition happens silently.
Notes
- Anti-bypass rules are independent. Enable only the ones relevant to your server’s gameplay.
- WorldGuard region flags can restrict AFK behaviour on a per-region basis. See WorldGuard Integration.
- Players with the
ezafk.bypasspermission are not subject to anti-bypass checks whenafk.bypass.enabledistrue.
Related
- AFK Detection: the core idle detection system
- WorldGuard Integration: region-based AFK flags
- Permissions:
ezafk.bypass