To spawn items by ID in Valheim, open the console with F5, type devcommands to enable cheat mode, then use the command spawn [itemID] [amount]. For example, spawn Wood 50 gives you 50 Wood instantly. This article explains the full syntax, how to find item IDs, common errors, and safety tips.
What Are Valheim Console Commands?
Valheim, the popular survival game by Iron Gate Studio, includes a built-in console that lets you run developer commands. These commands can spawn items, enemies, or even alter your character’s stats. They are primarily intended for testing and debugging, but many players use them to customize their single-player experience or recover lost items.
Console commands are available in both single-player and multiplayer if you are the server host. On a dedicated server, you need to have admin privileges and use the adminlist.txt file to enable commands for your character.
How to Enable Console Commands
Before you can spawn anything, you must enable the console and activate cheat mode. Follow these steps:
- Press F5 to open the console window (on some keyboards, it may be
F5or~). - Type
devcommandsand press Enter. You should see a message like “Cheats enabled”. - Now you can use the
spawncommand.
Note: The console is case-sensitive for the command itself, but the item IDs are usually case-sensitive as well. Always use the exact capitalization from the item list.
The Spawn Command Syntax
The basic syntax is:
spawn [itemID] [amount]
- itemID: The internal name of the item, like
WoodorIronScrap. - amount: The number of items to spawn. If you omit it, the default is 1.
You can also add a level parameter for creatures, but for items it is ignored. For example, spawn TrophyBoar 5 gives you 5 Boar Trophies.
Finding Item IDs
Valheim does not show item IDs in the game UI. You need to refer to an external list. The community has compiled comprehensive lists of all item IDs, which you can find on the official Valheim wiki or fan sites. Here are a few common examples:
Wood– WoodStone– StoneFlint– FlintBronze– BronzeIron– IronSilver– SilverBlackMetal– Black MetalCoal– CoalFeathers– FeathersDeerHide– Deer Hide
For a complete list, search “Valheim item IDs” on the web. The IDs are stable across versions, but new items are added with each update, so always check the latest list.
Common Problems and Solutions
Many players run into issues when using the spawn command. Here are the most frequent problems:
- “Command not found”: This usually means you haven’t typed
devcommandsfirst. Make sure you see the confirmation message. - Wrong item ID: If the ID is misspelled or outdated, the command will fail silently or spawn nothing. Double-check the ID from a reliable source.
- Item spawns but disappears: This can happen if you spawn an item that requires a specific drop condition (like a boss trophy). It may fall through the world or despawn. Try spawning it in front of you and walking over it.
- Console doesn’t open: On some keyboards, the key is not F5. Try
~(tilde) orF5on the top row. Also, ensure you are not in a menu.
Using Spawn for Creatures and Bosses
The same command can spawn creatures, including bosses. For creatures, you can add a level parameter: spawn [creatureID] [amount] [level]. For example, spawn Troll 1 2 spawns a level 2 Troll. Bosses like Eikthyr or Bonemass can also be spawned, but be careful: spawning a boss may trigger its AI and attack you immediately.
Safety and Fair Use
Using console commands can be fun, but it can also ruin the game’s challenge. If you spawn items in a multiplayer server, it may affect other players’ experience. Also, spawning items does not always place them into your inventory—it drops them on the ground, so you need to pick them up. Be aware that using cheats may disable achievements on some platforms (though Valheim does not have a built-in achievement system as of now).
Always back up your world files before using commands extensively, especially if you are spawning large amounts or creatures. A simple backup can save you from a corrupted save.
Alternatives to Spawning
If you want items without cheating, you can use the debugmode command, which gives you infinite build materials and allows you to fly. However, it also requires devcommands. Another alternative is to use mods like Valheim Plus or BepInEx that offer more granular control, but mods can break with updates and are more complex to install.
Frequently Asked Questions
Why can’t I open the console?
Make sure you are in the game world, not in a menu. Press F5 (or ~ on some keyboards). If it still doesn’t work, check your keyboard layout—some non-English keyboards require a different key. Also, verify that you are running the latest version of the game.
Does spawning items work in multiplayer?
Yes, but only if you are the host or have admin rights on a dedicated server. If you are not the host, you need to be added to the adminlist.txt file on the server.
Can I spawn items into my inventory directly?
No, the spawn command drops items on the ground. You must walk over them to pick them up. There is no command to directly add to inventory.
What is the item ID for a specific item like “Iron Sword”?
Items like weapons have IDs such as SwordIron. You can find the exact ID by searching the Valheim wiki. For example, SwordIron is the Iron Sword.
Will using console commands get me banned?
No, Valheim is a cooperative game with no official anti-cheat. However, on public servers, the host may have rules against cheating. Always ask permission if you are playing on someone else’s server.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Jenkins vs GitHub Actions: Which CI/CD Fits Your Team?
- Turn Off Backup Encryption in iTunes?
- Campus Tech Innovation Hubs: What They Are
- Poco C51 Airtel Prepaid Locked Variant India?
- Shared VPS Hosting: Is It Better?
- Disk Defrag Pro: What It Does and Whether You Need It