Vanish Permissions
broyuken opened this issue ยท 5 comments
I'm trying to set up vanish so that I can choose what effects/toggles I want, and have it actually remember them but it seems to be a giant pain to do. All I want is to be able to give damage out, none in, and no effects by default.
This is my config:
- vanish.silentjoin
- -vanish.preventoutgoingdamage
- -vanish.effects.*
- vanish.*
When I log in, I have ALL effects and ALL toggles turned on. The negating doesn't look like it's working at all. How can I fix this besides removing vanish.* and granting everything else manually?
It didn't work, and according to the documentation for PEX (my permissions manager) it reads top down, so that would also give all permissions.
Did you remove it from the bottom when adding it to the top of the list? It would read it top down meaning that it would remove the permissions for vanish.preventoutgoingdamage, but then you are granting vanish.* at the bottom which would give the permissions back.
Try this:
- vanish.*
- vanish.silentjoin
- -vanish.preventoutgoingdamage
- -vanish.effects.*
I figured it out, once it finds a permission it stops looking for it with pex. The issue I ran into was that vanish.standard was above that all which gave the vanish.preventdamage permission before it was negated. This caused it to not be negated at all. I think I'm good now, thanks!