level_item

Grants XP to the triggered item's level system.

Categories: inventory

Required arguments

Key(s)DescriptionType
idThe ID of the level type to grant XP for.STRING
xpThe amount of XP to grant to the item. Supports expressions.EXPRESSION

Example

effects:
  - id: level_item
    args:
      id: mining
      xp: %level% * 10

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue
Permanentfalse