Valheim Console Commands - Complete Guide

INTRODUCTION TO VALHEIM CONSOLE COMMANDS

During your Viking adventures in the world of Valheim that is shrouded in mystery, you’ll explore and uncover secrets, gather, craft, build, and ultimately survive. When taking on this challenge, there are advantages you can take by using Valheim console commands to assist you and your friends in taking on the threats that await you to make for a better journey!

Valheim console commands can be used in only a moment on your Valheim game server and offer a variety of options including flying, broadcasting messages, managing your server players, and so much more. Raise your sword and join us as we show you how to use Valheim console commands and the many Valheim console commands that you can use on your own dedicated Valheim server!

HOW TO USE VALHEIM CONSOLE COMMANDS

  1. Open Steam, go to your game library, right-click Valheim, and press “Properties…”.
    Valheim game properties

  2. In the game properties under “GENERAL”, find the “LAUNCH OPTIONS” field and add “-console” to that section like this:
    Valheim general game options

  3. Start Valheim and you will now be able to press the “F5” key to open the game console. Here you will be able to enter your Valheim console commands.
    Valheim console

  4. To issue a command, type that command into the console and then press “Enter”.
    Valheim console commands

LIST OF VALHEIM CONSOLE COMMANDS

ADMIN COMMANDS FOR YOUR SERVER

Available when you are an Admin on a Valheim game server, these commands allow you to easily manage the players across your server.

ADMIN COMMAND INFORMATION
Ban [name/ip/userID] Permanently bans that user from your server.
Unban [name/ip/userID] Unbans that specified player on the server.
Kick [name/ip/userID] Kicks that player out of your server.
Banned Displays a list of all banned players on your server
Save Forces the server game to save progress in that moment.

GETTING ADMIN ON A VALHEIM SERVER

  1. Open your Valheim server panel and to the left under “SETTINGS”, press “Config Files”.
    Valheim server config files

  2. In your Valheim config files, edit the adminlist.txt file. This file should be the first file you are editing by default.
  3. Add each Valheim server player’s Steam64ID that you’d like to make an admin like this:
    Valheim adminlist.txt file

  4. You can use the SteamID.IO website to find a player’s Steam64ID.
  5. After adding each player you’d like to have as an admin on your server, press “Save changes” and then restart your server to make them administrators!

PLAYER COMMANDS FOR YOUR SERVER

These Valheim console commands are available to all players on your Valheim server and offer options to hide the map, ping the server to check the connection, use emotes, and more!

PLAYER COMMAND INFORMATION
Help [page] Used to see the available commands on the server.
S [message] Shouts a message in chat.
Say [message] Says a message in chat.
W [player] [message] Whispers a message directly to a player.
Ping Pings the server connection.
Nomap Hides the map while you play. On servers, hides the map for all players.
Noportals Toggles the key for no portals on the server.
Fov [number] Changes the FOV view of your player in game. Default is 120.
Info Displays current system information on the server.
Resetspawn Resets the spawn location.
Respawn Kills and respawns the player that runs this command.
Tutorialreset Resets all viewed tutorial messages.
Tutorialtoggle Sets whether tutorials should appear or not.
Optterrain Converts old terrain (before Update 0.150.3) in the nearby area to the new terrain system.
Bind [keycode] [command] Binds a custom command to a Unity keycode.
Unbind [keycode] Clears all custom command binds for a specific Unity keycode.
Printbinds Displays all current custom command binds.
Printseeds Prints seeds and positions of nearby dungeons in-game.
Resetbinds Removes all custom command binds.

GLOBAL KEY COMMANDS

Global key commands are commands that affect the entire server and occur during specific events and spawns. We will show you the different commands and keys you can use!

KEY COMMANDS INFORMATION
Listkeys Displays all currently set global keys.
Setkey [name] Adds a specific key to the server.
Resetkeys Removes all set keys that were added.
Removekey [name] Removes a specific key from the server.

LIST OF KEYS:

  • Nomap - Disables the map for all players.
  • Noportals - Disables all portals on the server.
  • Defeated_bonemass - Occurs when killing Bonemass.
  • Defeated_gdking - Happens when killing The Elder.
  • Defeated_goblinking - Set when killing Yagluth.
  • Defeated_dragon - Occurs when killing Moder.
  • Defeated_eikthyr - Happens when killing Eikthyr.
  • KilledTroll - Set when killing a Troll.
  • KilledBat - Occurs when killing a Bat.
  • Killed_surtling - Happens when killing a Surtling.

EMOTE COMMANDS

  • Point
  • Sit
  • Thumbsup
  • Wave
  • Cheer
  • Challenge
  • Nonono

SINGLE-PLAYER ONLY CHEAT COMMANDS

IMPORTANT COMMANDS

Cheat commands are commands that will only work on a single-player server and before you can use them, you must use the command “devcommands” in-game to allow for cheats.

