Posted on 25 May 2024

Valheim Console Commands and Item Spawn List

by Clay B.

Valheim is a popular survival game set in a Norse mythology-inspired world where players must explore, gather resources, build, and fight off various enemies to progress. Console commands in Valheim provide a powerful way to enhance your gameplay experience, from spawning items to changing the time of day. In this guide, we'll show you how to use these commands and provide a comprehensive list. This guide is current for the latest Valheim version.

How to Use Console Commands in Valheim

  • Press F5 to open the console window.
  • To enable cheats, type devcommands and press Enter. A confirmation message will appear.
  • Type your command and press Enter. Refer to the full list of commands below.

List of Valheim Console Commands

We've categorized the commands below based on the type of command.

Note: The commands below are only valid in a single player setting. To use these in your Valheim server, you must install BepInEx as well as the Server devcommands plugin. If using a server hosted by Host Havoc, you can use our one-click installer.

General Player Commands

CommandDescriptionExample
helpLists all available commandshelp
saveSaves the current game statesave
infoDisplays system informationinfo
pingShows your current pingping
lodbias [number]Sets the LOD bias (graphics level of detail)lodbias 2
tod [0-1]Sets the time of day (0 = midnight, 0.5 = noon)tod 0.5
resetenvResets the environmentresetenv
locationShows your current coordinateslocation
exploremapReveals the entire mapexploremap
resetmapResets the map explorationresetmap
posDisplays your current position coordinatespos
tameTames all nearby tameable creaturestame

Item and Spawning Commands (Admin)

CommandDescriptionExample
spawn [item] [amount] [level]Spawns the specified item with optional amount and levelspawn Wood 50 1
spawn [creature] [amount] [level]Spawns the specified creature with optional amount and levelspawn Troll 2 3
itemset [name]Spawns a preset item setitemset Starter
give [item] [amount]Gives you the specified item and amount.give Iron 20
removedropsRemoves all dropped items in the arearemovedrops

Server Administration Commands

CommandDescriptionExample
kick [player]Kicks the specified player from the serverkick Player1
ban [player]Bans the specified player from the serverban Player1
unban [player]Unbans the specified playerunban Player1
bannedLists all banned playersbanned
saveSaves the current world statesave
resetcharacterResets your character dataresetcharacter
resetworldResets the world to its initial stateresetworld
event [name]Starts the specified eventevent army_eikthyr
stopeventStops the current eventstopevent
randomeventStarts a random eventrandomevent
sleepAdvances the game to the next daysleep

List of Valheim's Spawnable Items

This blog post would've gotten quite long if we were to list all of the items here. For a comprehensive list of items and their details, the following Valheim wiki page is very helpful: https://valheim.fandom.com/wiki/Item_IDs