lp_add_group
Adds the player to a LuckPerms group.
Categories: permission
Required arguments
| Key(s) | Description | Type |
|---|
group | The name of the LuckPerms group to add. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
duration | How long the group should last, in seconds. Permanent if not specified. | EXPRESSION | |
contexts | The LuckPerms contexts to apply the group in, as a list of key=value entries. | STRING_LIST | [] |
transient | If the group should be added transiently, meaning it is lost on server restart. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: lp_add_group
args:
group: vip
duration: 86400 # ← Optional
contexts: # ← Optional
- "server=survival"
- "world=world_nether"
transient: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |