GiveSlotItemNum

GiveSlotItemNum command

Places the item identified by its item id directly into one of your hotbar slots. Non-stacking items beyond the first go to your inventory, and an invalid slot id sends everything to your inventory. Quality is always 0 and blueprints cannot be requested.

Argument information
  • <Item Num>type: item

    An item's numeric ID. Pick an item in the command builder below to fill it in.

  • <Slot Num>type: number

    The hotbar slot number to put the item in (0 is the first slot).

  • <Quantity>type: number

    How many of the item to give.

Command builder

Item Num
Slot Num
Quantity

Examples

This console command places 1 of the item with numeric item ID 1 directly into hotbar slot 4. Quality is always 0, and passing an invalid slot ID would send the item to your inventory instead.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.