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)DescriptionType
itemThe item to drop at the trigger location.ITEM
effectsThe effects to run when a player picks up the dropped item.ANY

Optional arguments

Key(s)DescriptionTypeDefault
glow-colorThe ChatColor name to make the dropped item glow with (e.g. RED, GOLD).STRING
run-typeThe chain executor type to use for the pickup effects.STRING

Trigger parameters required

  • LOCATION

  • PLAYER

Example

effects:
  - id: drop_pickup_item
    args:
      item: <value>
      effects: <value>
      glow-color: <value> # ← Optional
      run-type: <value> # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue