TownyFlight icon

TownyFlight -----

Towny-enabled Flight




  • Add support for Minimessage formats by @LlmDl in #88

Future updates for this plugin will likely be appearing here, rather than on spigotmc.org. Stay tuned!
----------, Nov 12, 2024

What's Changed
  • Add tempflight allowed areas to config. by @LlmDl in #84
----------, Jul 6, 2024

  • Fix flight not being taken from player who quit being residents of a town, closes #77.
----------, Apr 20, 2024

* Adds tempflight command. by @LlmDl in https://github.com/TownyAdvanced/TownyFlight/pull/75

- New Feature: tempflight
- tempflight is given to players who will be able to fly for a specific amount of time, without having the `townyflight.command.tfly` permission node that is normally required for flight.
- Temporarily flying players will use up their flight seconds while they are flying and not while they are properly grounded.
- Temporarily flying players will only be able to use their flight powers in areas that TownyFlight would normally allow a player to fly in.

- New PAPI Placeholders:
- `%townyflight_temp_flight_seconds_remaining%` - Shows a formatted flight time remaining, ie: 30 seconds, or 5 minutes 2 seconds.
- %townyflight_temp_flight_seconds_remaining_raw% - Shows the number of seconds of flight time remaining with no formatting, ie: 30, or 302.

- New commands:
- /t fly tempflight [playername] 1000 - Gives a number of seconds of flight to a player.
- /t fly tempflight [playername] [30s | 30m | 1h | 2d] - Gives an amount of seconds of flight to a player, in an easier to input format.
- /t fly tempflight [playername] [remove] - Removes temp flight seconds from a player.

- New permission node:
- townyflight.command.tfly.tempflight: User is able to grant tempflight to players.
- default: op
----------, Feb 15, 2024

----------, May 9, 2023

a valid message
----------, Mar 19, 2023

What's Changed
  • Improve SiegeWar support to handle allies/trusted residents better. by @LlmDl in #70
  • Update Min. Towny version to 0.98.6.0, update pom dependencies. by @LlmDl in #71

If you use this plugin you should probably be sponsoring LlmDl.
----------, Feb 12, 2023

  • Adapt to use un-deprecated events. by @LlmDl in #69
----------, Jan 6, 2023

What's Changed
  • Add %townyflight_can_player_fly% placeholder. by @LlmDl in #68
----------, Nov 4, 2022

  • Logout listener
  • New Permission Nodes: townyflight.trustedtowns
    • Allows players to fly in towns in which they are trusted.
    • Closes #65
  • Bump min. Towny version to 0.98.30

If you're a fan of my works, make sure you consider sponsoring it! The number of Sponsor Plugins has risen to 6!
----------, Sep 5, 2022

Limit Siege-participation denying flight to only IN_PROGRESS sieges.
  • Fixes flight being denied to players which are in a post-siege cooldown phase from not being able to fly.
----------, Feb 17, 2022

A nice update brought to you by a first time contributor! Go to Github and check it out.
----------, Feb 3, 2022

  • Adopts Towny's CommentedConfiguration, enabling support for MC 1.18.1 builds that have Spigot's new config code.
----------, Jan 4, 2022

What's Changed
  • Adds /tfly town [townname] toggleflight by @LlmDl in #57
  • Bumps min. Towny version to 0.97.5.0.
  • Fixes missing node message only showing the reload node.
  • Add proper tab completion to the commands.
  • Add permission-aware /tfly ? command.
Full Changelog: 1.8.0...1.8.1
----------, Dec 8, 2021

  • Major refactor of entire codebase courtesy of @LlmDl with PR #56
  • Dropped BetterTownyWars support.
  • Support for Towny 0.97.3.0+.
  • New Permission Node: townyflight.nationtowns
    • Grants the ability to fly only in Towns which are in your Nation.
    • Closes #47.
----------, Nov 20, 2021

  • Add SiegeWar to types of war which disables flight.
    • Towns with active sieges will prevent their residents from taking
      flight.
  • Fix unclaim-doesn't-take flight bug.
