lp_add_group

Adds the player to a LuckPerms group.

Categories: permission

Required arguments

Key(s)DescriptionType
groupThe name of the LuckPerms group to add.STRING

Optional arguments

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

Trigger parameters required

  • PLAYER

Example

effects:
  - id: lp_add_group
    args:
      group: vip
      duration: 86400 # ← Optional
      contexts: # ← Optional
        - "server=survival"
        - "world=world_nether"
      transient: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue