Modscraper Modscraper Minecraft
AntiFlight logo

AntiFlight

Mod

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

Type

Mod

Modrinth Downloads

1,793

Modrinth ID

ptIaQatq

Last Updated

Jun 9, 2026

Description

AntiFly

LOGO

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>
  • game alerts go to ops and users with antifly.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.

  • /antifly command family is available with equivalent core controls.

Primary settings keys (Paper)

  • groundWalkMax
  • groundMountedMax
  • waterMax
  • waterVerticalMax
  • maxAirHorizontal
  • maxAirVertical
  • bufferDecay
  • horizontalBufferLimit
  • verticalBufferLimit
  • hoverBufferLimit
  • noFallDetectionEnabled
  • airNonFallTicksLimit
  • antiKickWindowTicks
  • antiKickMinDescent
  • setbackCooldownMs
  • elytraEnabled
  • elytraBoostGraceTicks
  • elytraStallTicks
  • elytraMovementBufferLimit
  • elytraDurabilityCheckEnabled
  • elytraMaxRocketHorizontal
  • elytraMaxRocketUp
  • elytraNoRocketSustainableHorizontal
  • elytraMaxNoRocketUp

Legacy aliases kept for backward compatibility:

  • groundSpeed, groundSpeedWalking, groundSpeedMounted
  • waterSpeed, waterVertical
  • airSpeed, airVertical, airNonFallTicks
  • elytraMovementLimit

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

Bukkit Fabric Folia Paper Purpur Spigot

Game Versions

1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 +5 more

Similar Mods

External Resources