give_item

Gives the player one or more items, optionally placing them into a specific inventory slot.

Categories: inventory

Required arguments

Key(s)DescriptionType
item \| itemsThe item or list of items to give to the player.ITEM_LIST

Optional arguments

Key(s)DescriptionTypeDefault
slotThe inventory slot type to place the item into. If omitted the item is dropped into the player's inventory via telekinesis.STRING

Trigger parameters required

  • PLAYER

Example

effects:
  - id: give_item
    args:
      item: <value>
      slot: mainhand # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue