TownyAdvanced / TownyFlight

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

[Suggestion] Command to solely toggle off flight #13

Closed JohnS19 closed 5 years ago

JohnS19 commented 5 years ago

A command to solely toggle off flight. To remove flight if given the permission temporarily.

LlmDl commented 5 years ago

Would this be run from the console or by the player who's flying?

JohnS19 commented 5 years ago

console

LlmDl commented 5 years ago

I haven't tested this at all but if you wouldn't mind: https://www.dropbox.com/s/oh6e4kcz24bf98r/TownyFlight-1.3.0.jar?dl=0

The command can only be run from the console, just use 'tfly {playername}'

I'm curious as to what happens when a player is offline and that command is used. Whether it errors out, or whether they lose their flight while logged off and then fall to their deaths. Please try that out for me.

JohnS19 commented 5 years ago
LlmDl commented 5 years ago

Ok, I tested it quite thoroughly and have posted it on spigot: https://www.spigotmc.org/resources/townyflight.50360/update?update=288043