drop_pickup_item
Drops a custom item at the trigger location that executes a set of effects when a player picks it up.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|
item | The item to drop at the trigger location. | ITEM |
effects | The effects to run when a player picks up the dropped item. | ANY |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
glow-color | The ChatColor name to make the dropped item glow with (e.g. RED, GOLD). | STRING | |
run-type | The chain executor type to use for the pickup effects. | STRING | |
Trigger parameters required
Example
effects:
- id: drop_pickup_item
args:
item: <value>
effects: <value>
glow-color: <value> # ← Optional
run-type: <value> # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |