Get pex suffix from code

Discussion in 'Spigot Plugin Development' started by Hellinduction, May 3, 2019.

  1. Hello all,

    I am trying to get a pex suffix from code and I am not sure how I would do this.

    Any help would be appreciated.

  2. Hello,

    Just use the pex api. There is a tutorial on their page: here
    You'll can get the suffix with:
    Code (Java):
    PermissionUser user = PermissionsEx.getUser(player);
    String suffix = user.getSuffix(world);