LuckPerms
luckperms/set_group
LP Set Group
Sets the primary LuckPerms group of a player and ensures they are a member of that group.
Note: Also adds the player to the group if they are not already a member. Requires LuckPerms.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
player |
player | Player to update. | |
group |
string | ✓ | Group name to set as primary. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after the update. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
group |
string | "default" |
The group to set as primary. |