lp_set_prefix

Gives the player a LuckPerms prefix.

Categories: chat, permission

Required arguments

Key(s)DescriptionType
prefixThe prefix to give, supporting placeholders.STRING

Optional arguments

Key(s)DescriptionTypeDefault
priorityThe priority of the prefix.EXPRESSION100
durationHow long the prefix should last, in seconds. Permanent if not specified.EXPRESSION
contextsThe LuckPerms contexts to apply the prefix in, as a list of key=value entries.STRING_LIST[]
transientIf the prefix should be set transiently, meaning it is lost on server restart.BOOLEANfalse

Trigger parameters required

  • PLAYER

Example

effects:
  - id: lp_set_prefix
    args:
      prefix: &6[VIP] 
      priority: <expression> # ← Optional
      duration: 86400 # ← Optional
      contexts: # ← Optional
        - "server=survival"
      transient: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue