Hello knowledge-thirsty Vikings if you are here then you want to discover how to enable codes, tips and console commands.
how to use Valheim Cheat Codes
To use the codes in Valheim, you must activate the command line, which is disabled by default. To enable it first open Steam -> open the library and right click on Valheim in the list of games.
Then go into “Properties” At the bottom, in the startup option, type “-console”. Now turn on the game and press F5 when you’re in the game, and with that you will see the command line.
Next step is going to type in “devcommands”, and you’ll see information about enabling cheats.
Now you can already use the following commands by typing them into the command line, to close the command line window simply press “F5” button.
Some commands do not require you to type “devcommands”, but they are for server management rather than cheating. We have placed them in a separate section.
valheim character cheat sheet commands
Command | Variables | Effect |
---|---|---|
addstatus | 54 variables possible, including: Burning, Cold, CorpseRun, Encumbered, Freezing, Rested | Adds status effect |
beard | 1-16 | Change beard |
clearstatus | Clear all status effects | |
die | Kills player | |
ghost | Become invisible to mobs | |
god | Invincible mode | |
hair | 1-23 | Change hair |
heal | Heal to full health and stamina | |
model | 0-1 | Change player model (0 masculine, 1 feminine) |
nocost | No build cost | |
nomap | Disables map for this character. If used as host, will disable for all joining players from now on. | |
puke | Empties your stomach of food | |
raiseskill | [skill] [amount] | Raises your skill |
resetcharacter | Reset character data | |
resetskill | [skill] | Resets your skill |
setpower | GP_Eikthyr GP_TheElder GP_Bonemass GP_Moder GP_Yagluth GP_Queen | Sets your current guardian power and resets cooldown |
valheim map cheat sheet commands
Command | Variables | Effect |
---|---|---|
exploremap | Explore entire map | |
find | [text] [pingmax] | Searches loaded objects and location list matching name and pings them on the map. Pingmax defaults to 1, if more will place pins on map instead |
genloc | Regenerate all locations | |
goto | [x,z] | Teleport to given coordinates |
location | [location] (148 variables) [SAVE] | Spawn a particular location – Warning: Saving permanently disabled, unless you specify SAVE |
nextseed | Forces the next dungeon to a seed – Warning: Saving permanently disabled | |
nomap | Disables map for this character. If used as host, will disable for all joining players from now on | |
optterrain | Optimize old terrain modifications | |
pos | Print current player position | |
printlocations | Shows counts of loaded locations | |
printseeds | Print seeds of loaded dungeons | |
recall | [name] | Recalls all players to you, or matching name if specified |
resetmap | Reset map exploration | |
resetsharedmap | Removes any shared map data from cartography table | |
resetspawn | Resets spawn location |
valheim items cheat sheet commands
Command | Variables | Effect |
---|---|---|
forcedelete | [radius] [*name] | Force remove all objects within given radius. If name is entered, only deletes items with matching names. Radius default 5, max 50. Use at your own risk, create backups first |
itemset | [name] [keep] Meadows BlackForest Swamps Mountains Plains PlainsBoss Mistlands MistlandsGear MistlandsMage MistlandsWarrior Fisherman | Spawn a premade named set, add ‘keep’ to not drop current items |
removedrops | Remove all item drops in area | |
spawn | [amount] [level] [p/e/i] | Spawn something. End word with a star * to create each object containing that word. Add a ‘p’ after to try to pick up the spawned items, ‘e’ to try to use/equip, ‘i’ to only spawn and pickup if you don’t have one in your inventory |
valheim World Mobs cheat sheet commands
Command | Effect |
---|---|
aggravate | Aggravate all nearby neutrals |
killall | Kill nearby creatures |
killenemies | Kill nearby enemies |
killtame | Kill nearby tame creatures |
printcreatures | Shows counts and levels of active creatures |
removebirds | Remove all birds |
removefish | Remove all fish |
tame | Tame all nearby tameable creatures |
valheim World cheat sheet commands
Command | Variables | Effect |
---|---|---|
env | 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 | Override environment (weather). |
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 | Start event |
noportals | Disables portals for server | |
players | [number] | Force difficulty scale. 0 = reset |
event | Start a random event | |
resetenv | Disables environment override | |
resetwind | Resets wind | |
save | Force saving of world and reset world save interval | |
skiptime | [gameseconds] | Skips ahead in seconds |
sleep | Skips to next morning | |
stopevent | Stops current event | |
time | Shows current time in-game | |
timescale | [target] [fadetime, default:1, max:3] | Sets timescale |
tod | -1, 0, 1 | Sets time of day |
valheim Server Admin cheat sheet commands
Command | Variables | Effect |
---|---|---|
ban | [name/ip/userID] | Ban user |
banned | List banned users | |
kick | [name/ip/userID] | Kick user |
ping | Show ping | |
restartparty | Restart playfab party network | |
unban | [ip/userID] | Unban user |
lodbias | Set draw distance for server |
valheim MISC cheat sheet commands
Command | Variables | Effect |
---|---|---|
bind | [keycode] [command and parameters] | Bind a key to a console command. May cause conflicts with game controls. |
clear | Clear the console window. | |
debugmode | Fly mode. | |
dpsdebug | Toggle dps debug print | |
exclusivefullscreen | Changes window to exclusive fullscreen or back to borderless | |
gc | Shows garbage collector information | |
help | 1-5 | Shows list of console commands |
info | Print system info | |
listkeys | ||
maxfps | [FPS] | Sets FPS limit |
printbinds | Prints current binds | |
removekey | ||
resetbinds | Reset all custom binds to default | |
resetkeys | Clear global keys | |
setkey | [name] | Sets global key |
tutorialreset | Reset tutorial data | |
tutorialtoggle | Toggles hugin hints |
VALHEIM CAMERA CHEAT SHEET COMMANDS
Command | Variables | Effect |
---|---|---|
fly | Toggles fly | |
freefly | Toggles free camera | |
ffsmooth | 1 or 0 | Adds/removes free camera smooth movement |
fov | [number] | Changes field of view |
How To Hide UI/HUD in Valheim?
It’s very simple and superb good for screenshots so they don’t have any of the non nessessary stuff of the canary or anything else you try to capture. To hide the UI/HUD in Valheim – press CTRL + F3.
Conclusion
Are you looking for more Valheim Guides? Why not check out our step by step guide on how to defeat each boss in the World of Valheim starting with Eikytr.
However that’s it for now. There’s a bit of it so I hope you won’t get lost in the search. Have fun with the creative mode and playing with the commands.