#With DeluxeMenus,PAPI, and LuckPerms, is it possible to set a condition that checks for player rank?

1 messages · Page 1 of 1 (latest)

nova beacon
#

Ranks can be checked via a permission, group.<name>
With the permission expansion you can check if a player has all or any permission from a list.

#

So %permission_has-any_group.a group.b group.c% to buy d, and ``%permission_has-all_group.a group.b group.c group.d%` to buy the big rank

cedar tide
#

Okay, so considering a server with groups A, b, c, d and E:

  • For a user with group A who wants to buy b,c and d...

requirements: %luckperms_ingroup% == group.A

  • For a user with groups A-c who wants to purchase Group E:

requirements: %luckperms_ingroup% == group.b && group.c && group.d

Is this what I should be doing? Is this syntax right or can you point me in the direction of literature to learn the syntax for this type of comparison?