FlyingAllowed
Flight toggling that's not Pay to Win! -> Only allow flying in trusted claims or WG regions.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
FlyingAllowed

* **BukkitOfUtils** * (Optional) **A supported claim plugin**. * (Optional) **WorldGuard**.

Please join the Streamline Hub Discord in order to get updates and for me to fully assist you with bugs, questions, or suggestions.
Discord: **click here**

Simple flight toggling for servers that want to provide fly permissions in a non Pay to Win fashion.
How is it not Pay to Win?
This plugin allows players to fly only inside their teams' claims or specific WorldGuard regions.
How do I set this up?
Flyable Region - When we say Flyable Region, we mean claims that the player either Flyable Region or Flyable Region `Claim Extents` Flyable Region. - When we say Flyable Region, we mean WorldGuard `regions` that the player either Flyable Region or if the region Flyable Region `flyingallowed-allow-flight` Flyable Region (toggle with `/rg flags <worldguard-region-name>`). - `Claim Extents` are defined in the plugin's `config.yml`, but typically do not need to be changed. - If a player moves outside of an Flyable Region or Flyable Region, they will be put safely on the ground and their fly toggled to off. Perfect for non-pay-to-win servers!
Notes - Install the plugin! -> Don't forget to also install Notes (works on Folia too)! - Give the rank you want to have fly permissions these FlyingAllowed permssions: - `flyingallowed.in.claims` - Allows the player to not have their flight toggled off inside of Notes (see "Notes" above). - (Notes) `flyingallowed.lands.toggle-on` - Allows the player to automatically have their flight toggled on when entering an Notes or Notes (see "Notes" above). - `flyingallowed.command.fly` - Allows the player to toggle their flight via the command `/fly`.
Notes - Install the plugin! -> Don't forget to also install Notes (works on Folia too)! - Give the rank you want to have fly permissions these FlyingAllowed permssions: - `flyingallowed.in.regions` - Allows the player to not have their flight toggled off inside of Notes (see "Notes" above). - (Notes) `flyingallowed.lands.toggle-on` - Allows the player to automatically have their flight toggled on when entering an Notes or Notes (see "Notes" above). - `flyingallowed.command.fly` - Allows the player to toggle their flight via the command `/fly`.
Enjoy!

Commands
* `/fly` * Toggles your flight on or off. * `/fly-bypass` * Toggles bypassing auto-flight-toggling checks. * `/set-fly <true|false>` * Sets your flight to enabled or disabled depending on what you put into the arguments. * `/fly <player>` * Toggle the flight of another player. * `/fly-bypass <player>` * Toggle bypassing auto-flight-toggling checks for another player. * `/set-fly <true|false> <player>` * Set the flight status of `<player>` to `true` or `false`.
Permissions
Commands' Permissions
- `flyingallowed.command.fly` * Allows players to toggle their flight. - `flyingallowed.command.set-fly` * Allows players to set their flight to on or off. - `flyingallowed.command.fly-bypass` * Allows players to set if they are bypassing auto flight toggling.
Function Permissions
Bypassing
*Note: These are all changeable in the* `config.yml`. - `flyingallowed.bypass.soft` * Allows players to bypass flight toggling by using the `/fly-bypass` command. - `flyingallowed.bypass.toggle-off` * Allows players to bypass all auto toggling when the toggling will toggle their flight off. - `flyingallowed.bypass.toggle-on` * Allows players to bypass all auto toggling when the toggling will toggle their flight on.
Flyable Region and Flyable Region
*Note: These are all changeable in the* `config.yml`. - `flyingallowed.in.claims` * Allows players to not have their flight toggled off in Flyable Region. - `flyingallowed.in.regions` * Allows players to not have their flight toggled off in Flyable Region. - `flyingallowed.lands.toggle-on` * Allows players to have their flight automatically toggled on when entering an Flyable Region or Flyable Region (see above for what each of these are).

Well, if the above doesn't entice you, this plugin does also offer completely asynchronous method calls and a very small file download (thanks to **BukkitOfUtils**!). This will ensure your server will be running with great performance.

1. Download and install BukkitOfUtils. Found here: BukkitOfUtils 2. Download the correct version of this plugin for your server version. 3. Place in your `plugins` folder. 4. Stop server. 5. Start server. 6. Use to your liking.

How to toggle your flight
1. Install plugin. (Shown above.) 2. `/fly`
Current Plugin Hooks
If you want me to hook into a plugin you know of, reach out to me on Discord or open an issue on the GitHub! * Lands. * Supports: * `FLY` extent (land permission) inside players' lands. * If player is owner or member of land. * Does not support: * ??? - Have an issue? Report it! My Discord Server * KingdomsX. * Supports: * If player is owner or member of kingdom's land. * Does not support: * If player is owner or member of nation's land. -> To be added at a later date! * ??? - Have an issue? Report it! My Discord Server * GriefPrevention. * Supports: * If player is owner or member of claim. * If player has a specific claim extent defined in `config.yml`. * Does not support: * ??? - Have an issue? Report it! My Discord Server * SuperiorSkyblock2. * Supports: * If player is owner or member of island. * Does not support: * ??? - Have an issue? Report it! My Discord Server * ProtectionStones. * Supports: * If player is owner or member of claim. * Does not support: * ??? - Have an issue? Report it! My Discord Server * HuskClaims. * Supports: * If player is owner or member of claim. * If player has a specific claim extent defined in `config.yml`. * Does not support: * ??? - Have an issue? Report it! My Discord Server * WorldGuard (regions). * Supports: * If player is owner or member of a region. * Specific Info: * Adds a region flag `flyingallowed-allow-flight` for your use with WorldGuard regions. * Player will still need the `flyingallowed.in.regions` permission to fly in regions. * Does not support: * ??? - Have an issue? Report it! My Discord Server
Anything else?
*Actually... there is...* The plugin also has a blacklist or whitelist for worlds: * If the world configuration is set to blacklist, then the plugin will be disabled in said worlds. * If the world configuration is set to whitelist, then the plugin will be enabled only in said worlds.