give_battlepass_xp

Gives the player experience towards the specified battlepass.

Categories: economy

Required arguments

Key(s)DescriptionType
amountThe amount of battlepass experience to give.EXPRESSION
battlepassThe ID of the battlepass to give experience for.STRING

Optional arguments

Key(s)DescriptionTypeDefault
exactIf true, the exact amount is given without applying the player's experience multipliers.BOOLEANfalse

Trigger parameters required

  • PLAYER

Example

effects:
  - id: give_battlepass_xp
    args:
      amount: %level% * 10
      battlepass: halloween_pass
      exact: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue