Giter VIP home page Giter VIP logo

townyflight's Introduction

TownyAdvanced

Plugins

In addition to Towny, TownyAdvanced also provides these supplemental plugins:

  • TownyChat

    Chat plugin providing several channels for Towny servers. Works with some 3rd Party chat plugins.
    GitHub Releases

  • TownyFlight

    A flight plugin for Towny servers.
    GitHub Releases

  • TownyNameUpdater (Legacy Plugin)

    UUID Pseudo-Awareness for Towny. Practically required for servers in 'Online Mode'. Not required for modern Towny releases.
    GitHub Releases

  • FlagWar

    A fast-paced war system where players use fences to fight over individual chunks. Originally called CellWar prior to its inclusion into Towny circa 2011, and spun back out in 2021.
    GitHub Releases

  • SiegeWar

    A newer long-term war system where players lay siege to towns for extended periods of time, designed and maintained by @Goosius1.
    GitHub Releases

Licenses

All TownyAdvanced plugins have been released under the Creative Commons Attribition-NonComercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0) license
(Full License), except for FlagWar which has been released under the Apache License Ver.2.

Under the primary license, you are free to share and redistribute under any medium or format, under the following terms:

  • You must give appropriate credit, provide a link to the license, and indicate if changes were made.
    This may be done in any reasonable manner, so long that it does not suggest we endorse you or your use.
  • You may not use these plugins for a commercial purpose.
    This means, you cannot sell access of these plugins features to your end users, or lock them behind a paywall.
  • If you remix, transform, or build upon any of these plugins, you are not permitted to distribute the modified material.
    Public forks are encouraged to create pull requests so that the greater TownyAdvanced community can benefit.

Please see article 5 and article 6 of the full license regarding warranties and liabilities.

townyflight's People

Contributors

llmdl avatar seggan avatar warriorrrr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

townyflight's Issues

Config.yml Toggles Don't work.

What is the issue that you see?

Config.yml Toggles Don't work.

What steps can be done to repeat the issue on a test server?

  1. install latest version

What is supposed to happen instead?

  1. disable the permission note in the error message
  2. hide the auto enable/disable message

Versions/Files

Towny Version (use '/towny v' in game) : 0.93.0.0
TownyFlight Version : 1.2.5
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/sqj7K20d

Flight not disabled when unclaiming chunks

What is the issue that you see?

Flight not disabled when unclaiming chunks, user is able to fly in the wilderness until he lands or re-enters a claimed chunk.

What steps can be done to repeat the issue on a test server?

  1. Stand in one of your claims. Use /tfly
  2. Unclaim the chunk.
  3. Fly around anywhere in the wilderness

What is supposed to happen instead?

  1. Stand in one of your claims. Use /tfly
  2. Unclaim the chunk.
  3. TownyFlight is disabled when the chunk you are standing in is unclaimed

Versions/Files

Towny Version (use '/towny v' in game) : 0.95.2.16
TownyFlight Version : 1.5.6
Link to pastebin.com with full server startup from the latest.log : Irrelevant, no errors
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/eLS4Bj6R

Flight auto-enable / disable dysfunctional

What is the issue that you see?

Flight activation / deactivation dysfunctional.

What steps can be done to repeat the issue on a test server?

  1. Enter town - receive flight activation.
  2. Exit town (wilderness) - flight is not deactivated.
  3. Enter town - flight deactivated.
  4. Exit town. - flight remains deactivated.
  5. Re-enter town - flight activated again.

What is supposed to happen instead?

  1. Enter town - flight activated.
  2. Exit town - flight deactivated.

Versions/Files

Towny Version (use '/towny v' in game) : 0.93.0.0
TownyFlight Version : 1,2,3
Link to pastebin.com with full server startup from the latest.log : https://paste.ubuntu.com/p/qvffqVc2KN/
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/sPJhc00t

Taking Fall Damage When Flying Outside of Claims

What is the issue that you see?

Players who fly outside of their claims have their flight automatically disabled. When they fall outside of their claim, they are taking fall damage.

What steps can be done to repeat the issue on a test server?

  1. Claim an area.
  2. Turn on tfly for yourself, making sure that tfly is disabled when leaving claims.
  3. Fly outside of your claim from a good enough height.
  4. Take fall damage.

https://gyazo.com/5c8da222ceaf4e1172c682e1eaae90e4
Video of Issue

What is supposed to happen instead?

Flight outside of claims and having it automatically disabled should grant you at least temporary immunity to fall damage.

Versions/Files

Towny Version (use '/towny v' in game) : 0.95.2.2
TownyFlight Version : 1.5.2
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/1J6PaL0r
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/6NXrhgbs

Fly anywhere by unclaiming chunk

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. Give yourself fly in a claim with /tfly
  2. do /t unclaim to unclaim the chunk
  3. You can now fly anywhere without it being removed unless you re-enter the claim

What is supposed to happen instead?

  1. Not able to fly outside of your own claims

Versions/Files

Towny Version (use '/towny v' in game) : 0.97.0.0
TownyFlight Version : 1.6.7
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/Q46H63kP
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/8iHVU5st

Testing transferring of tickets to Org.

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

What is supposed to happen instead?

Versions/Files

Towny Version (use '/towny v' in game) :
TownyFlight Version :
Link to pastebin.com with full server startup from the latest.log :
Link to pastebin.com with TownyFlight config.yml :

TownyFlight Repeats the /tfly after leaving your town if the config is reloaded

What is the issue that you see?

After reloading the config for TownyFlight the function that disabled the /tfly command runs multiple times equal to the number of reloads + 1. i.e. reload config once and flight is disabled and then enabled when a player leaves their town

What steps can be done to repeat the issue on a test server?

  1. Reload the config
  2. enable /tfly in your town
  3. Leave your town then return
  4. /tfly will disable then re-enable automatically

What is supposed to happen instead?

  1. Player enables /tfly
  2. Player leaves town and /tfly is disabled without it being re-enabled automatically

Versions/Files

Towny Version (use '/towny v' in game) :
TownyFlight Version : 1.6.0
Towny Version: 0.96.1.11
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/CA53Rsbt
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/fZJ7pNf5

Deprecated Event WARN

What is the issue that you see?

WARN "TownyFlight v1.6.3" has registered a listener for com.palmergames.bukkit.towny.event.TownUnclaimEvent on method "private void com.gmail.llmdlio.townyflight.listeners.TownUnclaimListener.TownUnclaimEvent(com.palmergames.bukkit.towny.event.TownUnclaimEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [LlmDl].

What steps can be done to repeat the issue on a test server?

1.Start Server

Versions/Files

Towny Version (use '/towny v' in game) : 96.5.6
TownyFlight Version : 1.6.3

Could not pass event EntityDamageEvent to TownyFlight v1.5.3

What is the issue that you see?

Constant errors in console

What steps can be done to repeat the issue on a test server?

  1. Start the server
  2. Be near a mob? Not sure, its pretty constant

What is supposed to happen instead?

  1. No errors

Versions/Files

Towny Version (use '/towny v' in game) :
TownyFlight Version : 0.95.2.10
Link to pastebin.com with full server startup from the latest.log : https://gist.github.com/introvertism/1be7e54377351fb8e6206b6e6187481e
Link to pastebin.com with TownyFlight config.yml : https://gist.github.com/introvertism/8f8fe6f82f6612f501906c80ff492334

Switched back to 1.5.2 so thats why the config shows that, but i havent edited it at all.

(v1.5.5) TownyFlight removes creative fly on login

What is the issue that you see?

If you log out while in creative mode and in a town and then log back in, fly is automatically disabled instead of enabled.

What steps can be done to repeat the issue on a test server?

  1. Enter creative mode
  2. Log out
  3. Log in

What is supposed to happen instead?

  1. Fly should be enabled, or left as-is.

Versions/Files

Towny Version (use '/towny v' in game) : 0.95.2.12
TownyFlight Version : 1.5.5
Link to pastebin.com with full server startup from the latest.log : I read it; there's nothing interesting in it.
Link to pastebin.com with TownyFlight config.yml : auto_Enable_Flight: true

Unlimited fly after unclaiming edge territories

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. Use /tfly in your own territory and fly to the edge of your territory.
  2. Unclaim one or some of your edge territories.
  3. The fly will not be disabled and then you can teleport to somewhere else in the map using /spawn or /warp and you will notice the unlimited fly in the unclaimed territory (wilderness).

What is supposed to happen instead?

  1. When the territory is unclaimed, the fly should be disabled.
  2. The tfly should not work in wilderness.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.5.13
TownyFlight Version: 1.6.4
Link to pastebin.com with TownyFlight config.yml : using the default config

plugin does not work

What is the issue that you see?

/tfly does not let someone fly, even an operator. Just says temporary fly mode is not enabled for player.
for non opped players who have the permission townyflight.command.tfly are told that they do not have permission to use that command

What steps can be done to repeat the issue on a test server?

  1. install plugin
  2. /tfly as an opped player

What is supposed to happen instead?

  1. player is supposed to fly in their town

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.7.15
TownyFlight Version : 1.6.7
Link to pastebin.com with full server startup from the latest.log :
Link to pastebin.com with TownyFlight config.yml :

Fly not disabled on /t unclaim

What is the issue that you see?

If you have /tfly on and unclaim the land you're in your flight isn't disabled and you're able to fly around in the wilderness until you re-enter and then leave town land.

What steps can be done to repeat the issue on a test server?

  1. Claim a town and some chunks
  2. Toggle your /tfly on
  3. Unclaim the land you're on.

What is supposed to happen instead?

/tfly should toggle off if the land you're on is unclaimed, same as when you leave your town land.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.2.19
TownyFlight Version : 1.6.3
Link to pastebin.com with full server startup from the latest.log : https://hastebin.com/epoyiyosab.sql
Link to pastebin.com with TownyFlight config.yml : https://hastebin.com/gesedodeju.yaml

Plugin Disabled On Startup

What is the issue that you see?

TownyFlight is disabled at startup. I'm not sure how to fix this error. (See pastebin) It's a class not found error.

Versions/Files

Towny Version (use '/towny v' in game): 0.96.2.0
TownyFlight Version: 1.6.2
Link to pastebin.com with full server startup from the latest.log :
https://pastebin.com/hf4uMbuv
Link to pastebin.com with TownyFlight config.yml :
https://pastebin.com/Xszc6MQy

Players are able to fly in the wild if they unclaim while using tfly

What is the issue that you see?

A player can keep their fly ability if they unclaim a border chunk while flying on it with the permission tfly.owntown. They won't loss fly in the wild until they return to a plot claimed by their town.

What steps can be done to repeat the issue on a test server?

  1. Have tfly on your own town.
  2. Go to a border chunk while flying.
  3. Unclaim the chunk and fly straight to the wild.
  4. profit

What is supposed to happen instead?

  1. Player unclaims chunk.
  2. They lose flight and fall to the ground.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.7.0
TownyFlight Version : TownyFlight-1.6.5
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/CKMLQ7VL
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/5ByaTVsb

TownyFlight auto activates when changing worlds

What is the issue that you see?

If you are in your town with towny flight toggled on and then switch worlds, flight activates again in the world you have just connected to, despite there not being a town there. Was not an issue in 1.5.8

What steps can be done to repeat the issue on a test server?

  1. Using Multiverse and Towny, create a town and toggle towny flight
  2. Teleport to another world
  3. You will now have flight enabled

What is supposed to happen instead?

  1. Towny flight should not be enabled, because the player has no town in the other world.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.1.11
TownyFlight Version : 1.6.0
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/cfL42ysY
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/EKkbMAyd

TFlight and Gamemode Spectator Bug

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. Gamemode Spectator
  2. Leave the town boundaries
  3. Disabled Fly (Still on gamemode spectator)

What is supposed to happen instead?

  1. Gamemode Spectator
  2. Leave the town boundaries
  3. They should be still in gamemode spectator and not disabling the fly. (This can be done by checking the player's gamemode first)

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.0.0
TownyFlight Version : 1.5.8
Link to pastebin.com with full server startup from the latest.log : -
Link to pastebin.com with TownyFlight config.yml : -

Showing reload permission node for no reason

What is the issue that you see?

Configuration option "options.show_Permission_After_No_Permission_Message" does not work.
Enabling this replaces the permission node to the reload node for some odd reason; does not remove nodes when no permission.

What steps can be done to repeat the issue on a test server?

  1. Use the townyflight command(to fly) without permission

What is supposed to happen instead?

  1. Simple say, "you do not have permission for this command"

Versions/Files

Towny Version (use '/towny v' in game) : 0.93.1.0 Pre Release 4
TownyFlight Version : 1.2.6

image

Command return false message

When using /tfly, the command is sent to the player (return false; in command handler)
It happens when the player

  • Doesn't have permission
  • Isn't in their own own

I've created a pull request with some small fixes :)
#16

TownFlight gets disabled when travelling between nation towns

What is the issue that you see?

TownFlight is getting disabled when flying through areas you have permission to fly in, it should stay enabled until you enter a non-allied town or the wilderness.

What steps can be done to repeat the issue on a test server?

  1. Place two towns next to each other.
  2. Create a nation
  3. Turn on /tfly, try to fly to the other town.
  4. Flight is disabled

What is supposed to happen instead?

  1. Place two towns next to each other.
  2. Create a nation
  3. Turn on /tfly, try to fly to the other town.
  4. Flight is still enabled

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.0.2
TownyFlight Version : 1.5.8
Link to pastebin.com with full server startup from the latest.log : Irrelevant, no errors.
Link to pastebin.com with TownyFlight config.yml : https://paste.gg/p/anonymous/7195a3b519014ead8cfaaf0c2ea865ea

Suggestions Temp Flight + Only inside own plot

I was thinking about letting some ranks fly permanently and others just few minutes, and then add a cooldown until they can fly again.

Also if you dont have some townyperms you cannot fly outside your house.

Disable permission name in noPerm msg

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

Install tonwy flight
Enable fly without permission

What is supposed to happen instead?

The perm shouldn't show (Or an option to disable it)

Versions/Files

Towny Version (use '/towny v' in game) : 0.93.0.0
TownyFlight Version : 1.2.3
Link to pastebin.com with full server startup from the latest.log : Not necessary, as it isn't a bug, but a suggestion.
Link to pastebin.com with TownyFlight config.yml : http://hatebin.com/hilvermwki

1.16.1 Loading Issue.

Plugin fails to load on Paper 1.16.1 with this error:

[TownyFlight] Enabling TownyFlight v1.6.2
[ERROR] Error occurred while enabling TownyFlight v1.6.2 (Is it up to date?)
[RAW] java.lang.NoClassDefFoundError: com/palmergames/bukkit/util/Version
[RAW] 	at com.gmail.llmdlio.townyflight.TownyFlight.townyVersionCheck(TownyFlight.java:98) ~[?:?]
[RAW] 	at com.gmail.llmdlio.townyflight.TownyFlight.onEnable(TownyFlight.java:85) ~[?:?]
[RAW] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:500) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:414) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:471) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:241) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:940) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at java.lang.Thread.run(Thread.java:834) [?:?]
[RAW] Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.util.Version
[RAW] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?]
[RAW] 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:171) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.16.1.jar:git-Paper-116]
[RAW] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
[RAW] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
[RAW] 	... 12 more
[TownyFlight] Disabling TownyFlight v1.6.2
[TownyFlight] TownyFlight Disabled.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.2.0
TownyFlight Version : 1.6.2
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/raw/P5UKLed5
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/raw/zvVJRp3w

Conflict between fly plugins

What is the issue that you see?

Conflict with other fly plugin, fly from other source than townyflight is threated as TownyFlight Fly while going outside of town boundaries. So "permanent fly" is disabled by townyflight but it won't cause it is expected to be independant from towns
Is there a way to identify difference between townyflight and other flight ?

What steps can be done to repeat the issue on a test server?

  1. Have a fly plugin (in this case essentialx). Activate flight inside town, (/fly)
  2. Go out of bound of town, fly disabled itself.

What is supposed to happen instead?

  1. Activating fly
  2. Going outside of town
  3. fly still be activated.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.7.11
TownyFlight Version : 1.6.7
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/Rf4aMKx3
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/NEL06uQD
Tested with EssentialX (2.18.2.0) and CMI (8.8.2.10)

Have a nice day, thank's for your support.

Feature Request: Fly in Vanish

What is the issue that you see?

I was hoping see if it was possible add this feature. to keep players flight enable no matter what if they are in vanish.

What steps can be done to repeat the issue on a test server?

  1. essentials /vanish
  2. hit player
  3. flight disabled

What is supposed to happen instead?

  1. essentials /vanish
  2. hit player
  3. keep flight

Flight in nether exploit

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. Create a nether portal in your town that you own.
  2. Activate tfly
  3. Go through nether, and you can fly anywhere.

(If you try to deactivate it after you enter the nether says "Cannot Activate TownyFlight")

What is supposed to happen instead?

  1. You can't fly in the nether because you don't own it.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.1.10
TownyFlight Version : 1.6.0
Link to pastebin.com with full server startup from the latest.log : Startup is fine.
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/k0EKHdMH

TownyFlight Not Working Properly

What is the issue that you see?

TownyFlight doesn't activate and deactivate at the correct times. It doesn't register when you leave town, but it does when you enter town. So if I leave town it stays active, then I go back to town and it deactivates, then it stays deactivated when I leave, and turns on when I come back.

What steps can be done to repeat the issue on a test server?

  1. Create a towny town.
  2. Set TownyFlight to auto-enable when entering town.
  3. Fly in and out of town to see it activate and deactivate at the wrong times

What is supposed to happen instead?

  1. It's supposed to activate when you enter town and deactivate when you leave town.

Versions/Files

Towny Version (use '/towny v' in game) : 0.92.0.0 (for MC 1.8.5)
TownyFlight Version : 1.2.2
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/WjDNkmGk
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/j7yXNWDy

Recommendation: Make people pay currency for fly

What is the issue that you see?

Make people be able to buy flight time and have a placeholder for the countdown

What steps can be done to repeat the issue on a test server?

What is supposed to happen instead?

Versions/Files

Towny Version (use '/towny v' in game) :
TownyFlight Version :
Link to pastebin.com with full server startup from the latest.log :
Link to pastebin.com with TownyFlight config.yml :

Suggestion Ability to grant specials town townyflight for every players.

Suggestion

Ability to give special towns (like NPC Towns) to have Townyflight.
For example, Players can have Townyflight inside spawn town without the need to be a resident or ally of spawn town.
If i'm not clear i'm at your service to explain this suggestion.

Have a nice day, thank's or your support !

Flight enabled in other towns after using /spawn

What is the issue that you see?

If people are in their town with flight enabled, and then they do /spawn, then they /tp to someone who's in another town, towny flight stays on and they can fly in other towns.

This ONLY works if you first do /spawn. If you just enable fly in your town, and then /tp to someone who's in another town, towny flight will disable.

What steps can be done to repeat the issue on a test server?

  1. Create two towns
  2. Go to your town and enable flight /tfly
  3. Go to the server spawn /spawn
  4. Teleport to another player who's in another town
  5. You'll now be able to fly in their town

What is supposed to happen instead?

  1. Enable flight in your town
  2. Go to server spawn with /spawn
  3. Teleport to another player who's in their town
  4. Don't have flight enabled in their town

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.1.11
TownyFlight Version : 1.6.1
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/7xsrLKKD
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/v9NKyQ7p

Disabling TownyFlight v1.8.1

Paper-132 (MC: 1.18.1)
Towny v0.97.5.8


[TownyFlight] Enabling TownyFlight v1.8.1
[15:00:33] [Server thread/ERROR]: Error occurred while enabling TownyFlight v1.8.1 (Is it up to date?)
java.lang.IllegalStateException: Queue full
	at java.util.AbstractQueue.add(AbstractQueue.java:98) ~[?:?]
	at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:329) ~[?:?]
	at org.yaml.snakeyaml.emitter.Emitter.emit(Emitter.java:252) ~[snakeyaml-1.30.jar:?]
	at org.yaml.snakeyaml.serializer.Serializer.serializeComments(Serializer.java:224) ~[snakeyaml-1.30.jar:?]
	at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:168) ~[snakeyaml-1.30.jar:?]
	at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:206) ~[snakeyaml-1.30.jar:?]
	at org.yaml.snakeyaml.serializer.Serializer.serialize(Serializer.java:115) ~[snakeyaml-1.30.jar:?]
	at org.yaml.snakeyaml.Yaml.serialize(Yaml.java:366) ~[snakeyaml-1.30.jar:?]
	at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:89) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at com.gmail.llmdlio.townyflight.config.CommentedYamlConfiguration.save(CommentedYamlConfiguration.java:43) ~[TownyFlight-1.8.1.jar:?]
	at com.gmail.llmdlio.townyflight.config.TownyFlightConfig.loadConfig(TownyFlightConfig.java:107) ~[TownyFlight-1.8.1.jar:?]
	at com.gmail.llmdlio.townyflight.config.TownyFlightConfig.reload(TownyFlightConfig.java:18) ~[TownyFlight-1.8.1.jar:?]
	at com.gmail.llmdlio.townyflight.TownyFlight.loadConfig(TownyFlight.java:74) ~[TownyFlight-1.8.1.jar:?]
	at com.gmail.llmdlio.townyflight.TownyFlight.loadSettings(TownyFlight.java:68) ~[TownyFlight-1.8.1.jar:?]
	at com.gmail.llmdlio.townyflight.TownyFlight.onEnable(TownyFlight.java:32) ~[TownyFlight-1.8.1.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:564) ~[paper-1.18.1.jar:git-Paper-132]
	at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:478) ~[paper-1.18.1.jar:git-Paper-132]
	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:727) ~[paper-1.18.1.jar:git-Paper-132]
	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:503) ~[paper-1.18.1.jar:git-Paper-132]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:313) ~[paper-1.18.1.jar:git-Paper-132]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1202) ~[paper-1.18.1.jar:git-Paper-132]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-132]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[15:00:33] [Server thread/INFO]: [TownyFlight] Disabling TownyFlight v1.8.1

after reboot, just stopped working. repeated reboot did not give the result

Bug: Double-Quoted Strings get reduced to Single-Quoted Strings in Config

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. Install Towny and TownyFlight.
  2. Set pluginPrefix: "&3Towny &7\u00bb &f"
  3. Reload the plugin or restart the server.
  4. Notice the new prefix, displaying the unicode right-pointing double angle quotation mark in the prefix.
  5. pluginPrefix will turn into pluginPrefix: '&3Towny &7� &f' in the config, with � being the replacement (0xFFFD) character.
  6. Reload the plugin or restart the server again.
  7. Notice the new prefix, displaying the unicode replacement character.

What is supposed to happen instead?

  1. pluginPrefix should remain double-quoted and display unicode characters.

Versions/Files

Towny Version (use '/towny v' in game): 0.96.0.1
TownyFlight Version: 1.5.7
Link to TownyFlight config.yml (errored): https://pastebin.com/4j9SFNmY
Link to TownyFlight config.yml (ideal): https://pastebin.com/sii2Sw9w

/tfly does not deactivate when you fly out of bounds of your town

What is the issue that you see?

/tfly works like /fly and does not deactivate when you fly out of the town claimed chunks

What steps can be done to repeat the issue on a test server?

  1. use paper 1.16.5
  2. make a test town and de op your self.
  3. initiate tfly inside your town and fly out of the claimed chunk,

What is supposed to happen instead?

  1. the tfly should follow the stuff in the config files to properly deactivate after the return timer

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.7.0
TownyFlight Version : 1.6.6
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/akeyQABc
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/xQ8mHPNi

Unlimited Flight after Town Deletion

What is the issue that you see?

After a town falls into ruin (or is deleted), flight is enabled for a user until they relog.

What steps can be done to repeat the issue on a test server?

  1. Ensure you are not opped.
  2. Create a town
  3. Enable /tfly
  4. Delete the town
  5. Flying should still be enabled

What is supposed to happen instead?

  1. Ensure you are not opped.
  2. Create a town
  3. Enable /fly
  4. Delete the town
  5. Flight will stop

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.7.0
TownyFlight Version : 1.6.4
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/bqXwydeH
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/WnpBA9c0

Flight disabled upon entering town

What is the issue that you see?
Flight activation / deactivation dysfunctional.

What steps can be done to repeat the issue on a test server?
Staff (with override perms) Enter town in fly mode - flight is deactivated.
Exit town (wilderness) - flight still deactive
Enter town - flight reactivated.
What is supposed to happen instead?
Enter town - flight remain activated.

Versions/Files
Towny Version (use '/towny v' in game) : 0.93.0.0
TownyFlight Version : 1,2,4
Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/MshiJeR6
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/uafKLn7K

TownyFlight while in Spectator

Kind of a niche rare issue but...

What is the issue that you see?

If you're in spectator(/gm 3) and leave your town you will fall into the void and die

What steps can be done to repeat the issue on a test server?

  1. Go inside your town
  2. Activate tfly
  3. Go into Spectator
  4. Leave your town
  5. Enjoy the sweet sweet taste of death

What is supposed to happen instead?

  1. Don't fall through the map

Versions/Files

Towny Version (use '/towny v' in game) : 0.95.2.11
TownyFlight Version : 1.5.4
Link to pastebin.com with full server startup from the latest.log : N/A
Link to pastebin.com with TownyFlight config.yml : https://gist.github.com/introvertism/8f8fe6f82f6612f501906c80ff492334

Timer before disablle

What if there was a lest say 5 seconds warning/timer when you leave your time before the fly stops?
How cool would that be =)

BUG: tfly will not disable properly when town is deleted

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. make a town
  2. /tfly
  3. ./town delete

What is supposed to happen instead?

  1. town flight is removed

Versions/Files

Towny Version (use '/towny v' in game) : 0.95.2.22
TownyFlight Version :1.5.6
Link to pastebin.com with full server startup from the latest.log : I found no error about towny flight on startup
Link to pastebin.com with TownyFlight config.yml :
https://paste.gg/p/anonymous/67d12a91dca049d9991fcf7c94bb8b84

Suggestion: townyflight.nationtowns

Add permission node townyflight.nationtowns. Similar to townyflight.alliedtowns but only allows a player to use /tfly in towns that are a member of their nation, not also towns in allied nations.

Exploit - TFly is not removed on teleporting (e.g. warping)

What is the issue that you see?

Players can enable /tfly in a town and then use a warp to teleport elsewhere.
This does not remove flight from the player and lets them fly anywhere in the world until you return to a town where the X seconds warning appears.

What steps can be done to repeat the issue on a test server?

  1. Go into a player town where you can use /tfly
  2. Go to a /warp
  3. Go anywhere in the world other than into your town and continue flying

What is supposed to happen instead?

  1. Go into a player town where you can use /tfly
  2. Teleport elsewhere (any teleport, e.g. players using /tp or /warp)
  3. Lose /tfly if somewhere you don't have permission to use /tfly

Versions/Files

Towny Version (use '/towny v' in game) : Towny version: 0.97.0.0
TownyFlight Version : TownyFlight-1.6.6
Link to pastebin.com with full server startup from the latest.log :
Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/mRJcNC3X

legacy_api not building

What is the issue that you see?

What steps can be done to repeat the issue on a test server?

  1. git clone
  2. import maven project
  3. 'package' task fails

What is supposed to happen instead?

  1. 'package' builds .jar

Versions/Files

Towny Version (use '/towny v' in game) : N/A
TownyFlight Version : 1.4.7-latest
Link to pastebin.com with full server startup from the latest.log : N/A
Link to pastebin.com with TownyFlight config.yml : N/A

I'm opening this to document the issue behind my PR.

Tfly remains active when a player unclaims the plot they are standing on.

What is the issue that you see?

Players are able to fly outside of their towns.

What steps can be done to repeat the issue on a test server?

  1. Have tfly in owntown.
  2. Activate /tfly in a border chunk.
  3. Unclaim the chunk while flying and go to the wild.
  4. Don't relog or touch any other towny chunk
  5. You'll be able to fly around unclaimed land.

What is supposed to happen instead?

  1. The player should lose the fly.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.3.0
TownyFlight Version : 1.6.3
Link to pastebin.com with full server startup from the latest.log : https://pastebin.pl/view/bb7ce7a0
Link to pastebin.com with TownyFlight config.yml : https://pastebin.pl/view/bd609245

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.