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
gameis the domain. Every item and block from the base game usesgame.gear-temporalis the code for that item. Many codes are built from parts joined by hyphens: the item type first, then its variant, such asingot-copperorpickaxe-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.
| Item | Code | Example |
|---|---|---|
| Temporal gear | gear-temporal | /giveitem game:gear-temporal 1 |
| Rusty gear | gear-rusty | /giveitem game:gear-rusty 10 |
| Copper ingot | ingot-copper | /giveitem game:ingot-copper 16 |
| Tin bronze ingot | ingot-tinbronze | /giveitem game:ingot-tinbronze 16 |
| Iron ingot | ingot-iron | /giveitem game:ingot-iron 16 |
| Steel ingot | ingot-steel | /giveitem game:ingot-steel 8 |
| Gold ingot | ingot-gold | /giveitem game:ingot-gold 8 |
| Silver ingot | ingot-silver | /giveitem game:ingot-silver 8 |
| Flint | flint | /giveitem game:flint 16 |
| Stick | stick | /giveitem game:stick 32 |
| Flax fibers | flaxfibers | /giveitem game:flaxfibers 32 |
| Flax twine | flaxtwine | /giveitem game:flaxtwine 16 |
| Resin | resin | /giveitem game:resin 8 |
| Charcoal | charcoal | /giveitem game:charcoal 32 |
| Honeycomb | honeycomb | /giveitem game:honeycomb 8 |
| Beeswax | beeswax | /giveitem game:beeswax 8 |
| Salt | salt | /giveitem game:salt 16 |
| Lime | lime | /giveitem game:lime 16 |
| Leather | leather-normal-plain | /giveitem game:leather-normal-plain 8 |
| Blue clay | clay-blue | /giveitem game:clay-blue 32 |
| Fire clay | clay-fire | /giveitem game:clay-fire 32 |
| Firestarter | firestarter | /giveitem game:firestarter 1 |
| Candle | candle | /giveitem game:candle 4 |
| Coil of rope | rope | /giveitem game:rope 4 |
| Flint knife | knife-generic-flint | /giveitem game:knife-generic-flint 1 |
| Iron pickaxe | pickaxe-iron | /giveitem game:pickaxe-iron 1 |
| Iron axe | axe-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]
| Block | Code | Example |
|---|---|---|
| Iron anvil | anvil-iron | /giveblock game:anvil-iron 1 Steve |
| Forge | forge | /giveblock game:forge 1 |
| Barrel | barrel | /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.
Related
- Vintage Story Server Commands List: every common admin command on one page
- Vintage Story Teleport Command (/tp) and Set Spawn: teleport players and set spawn points
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.





Vintage Story