spawn Console Command
Syntaxspawn [entity name] [amount] [level]· Cheat
Updated
Remove brackets [ ] when typing the command.
- Item ID
- The ID of the item or the character (NPC) you want to spawn.
- AmountOptional
- The amount of the item you want to spawn. If not specified, the default amount of `1` will be spawned.
- LevelOptional
- The level of the character you want to spawn. This does not apply to items. Use `1`, `2`, or `3`. If not specified, the default level of `1` will be spawned.
Fill in the arguments below to build a ready-to-paste spawn command.
Here are examples of how to use spawn.
This command will spawn 1 flint axe.
This command will spawn 5 flint axes.
This command will spawn 80 individual pieces of wood.
This command will spawn 4 Deer.
This command will spawn 4 level 3 Deer.
The "spawn" command in Valheim is primarily used to create or generate objects, creatures, or items within the game world. In other words, it lets you create something out of thin air. You can use the spawn command followed by the respective item or character ID and quantity you need. For example, if you need 10 bronze nails, you would use this command: spawn BronzeNails 10.
A note on character spawning: you can also specify a difficulty level (although it only affects spawned characters). The higher the level, the more powerful the creature. Levels over 10 might cause instability or crashes in the game due to the increased complexity and demand on the game's engine.
There is also a caution for item spawning: Items spawned using this command will appear one by one. Therefore, spawning thousands of items all at once could overload the game and cause it to freeze or crash.
Overall, the "spawn" command is useful when you need a particular item, creature, or character quickly for testing purposes or specific scenarios. It is often used in creative gameplay or troubleshooting to circumvent normal resource gathering and progression to save time. However, over-reliance on this command can detract from the intended game experience.
- addstatusThis command will add the specified status effect.
- aggravateThis command aggravates neutral entities within a 20-meter radius.
- beardThis command permanently changes your beard. If used without an argument, it removes your beard.
- clearstatusThis command removes all active status effects, both positive and negative.
- dpsdebugThis command toggles the dps debug print on and off.
- envThis command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).
- eventThis command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).
- exploremapThis command reveals the entire game map.
- ffsmoothThis command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.
- findThis command finds and pings matching objects on the map, placing pins if required.
- flyThis command toggles flight mode.
- forcedeleteThis command removes objects within a specified radius, as well as optionally specific objects if a name is provided.
- freeflyThis command enables or disables the free camera mode.
- gcThis command displays garbage collection information.
- genlocThis command redistributes all unplaced game locations.
- ghostThis command toggles ghost mode where enemies ignore the player.
- godThis command activates god mode.
- gotoThis command teleports the player to given coordinates.
- hairThis command permanently alters your hairstyle. If used without an argument, it removes your hair.
- healThis command restores your health to maximum.
- itemsetThis command spawns a premade set of items. View all sets below. Include the `keep` flag to keep current items; if not included, current items will be dropped.
- killallThis command kills all nearby enemies and tamed creatures.
- killenemiesThis command kills all nearby enemies.
- killtameThis command eliminates all nearby tamed creatures.
- listkeysThis command lists all global keys in the game.
- locationThis command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location).
- modelThis command switches the player's character model from masculine to feminine.
- nextseedThis command forces the next dungeon to generate based on a new seed, disabling game saving.
- nocostThis command toggles no-cost mode.
- playersThis command modifies the game difficulty scale. Use `0` to reset the difficulty.