spawn Console Command

Documentation and detailed help with working examples.

spawn Command

Cheat

This command will spawn the specified amount of items or characters. See our item IDs and character IDs lists for entity IDs. Level only affects characters. High level characters, with a level of 10 or greater, may crash the game. Items will be spawned one at a time. Spawning thousands of items may freeze the game.

spawn [entity name] [amount] [level]
Remove brackets [ ] from the command.

Parameters

The ID of the item or the character (NPC) you want to spawn.

Amount
Optional

The amount of the item you want to spawn. If not specified, the default amount of 1 will be spawned.

Level
Optional

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.

Examples

Here are examples of how to use spawn.

spawn AxeFlint

This command will spawn 1 flint axe.

spawn AxeFlint 5

This command will spawn 5 flint axes.

spawn Wood 80

This command will spawn 80 individual pieces of wood.

spawn Deer 4

This command will spawn 4 Deer.

spawn Deer 4 3

This command will spawn 4 level 3 Deer.

In-Depth Description

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.

Looking for Valheim console commands?

Search our complete list!

Quick Overview

The spawn command is used to generate or create a certain number of items or characters in the game.

When this command is paired with specific item or characters, the game will produce these entities.

The level associated with the command only impacts characters.

Was this helpful?