lp_set_meta

Sets a LuckPerms meta value on the player.

Categories: permission

Required arguments

Key(s)DescriptionType
keyThe LuckPerms meta key to set.STRING
valueThe value to set, supporting placeholders.STRING

Optional arguments

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

Trigger parameters required

  • PLAYER

Example

effects:
  - id: lp_set_meta
    args:
      key: rank-color
      value: gold
      duration: 86400 # ← Optional
      contexts: # ← Optional
        - "server=survival"
      transient: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue