
Modrinth · Minecraft mod
AntiFlight
Flight-only anti-cheat for Paper and Fabric servers. Stops fly hacks and elytra exploits without flagging vanilla movement, with optional Hunger Mode penalties.
Quick answer
Which AntiFlight release matches 26.2?
AntiFlight 1.1.7 targets 1.21.11, 1.21.10, 1.21.9 with bukkit, folia, paper. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is AntiFlight required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does AntiFlight 1.1.7 need?
1.1.7 on 26.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add AntiFlight without breaking your instance.
Built for AntiFlight 1.1.7 on 26.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.7. It targets 1.21.11, 1.21.10, 1.21.9 with bukkit, folia, paper; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.7. It opens that exact file at the source.
About this project
What does AntiFlight add?
AntiFly

Flight restriction that does one job properly. Lightweight Bukkit + Fabric plugin/mod by CevAPI.
Current release: 1.1.7
AntiFly is not a full anti-cheat, and that is deliberate. It is built for servers that want to restrict flight and nothing else - no reach checks, no killaura heuristics, no combat module quietly flagging your players at 3am. What you get instead is flight control accurate enough to leave legitimate movement alone.
Why AntiFly
- It never trusts the client. Ground and support are verified server-side. A client claiming
onGroundcannot talk its way past a check. - Layered detection, not one threshold. Buffered air, hover and anti-kick suspicion sit alongside a sustained-air backstop, so slow level flight and gentle bobbing are caught - not just obvious speed hacks.
- Setbacks nobody complains about. Players are corrected to their last known valid support instead of being yanked out of the sky mid-air.
- Elytra handled properly. A trajectory verifier predicts the next vanilla glide step from pitch, yaw and prior velocity, then weighs residual motion, excess energy, unnaturally constant speed and impossible turns - and only acts when several channels agree. Rocket boosts, steep dives, pull-ups and obstacle crashes are all left alone.
- Teleport-aware.
/tp, ender pearls, chorus fruit and portals are rebased rather than mistaken for flight, so legitimate travel never rubber-bands. - Mount and bounce aware. Vehicle checks account for normal riding, jumps and supported movement, including camel and nautilus dashes. Bed and slime-block rebounds are handled separately from suspicious flight.
- Live controls and diagnostics. Staff can enable or disable individual checks without restarting and see which check caused an intervention in debug messages.
- It does not advertise itself. The root command is permission-gated on both platforms so clients that probe a server's command list with suggestion packets get nothing back.
- Shared movement logic. Paper and Fabric share core movement logic, with platform-specific checks and controls listed in the configuration guide.
Hunger Mode
Hard blocks are not always what a survival server wants. /antifly hungermode on replaces them with a penalty that fits the game:
- Food drains first, scaling with speed and never falling below a minimum while airborne - so an idle hoverer still pays.
- Then health, once the flight has lasted long enough (or the player is already starving). Damage ticks slowly, so a landing attempt is always survivable.
- Vanilla gliding and rockets stay free unless the movement shows genuine exploit evidence.
The upshot: no rubber-banding, no teleport-loop complaints, and an economy that discourages flight naturally instead of a wall that just frustrates players.
Void (Nether Roof/Below Bedrock) Access
A bonus toggle for servers that want to close off the void as well. /antifly voidaccess off covers the Nether roof (Y ≥ 128), the void below the Nether and the void below the Overworld.
- With Hunger Mode off, players who enter are returned to their last safe position, including while mounted.
- With Hunger Mode on, entry is allowed but costs health directly - one hit on entry, then once per second while they stay. The usual hunger phase is skipped here, and exempt players are spared.
Platforms
- Bukkit family: 1.21.x - 26.3 (Bukkit, Spigot, Paper, Purpur, Folia)
- Fabric: 1.21.11 / 26.1.2 / 26.2 / 26.3
Build
./gradlew build
Artifacts land in paper/build/libs/ and each fabric_*/build/libs/.
All four Fabric targets compile one shared source tree (fabric_shared/). Only the Minecraft, loader and Fabric API versions in each fabric_*/build.gradle differ, so there is no per-version Java code to keep in sync - a change to the checks is automatically in every Fabric jar.
Server compatibility
The Paper build is compiled once against the oldest supported API (1.21.1) so a single jar runs on every Bukkit-family server from 1.21.x up to 26.3. Every build re-verifies that the sources still link against the oldest Paper API, the newest Paper API, and plain Spigot/Bukkit:
./gradlew :paper:checkPaperApiCompatibility
Anything that only exists on some servers is probed at runtime and falls back to plain Bukkit:
- region schedulers (Paper/Purpur/Folia) with a Bukkit scheduler fallback
- Folia entity scheduling so Hunger Mode health changes run on the thread that owns the player
Entity#isInLava()with a block probe fallback- the Adventure action bar (Paper family); servers without it simply show no debug action bar
Install
- Bukkit family: drop the jar into
plugins/ - Fabric: drop the jar into
mods/
Commands
The same set on Paper and Fabric. Requires op or antifly.admin on Paper, moderator-level permissions on Fabric.
/antifly enable|disable|status|help/antifly hungermode <on|off>- swap hard blocks for the hunger and health penalty/antifly voidaccess <on|off>- allow or block the void (default on)/antifly alerts <off|game|console|both>- where violation alerts are delivered/antifly reload- re-read the config from disk, no restart needed/antifly set- list every tunable key with its current value/antifly check [name] [on|off]- list, inspect or toggle individual checks/antifly debug <on|off>- show intervention messages with the player, reason and relevant controls
Also available: /antifly set <key> [value], /antifly exempt / unexempt, /antifly reset and /antifly disabledworlds. The full command reference is in CONFIGURATION.md.
Configuration
Use /antifly set <key> <value> to adjust available settings and /antifly check <name> <on|off> to control an individual check. Changes apply instantly and auto-save. Some checks overlap, so another enabled check may still correct the same movement; not every threshold is individually adjustable.
Defaults are chosen to stay forgiving of vanilla movement - sprinting, Depth Strider, Dolphin's Grace, Speed potions, wind charges, knockback and rockets are all expected and unpunished - so the common case really is "install it and leave it alone".
- Paper / Bukkit:
plugins/AntiFly/config.yml - Fabric:
config/antifly.json
CONFIGURATION.md documents every key and its default, the full command reference, the Elytra trajectory verifier in depth, Hunger Mode and void tuning, and which keys are platform-specific.
Permissions (Paper)
antifly.admin(default: op) ·antifly.alerts(default: op)
License
GNU General Public License v3.0 or later (GPL-3.0-or-later) - see LICENSE.txt.
Project description from Modrinth.
Pick your setup
AntiFlight by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
2 loader builds26.1.2
2 loader builds26.1.1
1 loader build26.1
1 loader build1.21.11
2 loader builds1.21.10
2 loader builds1.21.9
2 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader buildsShowing the newest 12 of 17 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AntiFlight versions and loaders
1.1.7
AntiFly-paper-1.1.7.jar
16 Nov 2026
1.1.7
AntiFly-fabric-26.2-1.1.7.jar
16 Nov 2026
1.1.6
AntiFly-fabric-26.2-1.1.6.jar
17 Oct 2026
1.1.6
AntiFly-paper-1.1.6.jar
17 Oct 2026
1.1.5
AntiFly-fabric-26.2-1.1.5.jar
30 Sept 2026
1.1.5
AntiFly-paper-1.1.5.jar
30 Sept 2026
1.1.4
AntiFly-fabric-26.2-1.1.4.jar
20 Sept 2026
1.1.4
AntiFly-paper-1.1.4.jar
20 Sept 2026
1.1.3
AntiFly-fabric-26.2-1.1.3.jar
24 Aug 2026
1.1.3
AntiFly-paper-1.1.3.jar
24 Aug 2026
1.1.2
AntiFly-paper-1.1.2.jar
20 Aug 2026
1.1.2
AntiFly-fabric-26.2-1.1.2.jar
20 Aug 2026
Looking for an older file? The official Modrinth project page is in Resources.