IMPORTANT COMMANDS INFORMATION
Fly Toggles fly mode on the server / same as it is in debug mode.
Freefly Toggles usage of the free camera.
Gc Shows garbage collection information on the game.
Ghost Enables and disables ghost mode. While in ghost mode, enemies will ignore you.
God Toggles god mode for your player.
Heal Fully heals your player.
Addstatus [name] Adds the specified status effect to your player.
Hair [hair#] Permanently changes the hair of your character. Using only “hair” will remove your hair.
Beard [beard#] Permanently changes the beard of your character. Using only “beard” will remove your beard.
Model [0-1] Switches your character between being masculine and feminine.
ClearStatus Removes any status effect set to your player.
Dpsdebug Toggles the dps debug print.
Env [env] Sets the debug environment between any of the following: Clear, Twilight_Clear, Misty, Darklands_dark, Heath clear, DeepForest Mist, GDKing, Rain, LightRain, ThunderStorm, Eikthyr, GoblinKing, nofogts, SwampRain, Bonemass, Snow, Twilight_Snow, Twilight_SnowStorm, SnowStorm, Moder, Ashrain, Crypt, SunkenCrypt.
Event [name] Starts that specific named event.
Ffsmooth 1 Adds smooth movements to the free camera. Using “ffsmooth 0” resets this to normal.
Forcedelete [radius=0] Will remove objects in the radius set. The following objects will not be able to be removed: Players, tombstones, Valkyrie, Points of Interest, Dungeons, Vegvisirs, and Boss stones at the beginning of temples.
Killall Kills all nearby enemies and creatures, including tamed creatures on the map.
Nocost Toggles no cost mode for your game.
Players [number] Increases the difficulty of the game. Enter 0 to reset the difficulty to normal.
Puke Resets the fullness and hunger of a player back to default health and stamina.
Raiseskill [skill] [amount] Raises or lowers the specified skill for that player.
Resetskill [skill] Sets that specified skill back to 0 for that player.
Randomevent Begins a random event in your game.
Removedrops Removes all item drops in your game.
Wind [angle] [intensity] Increases and creases the direction and intensity of wind.
Resetwind Resets the wind angle and intensity in-game.
Save Forces the game to save at that moment.
Setpower [name] Adds the specified Forsaken power to your player and resets the cooldown.
Stopevent Stops any ongoing events in-game.
Test oldcomfort Reverts the game to an old non-optimized comfort calculation.

MAP & TELEPORT COMMANDS

MAP & TELEPORT COMMANDS INFORMATION
Exploremap Unveils the entire map.
Resetmap Hides the entire map.
Find [text] [pingmax] Locates and pings the specified objects on the map. Set pingmax to 1 for a ping and higher to place a pin on the map at that location.
Genloc Restributes all unplaced locations on the map.
Goto [x] [y] [z] Teleport your player to the specified coordinates. y is optional.
Location [name] Spawns in a location instance but permanently disables saving.
Pos Displays your player coordinates in the game.
Printlocations Displays a list of loaded locations, their distances, and offsets to players.

ITEM COMMANDS

ITEM COMMANDS INFORMATION
Spawn [entity] [amount] [level] Spawns in a specific item or creature with the given amount and level specified.
Itemset [name] [keep] Spawns in a premade item set for your player. Use the “keep” tag in the command to keep the items, otherwise, they will drop on the ground.

ITEM SETS

  • Meadows - Increases skills to 1, and adds wood & flint weapons with a bronze pickaxe.
  • BlackForest - Increases skills to 10 and adds wood & flint weapons.
  • Swamps - Increases skills to 10-20 and adds bronze weapons and armor.
  • Mountains - Increases skills to 25 and adds iron weapons and armor.
  • Plains - Increases skills to 35 and adds silver weapons and wolf armor.
  • PlainsBoss - Increases skills to 40 and adds blackmetal weapons and padded armor.
  • EndGame - Increases skills to 70 and adds upgraded blackmetal weapons and padded armor.

CREATURE COMMANDS

CREATURE COMMANDS INFORMATION
Spawn [entity] [amount] [level]] Spawns in a specific item or creature with the given amount and level specified.
Tame Tames all nearby creatures in your game.
Removebirds Clears all active birds off of your game.
Removefish Clears all active fish off of our game.
Printcreatures Displays a list of counts and levels of active creatures in the game.

TIME COMMANDS

TIME COMMANDS INFORMATION
Time Displays the current time and if sleeping is possible.
Timescale [target = 1] [fadetime = 0] Sets the speed of the game by up to 3x speed. Fadetime sets the duration of this speed. Setting the target to 0 will pause time.
Skiptime [seconds = 300] Time will skip ahead changing the day and time. Skipping time can cause various issues with the game including spawn zones no longer spawning in enemies, animals and plants no longer growing, and fermenters, smelters, and kilns will stop working until the time is back to normal.
Sleep Skips your game forward by one day.
Tod [0-1] Sets the time of day, where 0 and 1 are both midnight, 0.5 is noon, and -1 will set the time back to normal.

UNLOCKING DEBUG MODE / CREATIVE MODE

Debug mode, also known as creative mode, can be used to toggle fly and build without resources or a workbench. To begin using debug mode, type the command “debugmode” into the command console. You can type the command again to exit debug mode.

Once in debug mode, you will be able to access new abilities through specific buttons:

  • B - Toggles creative mode, allowing you to build without resources or a workbench.
  • L - Removes all dropped items in the area of your player.
  • Z - Toggles flying. Use “Spacebar” to go up and use “Ctrl” to go down.
  • K - Used to kill all enemies and creatures including tamed in the area around you.

CONCLUSION

In only a few short steps, Valheim console commands expand your server above and beyond to help you control your server players, disable and access unique features in the game, and skip through time! Whether you’re looking to only use simple commands to make the game harder such as disabling the map or taking to a relaxing time through debug mode building your dream Valhiem world, commands offer a bit of everything for every type of player! Invite all fellow Vikings and friends as you unlock these possibilities through Valheim console commands on your very own Valheim server!

Jun 22, 10:00 am
10460
Kevin Lott
Your reaction

0

0

1

0

0

0

0