Valheim Console and Cheat Commands

Valheim Console and Cheat Commands

Valheim Console And Cheat Command

Valheim Console Commands

To access the console in Valheim, press F5. This will display a prompt at the top left where you can enter commands. Console commands allow you to manipulate the game world in ways not normally possible. It is useful to have a Valheim server but you can do this if you are admin on any server.

How to Enable and Access the Console in Valheim

To enable and access the console in Valheim, follow these steps:

Verify Your Settings

First, you’ll need to enable console commands in Valheim. Open the game’s properties in Steam, select ‘SET LAUNCH OPTIONS...’ and enter ‘-console’. Then launch the game.

Accessing the Console

Once in-game, you can open the console by pressing F5 or FN + F5 on your keyboard. The console will appear at the top left of your screen.

To enter commands, simply type them into the console and press ENTER. For example, to give yourself some wood, enter ‘spawn Wood 10’ and press ENTER. You'll see 'Spawned 10 Wood' appear onscreen and the items will be added to your inventory.

Valheim Console Game Image

Valheim Character Commands

Command Description Variables
god Enables God mode, making the player invulnerable. N/A
ghost Makes the player invisible and ignored by enemies. N/A
heal Fully restores the player's health. N/A
raiseskill Increases a specified skill by a given amount. [skill] [amount]
resetcharacter Resets all your character's skills and inventory. N/A
tame Tames all nearby tameable animals. N/A
pos Displays your current coordinates. N/A
goto Teleports you to specified coordinates. [x] [y] [z]
settime Sets the time of day. [day] [time]
kill Kills the player instantly. N/A
sethealth Sets the player's health to a specified value. [value]
setstamina Sets the player's stamina to a specified value. [value]
setinventory Alters the player's inventory in a specified manner. [inventory specifications]
additem Adds a specified item to the player's inventory. [item] [amount]
removeitem Removes a specified item from the player's inventory. [item] [amount]
spawn Spawns a specified entity or object near the player. [entity] [amount]
setweather Changes the weather to a specified type. [weather type]
kick Kicks a player from the server (multiplayer). [player name]
ban Bans a player from the server (multiplayer). [player name]
unban Unbans a player from the server (multiplayer). [player name]

Valheim Map Console Commands

Command Description Variables
exploremap Reveals the entire map. N/A
resetmap Hides all map exploration. N/A
pos Displays your current coordinates. N/A
goto Teleports you to specified coordinates. [x] [y] [z]
settime Sets the time of day. [day] [time]
weather Changes the weather to a specified type. [weather type]
wind Changes the wind direction and intensity. [angle] [intensity]
resetwind Resets the wind to its default state. N/A
location Spawns a new location nearby, like a dungeon. [location type]
event Starts a named event. [event name]
stopevent Stops the current event. N/A
randomevent Starts a random event. N/A
spawn Spawns a specified entity or object near the player. [entity] [amount]
environment Changes or sets the environment. [environment type]
timeofday Changes the time of day immediately. [time]

Advanced Console Commands in Valheim to Modify Game Settings

As an experienced Valheim player, you may wish to access more advanced console commands to modify certain game settings. The following commands can be entered into the developer console to tweak various gameplay features:

To access the console, press F5. You will see a command line at the bottom of the screen where you can enter the following codes:

Valheim Item Console Commands

Command Description Variables
additem Adds a specified item to the player's inventory. [item ID] [quantity]
removeitem Removes a specified item from the player's inventory. [item ID] [quantity]
spawn Spawns a specified item or entity near the player. [item/entity ID] [quantity]
modifyitem Modifies an aspect of a specified item in the inventory. [item ID] [modification parameters]
duplicateitem Duplicates a specified item in the player's inventory. [item ID]
clearinventory Clears the player's entire inventory. N/A
setitemquality Sets the quality level of a specified item. [item ID] [quality level]
repairitem Repairs a specified item in the player's inventory. [item ID]

Valheim Mob Console Commands

Command Description Variables
spawn Spawns a specified mob near the player. [mob ID] [quantity]
killall Kills all nearby mobs. N/A
tame Tames all nearby tameable mobs. N/A
sethostile Sets the hostility status of a specified mob. [mob ID] [true/false]
setpassive Sets the passivity status of a specified mob. [mob ID] [true/false]
modifymob Modifies an aspect of a specified mob. [mob ID] [modification parameters]
teleportmob Teleports a specified mob to a set location. [mob ID] [x,y,z coordinates]
setmobhealth Sets the health of a specified mob. [mob ID] [health value]
setmobsize Sets the size of a specified mob. [mob ID] [size multiplier]
freeze Freezes or unfreezes a specified mob. [mob ID] [true/false]

Valheim Mob Console Commands

Command Description Variables
spawn Spawns a specified mob near the player. [mob ID] [quantity]
killall Kills all nearby mobs. N/A
tame Tames all nearby tameable mobs. N/A
aggravate Aggravates all nearby mobs, making them hostile. N/A
removebirds Removes all birds from the game world. N/A
removefish Removes all fish from the game world. N/A
killenemies Kills all enemies in the immediate area. N/A
printcreatures Prints a list of all creatures currently active in the game world. N/A
killtame Kills all tamed creatures in the game world. N/A

Valheim World Console Commands

Command Description Variables
resetmap Hides all map exploration. N/A
exploremap Reveals the entire map. N/A
settime Sets the time of day. [day] [time]
weather Changes the weather to a specified type. [weather type]
resetwind Resets the wind to its default state. N/A
wind Changes the wind direction and intensity. [angle] [intensity]
event Starts a named event. [event name]
stopevent Stops the current event. N/A
randomevent Starts a random event. N/A
save Forces the game to save. N/A
resetcharacter Resets all your character's skills and inventory. N/A
env Sets the current environment. [environment name]
resetenv Resets the environment to its default state. N/A
timeofday Changes the time of day immediately. [time]

Enviroments you can change to with the "env" command.

  • Clear
  • Twilight_Clear
  • Twilight_Snowstorm
  • Misty DeepForest
  • Darklands_dark
  • Heath clear
  • DeepForest
  • Mist
  • GDKing
  • Rain
  • LightRain
  • ThunderStorm
  • SnowStorm
  • SwampRain
  • AshRain
  • Bonemass
  • Eikthyr
  • Moder
  • Queen
  • GoblinKing
  • Crypt
  • SunkenCrypt
  • Caves
  • Mistlands_clear
  • Mistlands_rain
  • Mistlands_thunder
  • InfectedMine
  • nofogts

Events commands to be used with "event"

  • army_eikthyr
  • army_goblin
  • army_theelder
  • army_bonemass
  • army_moder
  • army_gjall
  • army_seekers
  • boss_eikthyr
  • boss_bonemass
  • boss_moder
  • boss_gdking
  • boss_goblinking
  • boss_queen
  • wolves
  • skeletons
  • blobs
  • foresttrolls
  • surtlings
  • bats

Valheim Server Admin Console Commands

Command Description Variables
ban Bans a player from the server. [name/ip/userID]
unban Unbans a player from the server. [name/ip/userID]
banned Displays a list of banned players. N/A
kick Kicks a player from the server. [name/ip/userID]
save Forces the server to save the game. N/A
info Displays system info. N/A
ping Checks the server's response time. N/A
lodbias Sets the level of detail bias. [number]
players Sets a limit for the number of players allowed. [number]
public Sets the server to public or private. [1/0]
resetcharacter Resets a player's character data. [player name]
setpassword Changes the server's password. [password]

Valheim Miscellaneous Commands

Command Description Variables
bind Bind a key to a console command. May cause conflicts with game controls. [keycode] [command and parameters]
clear Clear the console window. N/A
debugmode Fly mode. N/A
dpsdebug Toggle dps debug print. N/A
exclusivefullscreen Changes window to exclusive fullscreen or back to borderless. N/A
gc Shows garbage collector information. N/A
help Shows list of console commands. 1-5
info Print system info. N/A
listkeys N/A N/A
maxfps Sets FPS limit. [FPS]
printbinds Prints current binds. N/A
removekey N/A N/A
resetbinds Reset all custom binds to default. N/A
resetkeys Clear global keys. N/A
setkey Sets global key. [name]
tutorialreset Reset tutorial data. N/A
tutorialtoggle Toggles hugin hints. N/A

Valheim Camera Console Commands

Command Description Variables
freefly Enables free fly photo mode. N/A
ffsmooth Sets the smoothness of the free fly mode camera. [smoothness level]
tod Changes the time of day, affecting lighting and shadows in the camera view. [time]
fov Sets the camera's field of view. [FOV angle]
gfx Various graphics settings affecting camera visuals. [graphics settings]
lodbias Adjusts level of detail bias, affecting camera render distance. [bias level]
resetview Resets camera to the default view settings. N/A

Valheim Emote Console Commands

Command Description Variables
sit Makes the player character sit down. N/A
wave Triggers the wave emote. N/A
challenge Triggers the challenge emote. N/A
cheer Triggers the cheer emote. N/A
nonono Triggers the 'No No No' emote. N/A
thumbsup Triggers the thumbs up emote. N/A
point Triggers the point emote. N/A
come Triggers the 'come here' emote. N/A

Will using cheats disable achievements?

Yes, using console commands and cheats in Valheim will disable achievements for that world. If achievements are important to you, only enable cheats temporarily or play without cheats. You can always start a new world to earn achievements.

How do I reset a world to remove cheats?

To reset a Valheim world and re-enable achievements, you will need to delete the world and start a new one. Unfortunately, there is currently no way to reset an existing world. Make sure to backup your world data before deleting if you want to keep the world layout and builds.

Conclusion

As you have seen, Valheim offers a variety of console commands and cheat codes to enhance your gameplay experience. Whether you want to quickly travel across the map, spawn useful items, or make yourself invincible, there are commands to suit your needs. However, use these cheats sparingly and be aware that they can negatively impact your gameplay by reducing challenge and realism. For the best experience, only activate cheats when truly necessary to overcome obstacles or if you simply want to experiment and have fun. With a sprawling open world and engaging survival gameplay, Valheim has plenty to offer even without relying on cheats. So get out there, explore the lush meadows and imposing mountains, craft deadly weapons, build a longhouse, and conquer the beasts of Valheim—the old-fashioned way. The rewards of succeeding through skill and perseverance are so much greater.

Valheim गेम लोगो

Search Our Articles

Browse Sections

Share