Worldguard - Disabling fly upon entry?

Discussion in 'Bukkit Discussion' started by WayneMC, Mar 22, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    WayneMC

    So in this scenario:

    A player has /fly activated, and when they enter a new region... I want their fly to be disabled automatically.

    Blocked CMDS isn't working, and /region flag <region> fly deny... just prevents them from typing /fly. But it doesn't kick them out of their current flying state...
     
  2. That of course depends on if your flying-plugin keeps checking for permission changes at all. I can't judge if the plugin you are using is doing so.

    There is a few plugins that can change permissions based on WorldGuard regions and similar - provided your flying plugin updates the state at all, this might be a way to resolve the issue.

    I think zPermissions is a permissions plugin that allows changing permissions based on regions. Last time i checked it was not too much optimized concerning performance, also i don't know if it really reliably overrides permissions.

    VariableTriggers i only know from browsing pages and hearsay, but it might allow things like this. Can't state about details/performance or if it supports WorldGuard directly.

    RSP is an add-in plugin (mine) to alter permissions based on WorldGuard regions. It is optimized for performance with having a configurable inaccuracy. The accuracy can also be altered per-world and also baesd on container regions. RSP can reliably override it's own permissions based on priorities (which can be important for fly/no-fly scenarios).


    It does now depend on the flying plugin... does it re-check permissions at all for already flying players? Otherwise you might need a solution that allows executing a command as well, which at present might be VariableTriggers rather.
     
  3. Offline

    WayneMC


    I'm using Essentials fly, and /blocked cmds isn't working.
     
  4. Best ask on the Essentials project site/forum/irc if the flying feature updates with permission changes, or how to force fly off in a region.

    What kind of regions should disable flying? ANY kind of region? Is it many regions or just few?
     
  5. Offline

    King Pyro

    blocked cmds only blocks the command from being used in the region, Not the current status of which that command has been executed
     
Thread Status:
Not open for further replies.

Share This Page