TownyFlight icon indicating copy to clipboard operation
TownyFlight copied to clipboard

Added toggling flight publicly within your town

Open squeaky2137 opened this issue 8 months ago • 9 comments

Made it so mayors of towns can toggle public flight within their town with /tfly town toggleflight added a new permission so people with townyflight.command.tfly.town.other can toggle the flight of any town while just townyflight.command.tfly.town can only toggle their towns

squeaky2137 avatar May 15 '25 22:05 squeaky2137

Sorry didnt realize my IDE auto made a bunch of formatting changes, have undone them

squeaky2137 avatar May 15 '25 23:05 squeaky2137

What I could do is add a sub command to the towny plugin with /t toggle flight or something similar

squeaky2137 avatar May 16 '25 20:05 squeaky2137

Also I could be wrong but just to make sure when a town has the allow flight metadata the user still needs to have permissions to use /tfly correct

squeaky2137 avatar May 16 '25 20:05 squeaky2137

I cant get that one diff to go away at the end of plugin.yml

squeaky2137 avatar May 19 '25 22:05 squeaky2137

I have not fully tested it but today I will compile it and test it

squeaky2137 avatar May 22 '25 12:05 squeaky2137

I just went to change the other thing, and I can tell you it won't compile at all. Please get it to a point that it is ready before requesting a review next time.

LlmDl avatar May 22 '25 12:05 LlmDl

I have tested it and did not come across any issues as well as everything working as intended

squeaky2137 avatar May 22 '25 14:05 squeaky2137

Any update on this?

squeaky2137 avatar Jun 09 '25 01:06 squeaky2137

Compiled and tested

squeaky2137 avatar Jun 27 '25 07:06 squeaky2137