give_item_level_xp
Grants XP to the triggered item's level system.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
id | The ID of the level type to grant XP for. | STRING |
xp | The amount of XP to grant to the item. Supports expressions. Negative values remove XP. | EXPRESSION |
Example
effects:
- id: give_item_level_xp
args:
id: <value>
xp: <value>
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |