Finally, you can allow towny residents to fly while in their own towns, for free, from the lead developer of Towny.
Players that are flying and make a PVP combat attack will have their attack cancelled and their flight taken away. Players that are in creative and make attacks will be allowed to continue flying, but will have their pvp attack canceled.
Players that have their flight taken away will fall harmlessly to the ground.
If you like this plugin or Towny consider becoming a Sponsor
Commands:
- /tfly - Enable/disable flight.
- /tfly reload - Reload the config.
- /tfly {name} - Removes flight from someone.
- /tfly town {townname} toggleflight - Enables free flight in a town (use this on your Spawn city if you want everyone to be able to fly there.)
Permission nodes:
- townyflight.command.tfly - required to use /tfly.
- townyflight.command.tfly.reload - required to use /tfly reload.
- townyflight.command.tfly.town - required to use /tfly town {townname} toggleflight.
- townyflight.command.tfly.other - required to use /tfly {name}.
- townyflight.alliedtowns - allows players to use /tfly in towns which consider that player an ally.
- townyflight.nationtowns - allows players to use /tfly in towns which are part of the player's nation.
- townyflight.alltowns - allows players to use /tfly in any town, but not the wilderness.
- townyflight.trustedtowns - allows players to use /tfly in towns which they are trusted.
- townyflight.bypass - default to Ops, bypasses removal of flight, use /tfly anywhere.
Config:
Config auto-updates with new features while keeping your old settings intact (like Towny.)
Includes all language strings in case translation is required.
options.auto_Enable_Flight
default: false
If set to true, players entering their town will have flight auto-enabled.
When set to true, the plugin will use slightly more resources due to the EnterTown listener.
options.auto_Enable_Silent
default: false
If set to true, players entering their town will have flight auto-enabled without being notified in chat
options.disable_During_Wartime
default: true
If set to false, players can still fly in their town while war is active.
options.disable_Combat_Prevention
default: false
If set to false, TownyFlight will not prevent combat from player who fly or take their flight away.
options.show_Permission_After_No_Permission_Message
default: true
If set to false, the language.noPermission message will not display the permission node.
options.flight_Disable_Timer
default: 3
Number of seconds after leaving an allowed flight area before flight is taken away. Set to 0 to take flight away immediately.
PAPI Placeholders:
- %townyflight_can_player_fly% - Displays true or false, based on whether the player could fly at their current location.
I'm open to new features and willing to fix any bugs found. If you use the plugin and enjoy it leave a nice review.
Information
Category | Gameplay |
---|---|
Published on | April 23, 2023 |
License | CC BY-NC-ND 3.0 |
Downloads | 125 |
Stars | 7 |
Watchers | 3 |