expression
group of <who>HyperPermsThe player's primary group, e.g. default or vip
set group of arg.1 to "default"← All of the Docs HyperPerms
group of <who>HyperPermsThe player's primary group, e.g. default or vip
set group of arg.1 to "default"groups of <who>HyperPermsA list of every group the player is in
set {_groups} to groups of track "staff"prefix of <who>HyperPermsThe chat prefix LuckPerms gives the player; unset if none
clear prefix of playersuffix of <who>HyperPermsThe chat suffix; unset if none
clear suffix of playeron player join:
if group of player is "default":
send "&7Type &f/rankup &7when you have 1000 coins."
if groups of player contains "vip":
send "&6Welcome back, VIP!"
on player chat:
set {_before} to prefix of player
set {_after} to suffix of player
set chat format to "%{_before}%&f%player.name%%{_after}%&7: &f%event.message%"
| Syntax | Result |
|---|---|
group of <who> | The player's primary group, e.g. default or vip |
groups of <who> | A list of every group the player is in |
prefix of <who> | The chat prefix LuckPerms gives the player; unset if none |
suffix of <who> | The chat suffix; unset if none |
if group of player is "vip":, if groups of arg.1 contains "staff":, send "Rank: " + group of player.prefix of team "red" is still HyperScript's own, about scoreboard teams.