Flying is not enabled
Fix kicks when players fly or use elytra.
On this page
Players can get kicked with the message "Flying is not enabled on this server" when trying to fly (creative mode, elytra, jetpacks, or mods that allow flight). This happens because the server rejects flight movement to prevent cheating.
How to Fix It#
-
Enable Allow Flight#
- Open the Files tab in the panel.
- Find and open the
server.propertiesfile. - Change the following line:
(add it if it does not exist.)properties
allow-flight=true - Save the file.
-
Restart the Server#
server.propertieschanges only apply after a Restart. Open the Console and press Restart. -
For Creative Mode#
Make sure the player uses
/gamemode creative. Survival mode withallow-flight=falsewill kick players detected flying.
Security Note#
Caution
`allow-flight=true` makes it easier for players to use flight cheats in survival mode. Enable it only if your server genuinely uses mods/elytra that require it, and install an anti-cheat plugin if needed.
Alternative#
If you only want to allow elytra, consider a plugin such as Elytra or configure a more precise anti-cheat plugin instead of disabling the global flight protection.
