aromaa / WorldGuardExtraFlags

Extension for the WorldGuard plugin.
https://www.spigotmc.org/resources/worldguard-extra-flags.4823
MIT License
90 stars 71 forks source link

Fly Flag not working #220

Closed Chris6ix closed 2 years ago

Chris6ix commented 2 years ago

Hey :) I have the issue that the fly flag just doesn't work...it's set to deny but players can still fly in that region... I'm using Paper 1.18.2 #386 with Worldguard 7.0.7 and WorldGuardExtraFlags 4.2.0

aromaa commented 2 years ago

If the players can get fly though commands, make sure to also block them. The fly is toggle only when they enter the region.

Chris6ix commented 2 years ago

No, the players don't activate Fly with a command...they open a menu and click a button which sets their fly permission to true or false (I'm using FlyPerms to manage Fly on my server)

aromaa commented 2 years ago

Well, that's a bit problematic. There's really not a good way to "force" the fly to be toggled off when another plugin toggles it back on. From the looks of it, the plugin has WorldGuard support so that should help to manage the situation.

Chris6ix commented 2 years ago

That's the problem...the WG Support of FlyPerms is broken, and the dev is extremely inactive :/ (The plugin doesn't even officially support 1.18...) And I haven't found another plugin that can manage Fly with permissions...

Is there not somehow the ability to change permissions when a player enters/leaves a WG region?

aromaa commented 2 years ago

Why doesn't a command fit your needs? Thats the most easy way to manage these. If you want to deal with permissions, you can use LuckPerms extension for that, https://github.com/LuckPerms/ExtraContexts

Chris6ix commented 2 years ago

I want to use permissions because of 2 reasons: -With the /fly command, fly gets automatically disabled when changing worlds....with permissions it stays on (For the worlds that the permission applies to) -I have a "free daily fly" of 1 hour on my server, so that players without the MVP+ Rank can also fly a bit... This obviously needs a timer of 1 hour to automatically disable the fly again (A temporary permission that expires in 1 hour)

I will try that LuckPerms extension though, thanks for the tip :)