give_battlepass_xp
Gives the player experience towards the specified battlepass.
Categories: economy
Required arguments
| Key(s) | Description | Type |
|---|
amount | The amount of battlepass experience to give. | EXPRESSION |
battlepass | The ID of the battlepass to give experience for. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
exact | If true, the exact amount is given without applying the player's experience multipliers. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: give_battlepass_xp
args:
amount: %level% * 10
battlepass: halloween_pass
exact: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |