Guide · Troubleshooting

Fixing "Flying is not enabled on this server"

Vanilla has a simple fly check: if a player stays in the air too long without a reason, they get kicked. It catches basic fly hacks, and also plenty of innocent players.

What triggers it

With allow-flight=false, the default, the server kicks a player who hovers for several seconds while not in creative or spectator mode. Lag can cause it, as can mods and plugins that let players fly legitimately: jetpacks, flight rings, plugins with a fly command, or riding certain modded entities.

When to set allow-flight=true

On modded servers with flying items, on plugin servers where staff or ranks can fly, and on servers where lag causes false kicks, set allow-flight=true. It only disables this one vanilla check; it does not let anyone fly on their own.

Use an anti-cheat instead

The vanilla check is crude and easy to bypass. On a public server, set allow-flight=true and let a proper anti-cheat, such as Grim, handle flight detection. It understands legitimate movement much better and gives staff alerts instead of instant kicks.

StormNodes Minecraft hosting

Run it on a StormNodes server

Skip the port forwarding and the PC that has to stay on. A StormNodes Minecraft server is online in minutes, and everything in this guide can be done from the panel.

  • Hosted in Portugal, close to players across Western Europe
  • NVMe storage, monthly billing and no setup fee
  • Paper, Purpur, Fabric and vanilla, switchable from the panel
  • Live console, file manager, SFTP, backups and schedules
  • Support in English and Portuguese

FAQ

Frequently asked questions

Is allow-flight=true unsafe?
Not on its own. It removes the basic vanilla kick, which hackers bypass easily anyway. Pair it with an anti-cheat on public servers.
Why do players get kicked for flying with elytra?
Elytra flight is allowed by vanilla. Kicks while gliding usually mean heavy lag or an anti-cheat that needs updating.
Do I need to restart after changing allow-flight?
Yes. Edit server.properties with the server stopped, then start it again.