Player paper/player_give_item

Player Give Item

Gives an item to a player's inventory. Accepts an ItemStack or a material name.

Note: If the player's inventory is full, items are dropped at their location. Connect an item_stack from Create Item or Item Modify for full control over the item, or use the material/amount fallback for simple cases.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
player player The player.
item item_stack ItemStack to give — takes priority over material/amount.
material string Material name (used when no item is connected).
amount number Stack size (used when no item is connected).

Outputs

NameTypeDescription
exec exec Continues after giving.

Properties

KeyTypeDefaultDescription
material string "DIAMOND" Material
amount number 1 Amount