# How to Enable Flight on Your Minecraft Server (/docs/minecraft/toggle-flight)



import { Step, Steps } from 'fumadocs-ui/components/steps';

By default, Minecraft servers kick any non-creative player detected as airborne — this is the built-in anti-cheat that throws **"Flying is not enabled on this server"**. The `allow-flight` setting in `server.properties` disables that check.

> **Important:** `allow-flight=true` does **not** give players creative-mode flight. It only stops the anti-cheat from kicking players who are airborne. Players still need an elytra, mod, jetpack, or `/gamemode creative` to actually fly.

Enable Flight [#enable-flight]

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), open **Console** and stop your server.
  </Step>

  <Step>
    Edit server.properties [#edit-serverproperties]

    Click **Files** in the sidebar and open `server.properties`. Find:

    ```properties
    allow-flight=true
    ```

    | Value   | Effect                                      |
    | ------- | ------------------------------------------- |
    | `false` | Anti-cheat kicks airborne players (default) |
    | `true`  | Anti-cheat allows airborne players          |

    Click **Save Content**.
  </Step>

  <Step>
    Start the server [#start-the-server]

    Start from **Console**. Players can now fly without being kicked.
  </Step>
</Steps>

When to Enable [#when-to-enable]

* **Modded servers** with jetpacks, hang gliders, mounts, or flying vehicles (Mekanism, Botania, Iron Jetpacks, etc.)
* **Elytra-heavy servers** where players use elytra for transport
* **Lag-prone networks** — players desyncing often get falsely kicked for "flying"
* **Build / creative servers** where players have creative mode anyway

When to Keep Disabled [#when-to-keep-disabled]

* **Vanilla survival servers** where flight = cheating
* **Anarchy / PvP servers** where flying gives an unfair combat advantage
* **Faction servers** to prevent base raiding from above

Better Alternatives [#better-alternatives]

Vanilla `allow-flight` is all-or-nothing. For finer control:

| Tool                           | What it lets you do                                                                    |
| ------------------------------ | -------------------------------------------------------------------------------------- |
| **EssentialsX** `/fly`         | Per-player fly toggle, OP-only by default                                              |
| **CMI** `/fly`                 | Per-world, per-permission fly control                                                  |
| **NoCheatPlus / AAC / Vulcan** | Smarter anti-cheat that allows elytra and legitimate flight without disabling the kick |

Most servers running modded transport leave `allow-flight=true` and let a permissions plugin restrict actual `/fly` access.

Common Issues [#common-issues]

| Problem                         | Fix                                                                                         |
| ------------------------------- | ------------------------------------------------------------------------------------------- |
| Players still kicked for flying | The `allow-flight=true` change wasn't saved, or the server wasn't restarted                 |
| `/fly` command not found        | Vanilla has no `/fly` command — install EssentialsX or use `/gamemode creative`             |
| Elytra users still kicked       | Some anti-cheat plugins have separate elytra checks — whitelist elytra in the plugin config |
| Players abusing flight hacks    | Use a real anti-cheat (Vulcan, AAC) instead of the vanilla check                            |

Related Guides [#related-guides]

* [Server Properties](/docs/minecraft/server-properties)
* [Set Gamemode](/docs/minecraft/set-gamemode)
* [OP Permissions](/docs/minecraft/op-permissions)
