Get rank weight/inheritance [Vault]

Discussion in 'Plugin Development' started by z3db0y, Aug 18, 2021.

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

    z3db0y

    Hello,

    I was trying to make a plugin that lets only players with a certain rank onto the server. It worked fine until I decided to make a group and add the whitelisted group as a child.
    ie.:
    Code:
    OWNER:
        - mod
    MOD:
        - default
    
    As you can see, if mod rank is the rank required to join, owners should be able to join too. However, Vault doesn't let me see group inheritance neither group weight. The array of groups is completely unsorted, and filtering by group indexes doesn't work either.

    Please help.
     
  2. Offline

    timtower Administrator Administrator Moderator

    @z3db0y Which plugin are you using for permissions?
     
  3. Offline

    z3db0y

  4. Offline

    timtower Administrator Administrator Moderator

    @z3db0y Then check if the user has MOD?
     
  5. Offline

    z3db0y

    Vault only shows that he has owner.
     
Thread Status:
Not open for further replies.

Share This Page