----------, Jul 14, 2021

Update to Towny API change.

Don't use unless you're on Towny 0.96.7.4 or newer.
----------, Apr 7, 2021

  • New Command /tfly {name} (now usable from in game.)
  • New Permission Node: townyflight.command.tfly.other
    • Defaults to OPs.
  • Fix Teleport listener being able to trigger some anticheat plugin when
    flight is removed.
  • Fix for players not losing their flight when a plot is unclaimed.
----------, Feb 2, 2021

  • Adjust minimum Towny version to 0.96.5.5
    • Seriously, make sure you have at least Towny 0.96.5.5 or newer!
  • Fix Deprecation warning.
  • Fix being able to unclaim land and keep flight.
  • Fix some teleport commands bypassing flight removal.
  • Prevent PVPListener from removing flight when the attacker is vanished.
----------, Dec 17, 2020

  • Update to be compatible with changes to Version code in Towny.
  • Minimum Towny version now 0.96.2.17.
----------, Sep 11, 2020

Don't try to use this on anything less than Towny 0.96.2.5 or newer.
----------, Jul 20, 2020

  • Adds methods to add and remove flight, making deactivation of flight much more reliable.
----------, Jun 3, 2020

  • Disable Towny version checker.
  • New Config Option: flight_Disable_Timer
    • Default: 3
    • Number of seconds after leaving an allowed-flight area before flight
      is removed, giving players a chance to re-enter their town.
    • Closes #22
    • Also handles moving between two allied towns.
    • Closes #30
  • Fix taking flight off of people in Spectator/Creative gamemodes.
----------, May 21, 2020

  • Add support for UTF-8 characters in config.yml
  • Bump Towny version number for API purposes to 0.96.0.0.
If you enjoy this plugin please take a moment to rate it 5 stars.
----------, Mar 25, 2020

  • Add support for colour codes in all messaging.
    • Closes #26.
    • Language strings in existing configs will need to have their strings surrounded by ' '.
    • New configs will generate with ' ' surrounding language strings by default.
  • Update bukkit api to 1.15.2.
If you enjoy this plugin please take a moment to rate it 5 stars.
----------, Mar 16, 2020

  • Fix for players who are in Creative or Spectator mode losing their flight on join.
  • Fix for config not updating latest run version.
----------, Jan 30, 2020

Stop removal of flight on players who are in spectator or creative
game mode.
----------, Jan 22, 2020

Fix cannot cast error from 1.5.3
----------, Jan 19, 2020

Solves issue where players' fall damage was not being reliably stopped on 1.15.* servers.
----------, Jan 18, 2020

Minor change to command returns, pointed out by Arkobat.

Use with Towny "0.95.0.0" or "0.95.0.0 for 1.13.2"
----------, Oct 23, 2019

This build has had the Api-version set back to 1.13. This build is mainly for 1.13 servers and REQUIRES the use of "Towny 0.95.0.0 for 1.13.2".

If you are using MC 1.14 just stick with the last version, 1.5.0
----------, Oct 16, 2019

This build has had the Api-version set back to 1.13. This build is mainly for 1.13 servers and REQUIRES the use of "Towny 0.95.0.0 for 1.13.2".

If you are using MC 1.14 just stick with the last version, 1.5.0
----------, Oct 16, 2019

- for use with Towny 0.94.0.2+ only. Requires MC 1.14.*
- description: Allows players to use /townyflight in any town. Wilderness is still disallowed.
- default: op
----------, Oct 5, 2019

This is the first Legacy release. It supports the older Towny API.

If you run anything newer than 0.92.0.0 this will work.

If you run 0.94.0.2 or newer you should probably stick with the non-Legacy releases.
----------, Jul 29, 2019

Added support for blocking flight by players who are involved in wars made using the WarsForTowny plugin. Existing disableDuringWar setting covers both Towny wars and WarsForTowny wars.
----------, Jul 22, 2019

  • Adds configurable language string for when flight is removed via the console.
  • Moved some code around.
  • Beefed up the plugin.yml to show usages in the /help pages.
