TownyAdvanced / TownyFlight

Flight plugin for Towny servers.
https://townyadvanced.github.io/
Other
23 stars 17 forks source link

Have to Double Jump Twice to Fly #59

Closed EcoSMP closed 1 year ago

EcoSMP commented 2 years ago

What is the issue that you see?

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

  1. Double Jump to Fly
  2. Fails
  3. Double Jump Immediately After & it Works

What is supposed to happen instead?

  1. Double Jump Once
  2. Fly Activates

Versions/Files

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

LlmDl commented 2 years ago

For me it only ever takes one double-jump to get going.

It could maybe be a plugin conflicting but that sounds a bit strange too.

Do you have an anti-flight/cheat plugin?

EcoSMP commented 2 years ago

We do use Spartan anti-cheat but all ranks with the ability to fly in claims have a permission to bypass the flight check as it was constantly flagging it with this plugin. There haven't been any flags since then to do with flight.

We appreciate you taking the time to help us resolve this. The players have become increasingly annoyed with it so we want to do our best to fix it. We are willing to try any possible solutions you can think of.

LlmDl commented 2 years ago

You've got auto-enabled flight and TownyFlight doesn't actually do anything except set a player's Bukkit AllowedFlight setting. Once a player is allowed to fly according to Bukkit all they have to do is double jump and up they go. Might be worth seeing if you can make it happen on a test server with less plugins than your main server.

EcoSMP commented 2 years ago

Hello,

We have tried a few things but whats odd is that this only happens to some players and not to others. We will keep digging into it but we also have another small issue that I would greatly appreciate your help with.

Flight turns off whenever a player changed which world they are in. This makes them fall to their death if they tp away while in flight and do /back to that location. I have turned this setting off in essentials but it only works if the player has essentials.fly and we don't want them to have that because they should only be able to fly in their town.

Is there a way we can stop it from disabling flight when changing worlds? Thanks!

LlmDl commented 2 years ago

Probably but that should be a separate ticket.

LlmDl commented 2 years ago

Not a clue. I have never had an issue where flight didn't work with one double-jump.