clear_inventory
Clears a section of the player's inventory.
Categories: inventory, player
Required arguments
| Key(s) | Description | Type |
|---|---|---|
type | Which 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
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |