lp_set_prefix
Gives the player a LuckPerms prefix.
Categories: chat, permission
Required arguments
| Key(s) | Description | Type |
|---|
prefix | The prefix to give, supporting placeholders. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
priority | The priority of the prefix. | EXPRESSION | 100 |
duration | How long the prefix should last, in seconds. Permanent if not specified. | EXPRESSION | |
contexts | The LuckPerms contexts to apply the prefix in, as a list of key=value entries. | STRING_LIST | [] |
transient | If the prefix should be set transiently, meaning it is lost on server restart. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: lp_set_prefix
args:
prefix: &6[VIP]
priority: <expression> # ← Optional
duration: 86400 # ← Optional
contexts: # ← Optional
- "server=survival"
transient: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |