lp_set_suffix

Gives the player a LuckPerms suffix.

Categories: chat, permission

Required arguments

Key(s)DescriptionType
suffixThe suffix to give, supporting placeholders.STRING

Optional arguments

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

Trigger parameters required

  • PLAYER

Example

effects:
  - id: lp_set_suffix
    args:
      suffix:  &7(Veteran)
      priority: <expression> # ← Optional
      duration: 86400 # ← Optional
      contexts: # ← Optional
        - "server=survival"
      transient: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue