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.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
player player The player.
item any ItemStack from a Create Item node.
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