Help with tiers/lp group skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Yushaa

Active Member
Oct 19, 2023
64
2
8
26
Im trying to make it so when the player does /tier [player name] it shows the person's luckperms group

command /tier [<player>]:
trigger:
if arg-1 is set:
if arg-1 is online:
message "&9%player% tier is &6group of %player%" to player
 
no idea if this plugin still works but
You could just do something like:
Code:
on load:
   set {pg} to player's group
   send "&9%player% tier is &6%{pg}%" to player
The expression 'player's group' can be used regardless of your permission or group plugin (So long you have at least Vault) due to it being already included with Vanilla Skript. Source: Usage of 'group of player'.