> ## Documentation Index
> Fetch the complete documentation index at: https://docs.purpify.host/llms.txt
> Use this file to discover all available pages before exploring further.

# Allow flying on a Java server

> Prevent legitimate flying players from being disconnected from a Purpify Minecraft Java Edition server.

Set `allow-flight=true` when a plugin, mod, or game mode lets players fly. This property permits flight checks; it does not grant players the ability to fly.

<Steps>
  <Step title="Stop the server">
    Wait for a clean shutdown before editing the configuration.
  </Step>

  <Step title="Edit server.properties">
    Open `server.properties` and set:

    ```properties theme={"dark"}
    allow-flight=true
    ```
  </Step>

  <Step title="Restart and test">
    Start the server and test with the plugin, mod, or game mode that provides flight.
  </Step>
</Steps>

<Note>
  Creative and Spectator mode provide their own flying controls. Survival flight normally requires a compatible plugin or mod and the required player permission.
</Note>

Set `allow-flight=false` to restore the normal flight check. Players using legitimate flight from a plugin or mod may then be disconnected.
