How to fix 'Flying is not enabled on this server' in Minecraft
The 'Flying is not enabled on this server' kick happens because Allow Flight is off by default, which also blocks elytra use. Turn it on in Settings → Game Settings on berrybyte, or set allow-flight to true in server.properties, then restart.
The "Flying is not enabled on this server" kick comes from Allow Flight
being off, which is the default. It's a vanilla anti-cheat setting: the
server assumes anyone flying without permission is hacking, and elytra
flight can trip the same check. In server.properties that option is
allow-flight.
Enable it from Game Settings
Open Settings → Game Settings
Open your server in the dashboard and go to Settings → Game Settings.
Turn on Allow Flight
Search for allow f, then set Allow Flight to Enabled.
Restart the server
Restart the server from Overview so the change takes effect.

Enable it in server.properties
Use this on a self-hosted server, or if you prefer Files over Game Settings.
Open server.properties
Open server.properties in your host's file manager, or the server folder directly if
you're self-hosting. On berrybyte that's Files.
Set allow-flight to true
Find allow-flight and set it to true.
Save the file
Save your changes.
Restart the server
Restart the server from Overview for the change to take effect.

Enabling this removes one anti-cheat safeguard. If regular fly-hacking is a concern beyond elytra use, pair it with an anti-cheat or permissions plugin.
For more on managing your server day to day, see the Minecraft hub. Still stuck after restarting? Open a support ticket from the dashboard.
Frequently asked questions
Why does Minecraft kick me for flying when I'm not using cheats?
Vanilla anti-cheat flags sustained upward movement, including legitimate elytra flight, whenever Allow Flight is off. It can't always tell a real elytra from a hacked client.
Will enabling Allow Flight let players cheat with fly hacks?
It removes that specific anti-cheat check, so it becomes technically possible. Most survival servers accept the tradeoff since elytra flight needs it, and lean on plugins for further cheat protection if that's a concern.
Do I need to restart my server after changing Allow Flight?
Yes. The change applies on the next server start, not immediately.