AntiFlight
ModPaper Plugin and Fabric mod to exclusively prevent flight and speed based hacks, including Elytra and BoatFly etc. Achieved without packet inspection or manipulation.
Description
AntiFly

Lightweight Paper + Fabric flight-control plugin by CevAPI.
AntiFly is not a full anti-cheat. It focuses on flight and movement abuse with layered checks:
- server-authorized flight state
- server-side ground/support truth
- buffered air/hover/anti-kick suspicion
- disciplined setbacks to last known valid support
- Elytra-specific movement and boost sanity checks
Platforms
- Paper: 1.21.x -> 26.1.2
- Fabric: 1.21.11 -> 26.1.2 (Fabric Loader 0.18.1+, Fabric API 0.141.1+1.21.11)
Commands
Paper
Requires op or antifly.admin.
Core:
/antifly enable/antifly disable/antifly status/antifly help/antifly exempt <player>/antifly unexempt <player>/antifly set/antifly set <key>/antifly set <key> <value>/antifly reset <player>
Alerts:
/antifly alerts <off|game|console|both>gamealerts go to ops and users withantifly.alerts
Debug:
/antifly debug on/antifly debug off/antifly debug- Shows live action-bar telemetry (mode, speed vs limits, key buffers)
Fabric
Requires moderator-level command permission.
/antiflycommand family is available with equivalent core controls.
Primary settings keys (Paper)
groundWalkMaxgroundMountedMaxwaterMaxwaterVerticalMaxmaxAirHorizontalmaxAirVerticalbufferDecayhorizontalBufferLimitverticalBufferLimithoverBufferLimitnoFallDetectionEnabledairNonFallTicksLimitantiKickWindowTicksantiKickMinDescentsetbackCooldownMselytraEnabledelytraBoostGraceTickselytraStallTickselytraMovementBufferLimitelytraDurabilityCheckEnabledelytraMaxRocketHorizontalelytraMaxRocketUpelytraNoRocketSustainableHorizontalelytraMaxNoRocketUp
Legacy aliases kept for backward compatibility:
groundSpeed,groundSpeedWalking,groundSpeedMountedwaterSpeed,waterVerticalairSpeed,airVertical,airNonFallTickselytraMovementLimit
Notes on Elytra
- Rocket-assisted glide is tracked separately from no-rocket glide.
- No-rocket controlled upward/flat cruise behavior is treated as suspicious and can be blocked.
- Rare fluid-exit and early-glide pull-up transitions are given short grace windows to reduce false positives.
Permissions (Paper)
antifly.admin(default: op)antifly.alerts(default: op)
Config locations
- Paper:
plugins/AntiFly/config.yml - Fabric:
config/antifly.json
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Cobblemon Trainer Doubles
Applies Doubles Format to all possible trainers in the radical cobblemon trainers mod
Beyond Oxygen Fix
Fixes a bug in beyond oxygen where the mod's oxygen/breathing mechanic breaks vanilla and modded air supply systems in...
Mine Mine No Mi BlackBlades
Train your weapon bond your weapon master your weapon and turn it into a Legendary Meito Black Blade
Too Many Shortcuts
A mod to allow you to expand how you assign keyboard bindings.
S.L.O.P. Vehicle Pack [MTS/IV]
Immersive vehicles content pack: AH-1/Ferret/Leclerc /AMX-10P/Type 87/OV-10/AMX-13
TACz NPC Compat
Adds support to control the passive NPC's so you can have them follow you or guard a specific spot.