Blocking Plugins

Discussion in 'Plugin Development' started by Cooper PluginDev, Mar 24, 2014.

Thread Status:
Not open for further replies.
  1. Does anyone know how I would disable a plugin in a certain world guard region or faction region?
    Like I want to make it so you can't use armor abilities etc in certain regions?
     
  2. Offline

    StealerSlain

    Use worldguard api, there's some methods about it.
     
  3. Offline

    CubieX

    You could use WG's region API to make your own regional permissions control system.
    To remove/add permissions by-region.
    But as far as I know the API of WG, there are now methods to help you with this permissions stuff.
    You would have to create this system from scratch by utilizing WGs RegionManager API and your permissions plugins API or (better) Vaults permisson hook.

    Somehting like :
    Code:
    if (player enters region x from exclusion list)
    {
      removeSomePermissions()
    }
    else
    {
      reAddSomePermissions()
    }
     
Thread Status:
Not open for further replies.

Share This Page