HyperScript
Docs

← All of the Docs HyperPerms

Lists and weights HyperPerms

expressionall groupsHyperPerms

A list of every group LuckPerms has, in alphabetical order

for each {_group} in all groups:
    send "&7%{_group}% &8- &fweight " + weight of group {_group}
expressionrank of <who> on track <name>HyperPerms

The group of that track the player is in, the highest if several; unset if none. For players who are online

set {_now} to rank of arg.1 on track "staff"
expressiongroups of track <name>HyperPerms

The groups of a track, from the lowest to the highest

set {_groups} to groups of track "staff"
expressionplayers in group <name>HyperPerms

The names of the online players in that group, directly or through another group

send "&7Staff online: &f" + join players in group "staff" with ", "
expressionweight of group <name>HyperPerms

The group's weight; unset if it has none

set weight of group arg.1 to 50
Guide and examples
command /staff:
    trigger:
        send "&7Staff online: &f" + join players in group "staff" with ", "

command /ranks:
    trigger:
        for each {_group} in all groups:
            send "&7%{_group}% &8- &fweight " + weight of group {_group}
SyntaxResult
all groupsA list of every group LuckPerms has, in alphabetical order
rank of <who> on track <name>The group of that track the player is in, the highest if several; unset if none. For players who are online
groups of track <name>The groups of a track, from the lowest to the highest
players in group <name>The names of the online players in that group, directly or through another group
weight of group <name>The group's weight; unset if it has none