-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite Flight #89
Comments
TownyFlight already listens for players that have teleported, and then checks if they can fly at that location, removing flight if they cannot. Perhaps your home-type plugins are not throwing PlayerTeleportEvents when they teleport players. |
Players can indeed exploit this bug to achieve infinite flight. You can try using plugins like HuskHome; after establishing a town and taking off with tfly, if you use /spawn while in the air, you'll find that your flight is not disabled, and players continue to fly. |
This is the demonstration video I made |
This is using the latest plugin just now |
From the video I cannot tell where you teleported to, but it allowed you to continue flying, probably because you're allowed to fly at that location. |
Because I cannot record excessively long videos for uploading, but this is a rough way to break through the restrictions. The spawn in the video is an area without any towns, and flying is not allowed here. However, infinite flying can be achieved through the methods shown in the video. Please watch my next demonstration video |
I feel that it may be related to the judgment of town. In the recent test, if you use the teleportation function to leave the town, it will not show that you are in the wilderness |
In this video, the starting position of the video is my town, and the block directly in front of me is a wilderness area where flying is not allowed. A home has been set in the block directly in front of me. When I return to the town using fly and enter home in mid air, I break through the flight restriction test.2.mp4 |
Is that using HuskHomes? Stop your server. Start your server, let it load completely, then stop it. A new latest.log will be created in your logs folder. Please upload it to a paste-service like https://paste.ee/ and then copy the URL here. You skipped the form for issues so I don't know what your server is doing. This bug is not something I can reproduce. |
Okay, I will provide you with a complete log tomorrow, as I speculate that there may be an issue with the town's own transmission judgment. I will provide feedback at the same time in town tomorrow |
BUG:
If players have enabled fly within their territory, using teleportation features of home-type plugins will not cancel their flight. For example, after I input /tfly and then use /home to teleport back to my home, the flight status remains active, resulting in players being able to use flight indefinitely, and all forced teleportation plugins take effect.
The text was updated successfully, but these errors were encountered: