clear_inventory

Clears a section of the player's inventory.

Categories: inventory, player

Required arguments

Key(s)DescriptionType
typeWhich section of the inventory to clear.
Choices: all, hotbar, main, armor
STRING

Trigger parameters required

  • PLAYER

Example

effects:
  - id: clear_inventory
    args:
      type: all|hotbar|main|armor

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue