Vintage Story Reference

Vintage Story Item Codes and the /giveitem Command

Vintage Story item codes explained: the game:itemname format, how to find any code in game, common codes, and /giveitem and /giveblock with examples.

Last updated: November 19, 2026

4.9

789+ Satisfied Customers

Every item and block in Vintage Story has a code, such as game:gear-temporal for a temporal gear. You use these codes with /giveitem and /giveblock to hand out items. This page shows the code format, how to look up any code in game, a table of common codes, and the give commands with amounts and target players. It applies to any WinterNode Vintage Story server.

Quick answer

/giveitem game:gear-temporal 3 Steve

This gives the player Steve three temporal gears. The format is /giveitem <itemcode> [amount] [player]. To find any code, type .edi in chat and hover over the item.

The item code format

A full code has two parts, separated by a colon:

game:gear-temporal
  • game is the domain. Every item and block from the base game uses game.
  • gear-temporal is the code for that item. Many codes are built from parts joined by hyphens: the item type first, then its variant, such as ingot-copper or pickaxe-iron.

Items added by mods use the mod’s own domain in place of game.

The Vintage Story wiki’s code lists leave out the game: part (for example gear-temporal). The examples on this page use the full form.

How to find an item code in game

Show codes in tooltips (any player). Type this in chat:

.edi

Codes now appear in item tooltips and in the Survival Handbook. Run .edi again to turn it off. You can make this permanent in Settings: on the Interface tab tick Developer Mode, then on the Dev tab tick Extended Debug Info. Neither method needs admin.

Look it up in the handbook. Open the Survival Handbook, search for the item by name, and read its code from the entry once .edi is on.

Export every code (admin). An admin can run this in game to write a list of all item codes to the server log, server-main.txt in the Logs folder:

/debug itemcodes

Use /debug blockcodes for the block list.

Common item codes

Codes for everyday materials, metals and tools. Add game: in front of any of them for the full code.

ItemCodeExample
Temporal geargear-temporal/giveitem game:gear-temporal 1
Rusty geargear-rusty/giveitem game:gear-rusty 10
Copper ingotingot-copper/giveitem game:ingot-copper 16
Tin bronze ingotingot-tinbronze/giveitem game:ingot-tinbronze 16
Iron ingotingot-iron/giveitem game:ingot-iron 16
Steel ingotingot-steel/giveitem game:ingot-steel 8
Gold ingotingot-gold/giveitem game:ingot-gold 8
Silver ingotingot-silver/giveitem game:ingot-silver 8
Flintflint/giveitem game:flint 16
Stickstick/giveitem game:stick 32
Flax fibersflaxfibers/giveitem game:flaxfibers 32
Flax twineflaxtwine/giveitem game:flaxtwine 16
Resinresin/giveitem game:resin 8
Charcoalcharcoal/giveitem game:charcoal 32
Honeycombhoneycomb/giveitem game:honeycomb 8
Beeswaxbeeswax/giveitem game:beeswax 8
Saltsalt/giveitem game:salt 16
Limelime/giveitem game:lime 16
Leatherleather-normal-plain/giveitem game:leather-normal-plain 8
Blue clayclay-blue/giveitem game:clay-blue 32
Fire clayclay-fire/giveitem game:clay-fire 32
Firestarterfirestarter/giveitem game:firestarter 1
Candlecandle/giveitem game:candle 4
Coil of roperope/giveitem game:rope 4
Flint knifeknife-generic-flint/giveitem game:knife-generic-flint 1
Iron pickaxepickaxe-iron/giveitem game:pickaxe-iron 1
Iron axeaxe-felling-iron/giveitem game:axe-felling-iron 1

For anything not listed, turn on .edi and read the code from the item’s tooltip.

Using /giveitem

/giveitem <itemcode> [amount] [player]
  • itemcode: the code, for example game:ingot-iron.
  • amount (optional on its own): how many. Defaults to 1. Required when you name a player.
  • player (optional): who receives it. Leave it out to give the item to yourself.

The player must have an empty inventory slot to receive the item.

Give yourself one item:

/giveitem game:gear-temporal

Give yourself several:

/giveitem game:ingot-iron 16

Give another player items:

/giveitem game:ingot-copper 16 Steve

You must give the amount before a player name. /giveitem game:flint Steve fails with Error in argument 2 (quantity): Not a number, because the second value is read as the amount.

The panel console is not a player, so there is no “you” to give to: /giveitem game:flint 1 fails there with Object reference not set to an instance of an object. Run give commands in game.

Using /giveblock for blocks

Placeable things like anvils, forges and barrels are blocks, so they use /giveblock with the same amount and player options:

/giveblock <blockcode> [amount] [player]
BlockCodeExample
Iron anvilanvil-iron/giveblock game:anvil-iron 1 Steve
Forgeforge/giveblock game:forge 1
Barrelbarrel/giveblock game:barrel 2

If /giveitem doesn’t recognise a code, check whether it is a block and try /giveblock. /debug blockcodes exports the full block list.

Who can use the give commands

Only the admin role has the give privilege on a default server. Make yourself admin by running /op YourUsername in the server console (see Giving Yourself Access). Run give commands in game (press T or / to open chat). The console on your server’s page in the Game Control Panel is not a player, so a give command that defaults to yourself fails there.

Looking up codes with .edi does not need admin.

Frequently Asked Questions

Type .edi in chat to show item codes in tooltips and the Survival Handbook. You can also turn on Developer Mode in Settings, Interface, then tick Extended Debug Info on the Dev tab. Neither needs admin.

/giveitem <itemcode> [amount] [player]. For example, /giveitem game:gear-temporal 3 Steve gives Steve three temporal gears. Amount defaults to 1, and without a player name the item goes to you. To name a player you must give the amount first.

The player needs an empty inventory slot to receive the item. Also check the code with .edi, use /giveblock if it is a block, and make sure you have admin, since only the admin role has the give privilege by default.