create group <name>HyperPermsMake a LuckPerms group. Small letters, digits, _, - and . only; a group that is there already is left as it is
create group arg.1← All of the Docs HyperPerms
create group <name>HyperPermsMake a LuckPerms group. Small letters, digits, _, - and . only; a group that is there already is left as it is
create group arg.1delete group <name>HyperPermsDelete one, for good. default is never deleted
delete group arg.1set prefix of <who> to <text>HyperPermsGive a player a prefix of their own, in front of whatever their groups give. set suffix of <who> to <text> likewise
set prefix of player to "&d[%arg.1%&d] "set prefix of group <name> to <text>HyperPermsThe same for a group, and set suffix of group <name> to <text>
set prefix of group arg.1 to "&7[%arg.2%&7] "clear prefix of <who>HyperPermsTake away the prefix a player has of their own; the one of their group shows again. clear suffix of, and of group <name>, likewise
clear prefix of playergroup exists <name>HyperPermsTrue if LuckPerms has a group of that name
if group exists arg.1:
delete group arg.1grant group <name> permission <node>HyperPermsGive a group a permission, for everybody in it. revoke permission <node> from group <name> takes it back
grant group arg.1 permission "essentials.fly"set weight of group <name> to <n>HyperPermsWhich group counts for more when a player is in several: the higher number wins
set weight of group arg.1 to 50permissions of group <name>HyperPermsA list of every permission a group has, its own and those of the groups it inherits from
send "&7%arg.1% has %size of permissions of group arg.1% permissions."permissions of <who>HyperPermsA list of every permission a player who is online has, their own and those of their groups
set {_nodes} to permissions of playercommand /makerank <name> <prefix>:
permission: "ranks.admin"
trigger:
create group arg.1
wait 1 second
set prefix of group arg.1 to "&7[%arg.2%&7] "
send "&aThere is now a group called %arg.1%."
command /dropgroup <name>:
permission: "ranks.admin"
trigger:
if group exists arg.1:
delete group arg.1
else:
send "&cThere is no group called %arg.1%."
command /groupfly <name>:
permission: "ranks.admin"
trigger:
grant group arg.1 permission "essentials.fly"
set weight of group arg.1 to 50
send "&7%arg.1% has %size of permissions of group arg.1% permissions."
command /groupnofly <name>:
permission: "ranks.admin"
trigger:
revoke permission "essentials.fly" from group arg.1
command /title <text>:
permission: "title.use"
trigger:
set prefix of player to "&d[%arg.1%&d] "
set suffix of player to " &8*"
command /notitle:
trigger:
clear prefix of player
clear suffix of player
command /myperms:
trigger:
set {_nodes} to permissions of player
send "&7You have %size of {_nodes}% permissions."
if {_nodes} contains "essentials.fly":
send "&aFlying is one of them."
| Syntax | Effect |
|---|---|
create group <name> | Make a LuckPerms group. Small letters, digits, _, - and . only; a group that is there already is left as it is |
delete group <name> | Delete one, for good. default is never deleted |
set prefix of <who> to <text> | Give a player a prefix of their own, in front of whatever their groups give. set suffix of <who> to <text> likewise |
set prefix of group <name> to <text> | The same for a group, and set suffix of group <name> to <text> |
clear prefix of <who> | Take away the prefix a player has of their own; the one of their group shows again. clear suffix of, and of group <name>, likewise |
group exists <name> | True if LuckPerms has a group of that name |
grant group <name> permission <node> | Give a group a permission, for everybody in it. revoke permission <node> from group <name> takes it back |
set weight of group <name> to <n> | Which group counts for more when a player is in several: the higher number wins |
permissions of group <name> | A list of every permission a group has, its own and those of the groups it inherits from |
permissions of <who> | A list of every permission a player who is online has, their own and those of their groups |
wait.clear prefix of team ... and set prefix of team ... are HyperScript's own, for scoreboard teams, and are left to it.