Vault Add Group Issue

Discussion in 'Plugin Development' started by EnderTroll68, Aug 14, 2014.

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

    EnderTroll68

    Hello Bukkit forums!

    I have an issue with Vault.
    I am trying to remove a player's group, and then add another group, but I do NOT want it to be per world. Currently my code exists like this:
    Code:java
    1. Main.perms.playerRemoveGroup(p, Main.perms.getPrimaryGroup(p));
    2. String next = Utils.getNextRank(p);
    3. Main.perms.playerAddGroup(p, next);
    Which yields the result of:
    Code:
    users:
      48e297ef-8cbe-4805-b9c8-f90dc0031fd3:
        permissions:
        - '*'
        options:
          name: EnderTroll68
        group:
        - Iron
        worlds:
          world:
            group:
            - Redstone
    Any suggestions?
     
Thread Status:
Not open for further replies.

Share This Page