Solved Adding a global group with vault

Discussion in 'Spigot Plugin Development' started by JeffLover, Jul 13, 2018.

  1. I need to add a player to a group. I used the following method to do so, but this adds the player's group only in one world, even though in theory it should not since I have not listed a world.
    Code (Java):
    getPermissions().playerAddGroup(Player, String);
    As shown here, it adds the player to the group in one world rather than the global group. (I am using PEX)
    Code (Java):
    users:
      2812a36c-2e1e-30ed-8961-3cd3015d66db:
        permissions:
        - '*'
        group:
        - A
        options:
          name: Toaster
        worlds:
          world:
            group:
            - B
     
  2. PermissionsEx wants a null world name for a global group.
    Code (Text):
    getPermissions().playerAddGroup(player, null);
     
    • Winner Winner x 1