What does allow-flight do in Minecraft?
allow-flight is a server.properties option that decides whether the server kicks players who float in the air in Survival or Adventure mode. The default is false, which means: kick. It doesn't give anyone the ability to fly – it only switches off the server's built-in "flying check".
The check exists because a normal Survival player can't stay in the air, so the server assumes that someone hovering for a few seconds is using a fly hack. Not every flight triggers it:
| Who is in the air | Kicked with allow-flight=false? |
|---|---|
| Player in Creative or Spectator mode | No |
| Player gliding with an elytra | No |
| Player under the Levitation effect (e.g. from a shulker) | No |
Player with /fly from EssentialsX |
No – the plugin gives that player permission to fly |
| Player flying with a mod item (jetpack, angel ring, flight-giving armour) | Yes |
| Player with a fly hack | Yes |
The option exists only on Java Edition servers. Changes in server.properties take effect after a restart.
Why does it say "Flying is not enabled on this server"?
That's the kick message the server sends when allow-flight=false and a Survival player stays in the air for a few seconds without blocks nearby. It doesn't always mean cheating. Common causes:
- Mods that let players fly – jetpacks, rings, magic items, some backpacks and vehicles. On a modded server this is the most common reason.
- Plugins that move players – launch pads, grappling hooks, custom jump abilities or a minigame that throws players into the air.
- Lag – when the server or the player's connection stutters, the server may receive positions that look like hovering and kick someone who was just jumping off a cliff.
If the kicks come from mods, plugins or lag, set allow-flight=true. If someone really is flying with a cheat client, allow-flight=false is a basic protection – but for real anti-cheat you need a plugin, because the built-in check is easy to get around.
How to enable allow-flight on a Spot.gg server
Open "Configuration" → "server.properties", search for allow-flight, set it to true, click "Save changes" and restart the server.
- In your server's panel, go to "Configuration" and open the "server.properties" tab.
- Type
allow-flightin the option search. - Pick "true - Flying enabled."
- Click "Save changes" at the bottom. Then click "Restart now" – the server reads the file only at startup.
You can also edit the file by hand in "Files": open server.properties in the built-in editor and change the line to allow-flight=true. Do this while the server is stopped, because a running server can overwrite the file. The "Configuration" tab avoids that problem.
Servers with a ready-made modpack have the field marked "Locked" with the hint "Set automatically by Spot.gg". On these servers allow-flight is always true, because modpacks are full of jetpacks and other flying items, and the kick would only hit honest players. If someone on a modpack server still gets kicked for flying, the cause is another mod or an anti-cheat plugin, not this option.
How to let players fly in Survival with /fly (EssentialsX)
Vanilla Minecraft has no /fly command – on a Paper or Purpur server, install the EssentialsX plugin and give players the essentials.fly permission. You don't need to change allow-flight for /fly, because EssentialsX gives the chosen player the right to fly and the server's check skips them.
- Your server has to run Paper or Purpur (plugins don't work on Vanilla, Fabric or Forge). If you're on Vanilla, see how to install Paper or Spigot.
- Open "Addons" → "Available to install", search for EssentialsX, install the file marked "Compatible with your server" and restart. The full setup is in the EssentialsX guide.
- In game (as an operator) type
/fly– flight toggles on and off. Double-tap the jump key to take off.
| Command | What it does |
|---|---|
/fly |
Toggles flying for yourself |
/fly <player> |
Toggles flying for another player |
/fly <player> on / off |
Turns flying on or off for that player |
Operators can use /fly right away. For other players, give the permissions with LuckPerms in the "Console" (without the slash), e.g. for a vip group:
lp group vip permission set essentials.fly true
| Permission | What it allows |
|---|---|
essentials.fly |
/fly for yourself; the flying mode is also kept after leaving and rejoining |
essentials.fly.others |
/fly for other players – give it only to staff |
essentials.fly.safelogin |
A player who joins in mid-air starts flying instead of falling |
Don't give essentials.fly to the default group on a survival server – flying makes building, exploring and PvP trivial. Groups and permissions are explained in the LuckPerms guide.
How to fly in Creative mode
Switch the player to Creative mode with gamemode creative <player> in the "Console" – in Creative, everyone can fly by double-tapping the jump key. Spectator mode flies too, but the player passes through blocks and can't interact with anything.
- From the panel: open "Players", click the actions button next to an online player, choose "Game mode" → "Creative" and confirm with "Change". The server has to be running.
- In the console:
gamemode creative Steve, and back withgamemode survival Steve. - In game: an operator can type
/gamemode creative. How to give someone operator rights is covered in how to OP someone in Minecraft.
Creative also gives unlimited blocks and invulnerability, so it suits building servers and admins, not normal survival players. To let survival players fly without these extras, use /fly.
Is it safe to set allow-flight=true?
Yes for most servers – the built-in check only stops the simplest fly hacks and kicks honest players with mods or lag far more often. Turning it on removes one layer of protection, so on a public server:
- install an anti-cheat plugin if you are worried about cheaters – it detects flying much more accurately,
- use a whitelist on a server for friends, so only people you know can join,
- kick or ban anyone who abuses flying – see how to kick and ban players.
Paid Minecraft Java servers on Spot.gg start from $3.90 per month.
FAQ
How do I enable flying on my Minecraft server?
Set allow-flight=true in server.properties and restart the server. On Spot.gg: "Configuration" → "server.properties" → allow-flight → "true", then "Save changes" and "Restart now". That stops kicks for flying; to actually let Survival players fly, use /fly from EssentialsX or Creative mode.
Does allow-flight=true let everyone fly?
No. It only stops the server from kicking players who are in the air. Players still need a way to fly: a mod, a plugin like EssentialsX, an elytra or Creative mode.
Why do I get kicked for flying when I'm not flying?
Usually because of lag or a plugin or mod that moves players through the air. The server sees a player hovering and kicks them. Setting allow-flight=true fixes it.
Is there a /fly command in vanilla Minecraft?
No. In vanilla you can fly only in Creative or Spectator mode, or glide with an elytra. /fly comes from plugins like EssentialsX.
Do I need allow-flight=true for EssentialsX /fly?
No. EssentialsX gives the player permission to fly, so the server doesn't kick them even with allow-flight=false. You only need allow-flight=true for mods or plugins that move players without that permission.
Does allow-flight affect elytra?
No. Gliding with an elytra never triggers the flying kick.