effect
add <who> to group <name>HyperPermsPut a player in a group, keeping the ones they have
add arg.1 to group "vip" for arg.2 * 1 day← All of the Docs HyperPerms
add <who> to group <name>HyperPermsPut a player in a group, keeping the ones they have
add arg.1 to group "vip" for arg.2 * 1 dayadd <who> to group <name> for <duration>HyperPermsThe same, for a limited time; LuckPerms takes it away again
add arg.1 to group "vip" for arg.2 * 1 daytime left in group <name> of <who>HyperPermsHow long a time-limited membership still lasts, as a duration; unset if they are not in the group, or are in it for good
set {_left} to time left in group "vip" of playerremove <who> from group <name>HyperPermsTake a player out of a group
remove arg.1 from group "vip"set group of <who> to <name>HyperPermsOut of every other group and into this one
set group of arg.1 to "default"promote <who> on track <name>HyperPermsOne group up a track made in LuckPerms (/lp createtrack staff). Somebody who is on none of its groups gets the first
promote arg.1 on track "staff"demote <who> on track <name>HyperPermsOne group down; from the first group, out of the track
demote arg.1 on track "staff"command /givevip <target:player> <days:integer>:
permission: "ranks.give"
trigger:
add arg.1 to group "vip" for arg.2 * 1 day
send "&a%arg.1% is VIP for %arg.2% day(s)."
command /vipleft:
trigger:
set {_left} to time left in group "vip" of player
if {_left} is not set:
send "&7You are not VIP for a limited time."
stop
send "&6Your VIP lasts another %{_left}%."
command /demote <target:player>:
permission: "ranks.give"
trigger:
set group of arg.1 to "default"
command /takevip <target:player>:
permission: "ranks.give"
trigger:
remove arg.1 from group "vip"
send "&e%arg.1% is no longer VIP."
| Syntax | Effect |
|---|---|
add <who> to group <name> | Put a player in a group, keeping the ones they have |
add <who> to group <name> for <duration> | The same, for a limited time; LuckPerms takes it away again |
time left in group <name> of <who> | How long a time-limited membership still lasts, as a duration; unset if they are not in the group, or are in it for good |
remove <who> from group <name> | Take a player out of a group |
set group of <who> to <name> | Out of every other group and into this one |
promote <who> on track <name> | One group up a track made in LuckPerms (/lp createtrack staff). Somebody who is on none of its groups gets the first |
demote <who> on track <name> | One group down; from the first group, out of the track |
<who> is player, all players, or a name. A named player may be offline: LuckPerms looks them up, makes the change and saves it.