Below you can find Commands.gg's complete, up-to-date list of all 91 Valheim console commands, these are commonly referred to as cheats.
Before you can use Valheim cheat codes and console commands, you need to enable the console. See this guide to learn how to do this.
Once you've enabled the console, press the F5 key on your keyboard to open it (press again to close). Type a command from the below list into the console and hit ENTER to run it.
Commands tagged Cheat require you to first run the command devcommands before they will work. Commands tagged with Admin require your Steam ID (or user ID) to be in the server's admin list.
Click the "Table View" and "Card View" buttons to change how the commands are displayed. You can search for a specific command by typing its name into the search box below.
Name | Syntax | Description |
---|---|---|
location | location [location id] [save] | This command spawns the specified location instance. If you don't specify "SAVE" at the end of the command, it will permanently disable world saving. See all codes on our location ID list. Cheat |
spawn | spawn [entity id] [amount] [level] | This command spawns the specified amount of items or characters. See our item ID list and character ID list for entity IDs. Level only affects characters. Using a level higher than 10 can cause the game to crash upon their death, due to the amount of item drops. Cheat |
fly | fly | This command enables and disables (toggles) fly mode for your character. Cheat |
ghost | ghost | This command enables and disables (toggles) ghost mode for your charcter. This prevents enemies from attacking your character. Cheat |
bind | bind [key code] [command] | This command binds the specified command to the selected keycode. Player |
freefly | freefly | This command enables and disables (toggles) free camera mode for your chracter. Cheat |
god | god | This enables and disables (toggles) god mode for your character. Cheat |
challenge | challenge | This command causes your character to display the "challenge" emotion. Player |
cheer | cheer | This command causes your character to display the "cheer" emotion. Player |
clear | clear | This command removes all previously entered commands from the console display. Player |
fov | fov [number] | This command changes the field of view to the specified value, with 120 being the default. Player |
hidebetatext | hidebetatext | This command enables and disables (toggles) the display of beta text. Player |
help | help [page] [page count] | This command displays available commands. Using certain arguments will display certain sections of the command list. Player |
info | info | This command displays the current system information. Player |
lodbias | lodbias [number] | This command changes the draw distance of the server to the specified value (the value can only be set between 1-5). Player |
nomap | nomap | This command enables and disables (toggles) the map display. Player |
noportals | noportals | This command removes all portals from player piece tables. Whilst players will be unable to construct new portals, admins will still have the ability. Player |
nonono | nonono | This command causes your character to display the "Nonono" emotion. Player |
optterrain | optterrain | This command updates outdated terrain to the new system within the nearby area (only works with terrain generated prior to update 0.150.3). Player |
point | point | This command causes your character to display the "point" emotion. Player |
ping | ping | This command displays your ping at the top of the screen. Player |
printbinds | printbinds | This command displays all of your current keybinds. Player |
printseeds | printseeds | This command displays the seeds and locations of nearby dungeons. Player |
resetbinds | resetbinds | This command removes all of your current keybinds. Player |
resetspawn | resetspawn | This command resets the current spawn location. Player |
respawn | respawn | This command kills your character. Player |
s | s | This command shouts your chat message, making it visible to everyone on the server. Player |
say | say | This command says your chat message, making it visible only to nearby players. Player |
sit | sit | This command causes your character to display the "sit" emotion. Player |
thumbsup | thumbsup | This command causes your character to display the "thumbs up" emotion. Player |
tutorialreset | tutorialreset | This command resets all of your viewed tutorial messages. Player |
tutorialtoggle | tutorialtoggle | This command enables and disables (toggles) the display of tutorial messages. Player |
unbind | unbind [key code] | This command unbinds all of your commands from the specified keycode. Player |
wave | wave | This command causes your character to display the "wave" emotion. Player |
W | w [player] | This command whispers your chat message to a specified player, making it only visible to them. Player |
ban | ban [name / ip / user id] | This commands bans the specified player from the server. Admin |
banned | banned | This command displays all currently banned players. Admin |
kick | kick [name / ip / user id] | This command kicks the specified player from the server. Admin |
save | save | This command forces a world save. Admin |
unban | unban [name / ip / user id] | This command unbans the specified player from the server. Admin |
addstatus | addstatus [status effect id] | This command adds the specified status effect to your character. Cheat |
beard | beard [beard number] | This command changes your beard, with values only ranging between 1-4. Without an argument this command will remove your current beard. Cheat |
clearstatus | clearstatus | This command removes all status effects from your character. Cheat |
dpsdebug | dpsdebug | This command enables and disables (toggles) the dps debug display. Cheat |
env | env [id] | This command sets the debug environment to the specified argument. Cheat |
exploremap | exploremap | This command reveals the entire map (even if areas have not been explored). Cheat |
event | event [name] | This command starts the specified event. Cheat |
ffsmooth 1 | ffsmooth 1 | This command smoothens your camera movements. Cheat |
ffsmooth 0 | ffsmooth 0 | This command resets your camera movements to default. Cheat |
forcedelete | forcedelete [radius] [name] | This command removes all objects within the specified radius from your character. If a specified object name is entered, only that object will be removed. Cheat |
find | find [text] [max pings] | This command pings the specified object on your map. If the pingmax amount is greater than the default value of 1, it will pin the location instead. Cheat |
gc | gc | This command displays garbage collection information. Cheat |
genloc | genloc | This command relocates all currently unplaced locations. Cheat |
goto | goto [x] [z] | This command teleports your character to the specified coordinates. Cheat |
hair | hair [hair number] | This command changes your hairstyle, with values only ranging between 1-4. Without an argument this command will remove your current hairstyle. Cheat |
heal | heal | This command heals your character to full health. Cheat |
itemset | itemset [name] [keep] | This command gives your character a specified premade item set. Without the use of the "keep" argument, all of your current inventory items will be dropped. Item sets are (without quotes): "Meadows" (skills set to one, wood and flint weapons, bronze pickaxe), "BlackForest" (skills set to 10, wood and flint weapons), "Swamps" (skills set to a number between 10 and 20, bronze weapons, bronze armor), "Mountains" (skills set to 25, iron weapons, iron armor), "Plains" (skills set to 35, silver weapons, wolf armor), "PlainsBoss" (skills set to 40, blackmetal weapons, padded armor), "EndGame" (skills set to 70, upgraded blackmetal weapons, padded armor). Cheat |
killall | killall | This command kills all nearby enemies and creatures, including tamed animals. Cheat |
listkeys | listkeys | This command displays all global keys. Cheat |
model | model [0 / 1] | This command changes your character from masculine to feminine, and vice versa. Cheat |
nextseed | nextseed | This command forces the next dungeon seed, however permanently disables world saving. Cheat |
nocost | nocost | This command enables and disables (toggles) the no cost build mode. This allows your character to build without having the required materials. Cheat |
players | players [number] | This command adjusts the difficulty scale. Using 0 as the argument will reset the difficulty. Cheat |
pos | pos | This command displays the coordinates of your current position. Cheat |
printcreatures | printcreatures | This command displays the amount and levels of active creatures. Cheat |
printlocations | printlocations | This command displays all loaded locations and their distance from your character. Cheat |
puke | puke | This command resets your character's hunger levels, returning you to default health and stamina. Cheat |
raiseskill | raiseskill [skill id] [amount] | This command raises the specified skill by a specified amount for your character. Cheat |
randomevent | randomevent | This command starts a random event nearby. Cheat |
recall | recall [name] | This command teleports the specified player to your position. Cheat |
removebirds | removebirds | This command removes all current active birds in the server. Cheat |
removedrops | removedrops | This command removes all dropped items within the nearby area. Cheat |
removefish | removefish | This command removes all current active fish in the server. Cheat |
removekey | removekey [name] | This command removes the specified global key. Cheat |
resetcharacter | resetcharacter | This command resets all of the data for your character. Cheat |
resetenv | resetenv | This command resets the current debug environment. Cheat |
resetkeys | resetkeys | This command removes all global keys. Cheat |
resetmap | resetmap | This command removes all previously explored areas from the map. Cheat |
resetskill | resetskill [skill id] | This command resets the specified skill, setting its level to 0. Cheat |
resetwind | resetwind | This command resets the wind's direction and speed. Cheat |
save | save | This command forces a world save. Cheat |
setkey | setkey [name] | This command adds a specified global key. Cheat |
setpower | setpower [name] | This command grants your character with the specified Forsaken Power. It will also reset the cooldown for the power. Cheat |
skiptime | skiptime [seconds] | This command fasts forwards the game for the specified amount of time. Cheat |
sleep | sleep | This command fasts forwards the game for one day. Cheat |
stopevent | stopevent | This command stops the current event. Cheat |
tame | tame | This command tames all creatures nearby to your character. Cheat |
time | time | This command displays the current world time, and whether your character is able to sleep. Cheat |
timescale | timescale [multiplier] [fade time] | This command changes the rate at which time passes. The fastest value time can pass at is 3, and using a value of 0 will pause time. Cheat |
tod | tod [0 - 1] | This command sets the time of day, with values 0 and 1 both being midnight. Using the value of -1 will change back to default time. Cheat |
wind | wind [angle (0 - 360)] [intensity] | This command sets the speed and direction of the wind. The angle value must be between 0 and 360, with 0 blowing North, and intensity being between 0 and 1. Cheat |