----------, Jul 16, 2019

  • - Added: '/tfly {name}'
    • - Used only via the console to remove flight from someone with flight.
  • - Added: '/tfly reload' usable via the console now.
  • - Fixed: alliedtowns feature probably not working.
  • - Fixed: automatic re-activation of flight upon player log-in.
  • - Fixed: added missing api-version from the plugin.yml.
----------, Jul 16, 2019

Townyflight was showing the reload permission node when it ought to have been showing the flight permission node.
----------, Jul 15, 2019

When players enter a town where flight would be auto enabled, but they lack the permission node to do so, we were still showing the node in the error message (even though the setting in the config should have it hidden.)

Bug found by EnderGamingFilms
----------, Jun 13, 2019

- Adds townyflight.alliedtowns node, which when given lets players use
/townyflight in towns which are allied to their own.
- Adds config option: show_Permission_After_No_Permission_Message
- If set to false, the language.noPermission message will not
display the permission node
- courtesy of diamondwelsh.​
- Fix for players with townyflight.bypass permission node losing
flight when entering into towns.
- courtesy of diamondwelsh.​
----------, May 15, 2019

Fixes a possible NotRegisteredException when a player joins the server for the first time. Thanks to Tree for spotting this.
----------, Jan 22, 2019

New config option:
- disable_Combat_Prevention:
- default: false
- When set to true, TownyFlight will not cancel flying player's combat or flight.
----------, Aug 3, 2018

- Fix: PVP Listener not using Towny's CombatUtil correctly.

- Fix: Creative players who initiate PVP combat will have their combat canceled silently and not have their flight removed.
----------, Jan 12, 2018

Forgot to include arrows fired by players in the PVP listener.

Added /townyflight, /townyfly as aliases for /tfly.
----------, Jan 8, 2018

Forgot to include arrows fired by players in the PVP listener.

Added /townyflight, /townyfly as aliases for /tfly.
----------, Jan 8, 2018

New config language string:
- flightDeactivatedPVPMsg: shown when players enter combat while flying.

New:
- On join players who were in their own town and were flying when they logged off will a) have flying reactivated if auto-enable is true, or b) fall to the ground harmlessly.
- Players who are flying and enter into combat will have their attack canceled and their flight revoked.
- Servers with auto-enable set to true will find the plugins less spammy, with most messages showing only when the command to activate flight is manually used.
----------, Jan 4, 2018

Players inside of an unclaimed townblock will now have their flight taken from them (unless they have the townyflight.bypass permission node.)

No update to Towny is required.
----------, Jan 4, 2018

Fix up a bug where players who have auto-enabled flight can sometimes get flight activated when crossing into another town to which they do not belong.
----------, Dec 30, 2017

New permission node:

townyflight.bypass
- default: op
- disables removal of flight when leaving your town.
- enables the ability to use /tfly where you may be.
----------, Dec 11, 2017

- Fix for permission node not being respected when players are entering town and auto-enable flight is active.

- Made auto-enabling flight slightly lighter on the server.
----------, Dec 10, 2017

Fix: Asynchronous player tracker update! errors.
----------, Dec 10, 2017

I know I promised the config would auto-update but just this once you have to delete the config.yml and let it regenerate.

New Config Option:
  • disable_during_war:
    • default: true
    • If set to false, players can still fly in their town while war is active.
    • This prevents players starting to fly while the Towny war event is active. Until I add a war start event to Towny I cannot disable people already flying. This will happen eventually.
----------, Dec 8, 2017

New Config options:
  • noPermission: 'You do not have permission for this command, missing: '
    • Message displayed when permission isn't held by player.
  • 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.
----------, Dec 8, 2017

invalid plugin.yml fix
----------, Dec 8, 2017

include permissions in the plugin.yml
----------, Dec 4, 2017

Resource Information
Author:
----------
Total Downloads: 7,196
First Release: Dec 4, 2017
Last Update: Nov 12, 2024
Category: ---------------
All-Time Rating:
23 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings