Vault

Vault

7M Downloads

Doesn't respond to PermissionsEx reload commands

kside opened this issue ยท 4 comments

commented

For plugins that are hooking into vault for permissions, when you run a /pex reload command to reload permissionsex config & permissions.yml, vault doesn't update the perm hooks.
Instead you have to restart the whole server to make it respond.

Maybe adding a /vault reload command? or have it pick up pex reload commands and refresh it's hooks as well?

commented

there's no way for me to detect this as the plugin isn't getting disabled. secondarily Vault statically accesses PEX, this means nothing is set when it sees you have reloaded PEX, end result. not an issue in Vault.

commented

Is it then possible to add a /vault reload?

commented

There's absolutely no need for that in this situation. Vault doesn't handle permissions internal to itself, or set them. it simply checks the bukkit framework to check if a player has a permission etc. In the case of PEX group checking it doesn't store any pex variables.. reloading changes nothing. And lastly.. there already is a reload command.

commented

Okay, thanks for quick replies.