Can i use the "*" permission and still remove permission in PEX?

Discussion in 'Spigot Plugin Help' started by Saltedbiscuit, Feb 3, 2020.

  1. Queen:
    build: true
    - '*'
    - -herobrine.ignore
    prefix: '&6[&4Queen&6]&f '
    default: false

    This is what I'm trying to accomplish. Give the "Queen" rank every command except certain ones. I've tried typing the negative command out in 2 ways:
    - -herobrine.ignore
    - - herobrine.ignore

    Neither of those work. Am I able to subtract a permission from the star permission? Or does it override every otherpermission i have?
  2. Well it should work as you did. Maybe you have wrongly configured permissions.yml? check for console for errors
  3. No errors. when i try to make herobrine attack the queen rank it says that they still have the ignore permission :(
  4. verify your permission, if it still doesn't work try with LuckPerms, it will work for sure as it is stated on its wiki than negative permissions overrides "*" perms
  5. Aside from the fact that I find using '*' very lazy and inefficient and it would be far more beneficial in the long run to properly set-up hierarchy for your ranks, I'm fairly certain that you'll want to set your negated permissions before your wildcard.

    Code (YAML):
    : true
       - - herobrine.join
        - '*'