Skip to content

Valheim Console Commands

145 commands

The complete reference for Valheim console commands — every cheat, debug, and admin command with what it does and how to use it.

Press F5 to open the console, type devcommands to enable cheats, then run any command — for example god for godmode or fly to toggle flight. Search the full list below.

achievements

achievements

Player

shows player achievement info

Parameters 0
addstatus

addstatus [status effect]

Cheat

This command will add the specified status effect.

Parameters 1
adrenaline

adrenaline

Admin

sets adrenaline level

Parameters 0
aggravate

aggravate

Cheat

This command aggravates neutral entities within a 20-meter radius.

Parameters 0
altbioms

altbioms

Cheat

list of biomes with modifiers

Parameters 0
ban

ban [name/ip/userID]

Admin

This command bans the specified user based on their name, IP address, or userID.

Parameters 1
banned

banned

Admin

This command displays a comprehensive list of all users who have been banned.

Parameters 0
beard

beard [beard number]

Cheat

This command permanently changes your beard. If used without an argument, it removes your beard.

Parameters 1
bind

bind [keycode] [command]

Player

This command allows you to assign a specific action or command to a particular key.

Parameters 2
biomeinfo

biomeinfo

Cheat

info about current biome sector

Parameters 0
catch

catch

Cheat

[fishname] [level] simulates catching a fish

Parameters 0
challenge

/challenge

Emote

This command triggers the challenge emotion animation for your character.

Parameters 0
cheer

/cheer

Emote

This command makes your character perform a cheering animation.

Parameters 0
cinematic

cinematic

Cheat

[name] play cinematic

Parameters 0
cinematicsleep

cinematicsleep

Cheat

[name] play cinematic on next sleep for everyone

Parameters 0
clear

clear

Player

This command clears the text within the console window.

Parameters 0
clearpopups

clearpopups

Player

stops all current unlock UI messages

Parameters 0
clearstatus

clearstatus

Cheat

This command removes all active status effects, both positive and negative.

Parameters 0
confirmcheats

confirmcheats

Cheat

Registered console command.

Parameters 0
cr

cr

Cheat

unloads unused assets

Parameters 0
debugmode

debugmode

Cheat

fly mode

Parameters 0
devcommands

devcommands

Player

enables cheats

Parameters 0
die

die

Player

kill yourself

Parameters 0
dpsdebug

dpsdebug

Cheat

This command toggles the dps debug print on and off.

Parameters 0
env

env [env ID]

Cheat

This command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).

Parameters 1
event

event [event ID]

Cheat

This command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).

Parameters 1
exclusivefullscreen

exclusivefullscreen

Player

changes window mode to exclusive fullscreen, or back to borderless

Parameters 0
exploremap

exploremap

Cheat

This command reveals the entire game map.

Parameters 0
ffsmooth

ffsmooth [0|1]

Cheat

This command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.

Parameters 1
filtercraft

filtercraft

Player

[name] filters crafting list to contain part of text

Parameters 0
find

find [text] [pingmax]

Cheat

This command finds and pings matching objects on the map, placing pins if required.

Parameters 2
findbiome

findbiome

Cheat

marks center of all biomes on map of type or containing modifier with search string

Parameters 0
findbiometp

findbiometp

Cheat

finds the closest biome matching your search and teleports you to it

Parameters 0
findtp

findtp

Cheat

[text] [index=-1] [closerange=30] searches loaded objects and location list matching name and teleports you to the closest one outside of closerange. Specify an index to tp to any other in the found list, a minus value means index by closest.

Parameters 0
fly

fly

Cheat

This command toggles flight mode.

Parameters 0
forcedelete

forcedelete [radius] [name]

Cheat

This command removes objects within a specified radius, as well as optionally specific objects if a name is provided.

Parameters 2
fov

fov [number]

Player

Adjusts the field of view in the game to the specified number.

Parameters 1
freefly

freefly

Cheat

This command enables or disables the free camera mode.

Parameters 0
gc

gc

Cheat

This command displays garbage collection information.

Parameters 0
genloc

genloc

Cheat

This command redistributes all unplaced game locations.

Parameters 0
getstat

getstat

Player

get specific stat

Parameters 0
ghost

ghost

Cheat

This command toggles ghost mode where enemies ignore the player.

Parameters 0
god

god

Cheat

This command activates god mode.

Parameters 0
goto

goto [x] [z]

Cheat

This command teleports the player to given coordinates.

Parameters 2
hair

hair [hair number]

Cheat

This command permanently alters your hairstyle. If used without an argument, it removes your hair.

Parameters 1
haslocation

haslocation

Cheat

check if zone has location

Parameters 0
heal

heal

Cheat

This command restores your health to maximum.

Parameters 0
height

height

Player

prints height from worldgen at current position

Parameters 0
help

help [page] [page count]

Player

This command displays available commands, with optional parameters to specify which portion to view.

Parameters 2
hidebetatext

hidebetatext

Player

This command toggles the visibility of any beta-related text in the game.

Parameters 0
info

info

Player

This command provides details about the current system settings.

Parameters 0
inventoryclean

inventoryclean

Player

throws out any items in inventory on invalid positions

Parameters 0
inventorysize

inventorysize

Cheat

sets inventory size

Parameters 0
itemset

itemset [set name] [keep]

Cheat

This command spawns a premade set of items. View all sets below. Include the `keep` flag to keep current items; if not included, current items will be dropped.

Parameters 2
kick

kick [name/ip/userID]

Admin

This command kicks out the specified user based on their name, IP address, or userID.

Parameters 1
killall

killall

Cheat

This command kills all nearby enemies and tamed creatures.

Parameters 0
killenemies

killenemies

Cheat

This command kills all nearby enemies.

Parameters 0
killenemycreatures

killenemycreatures

Admin

kill nearby enemies

Parameters 0
killtame

killtame

Cheat

This command eliminates all nearby tamed creatures.

Parameters 0
listkeys

listkeys

Cheat

This command lists all global keys in the game.

Parameters 0
location

location [location ID]

Cheat

This command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location).

Parameters 1
lodbias

lodbias [number]

Player

This command adjusts the server's draw distance with values between 1 and 5.

Parameters 1
maxfps

maxfps

Player

[FPS] sets fps limit

Parameters 0
model

model [0-1]

Cheat

This command switches the player's character model from masculine to feminine.

Parameters 1
nextseed

nextseed

Cheat

This command forces the next dungeon to generate based on a new seed, disabling game saving.

Parameters 0
nocost

nocost

Cheat

This command toggles no-cost mode.

Parameters 0
nomap

nomap

Player

This command toggles the map's visibility. If applied on the server, it also toggles the global key.

Parameters 0
nonono

/nonono

Emote

This command triggers the "nonono" emotion animation for your character.

Parameters 0
noportals

noportals

Player

This command, when used on a server, toggles the global key related to portal usage.

Parameters 0
nospawn

nospawn

Cheat

toggles natural spawning of monsters

Parameters 0
optterrain

optterrain

Player

This command converts older terrain modifications in the vicinity to the updated system.

Parameters 0
pevents

pevents

Admin

Subcommands: [list/start/stop/here]

Parameters 0
ping

ping

Player

This command measures the latency between you and the server.

Parameters 0
players

players [difficulty]

Cheat

This command modifies the game difficulty scale. Use `0` to reset the difficulty.

Parameters 1
point

/point

Emote

This command triggers the point emotion animation.

Parameters 0
pos

pos

Cheat

This command displays the player's coordinates.

Parameters 0
printbinds

printbinds

Player

This command lists all custom commands currently bound to keys.

Parameters 0
printcreatures

printcreatures

Cheat

This command shows counts and levels of all active creatures.

Parameters 0
printlocations

printlocations

Cheat

This command lists all loaded game locations and their distance from the player.

Parameters 0
printnetobj

printnetobj

Cheat

[radius = 5] lists number of network objects by name surrounding the player

Parameters 0
printseeds

printseeds

Player

This command shows the seeds and positions of dungeons in the vicinity.

Parameters 0
puke

puke

Cheat

This command resets player fullness or hunger.

Parameters 0
raiseskill

raiseskill [skill] [amount]

Cheat

This command raises or lowers a specified skill by the amount entered. A negative number will lower the skill level. The maximum level for each skill is `100`. View all skill IDs here: [valheimcheats.com/skill](/skill).

Parameters 2
randomevent

randomevent

Cheat

This command triggers a random game event.

Parameters 0
recall

recall [name]

Cheat

This command teleports all players matching the specified name to your position. If the name is not specified, then all players will be teleported to your location.

Parameters 1
removebirds

removebirds

Cheat

This command removes all active birds from the game.

Parameters 0
removedrops

removedrops

Cheat

This command eliminates all item drops in the vicinity.

Parameters 0
removefish

removefish

Cheat

This command gets rid of all active fish.

Parameters 0
removekey

removekey [global key]

Cheat

This command removes the specified global key to the game. View all Global Keys here: [valheimcheats.com/global-key](/global-key).

Parameters 1
repairall

repairall

Cheat

repairs all equipment

Parameters 0
resetbinds

resetbinds

Player

This command removes all custom key binds.

Parameters 0
resetbuildui

resetbuildui

Player

Resets build ui save data that stores recent and favorites

Parameters 0
resetcharacter

resetcharacter

Cheat

This command resets all character data for the player.

Parameters 0
resetenv

resetenv

Cheat

This command reverts the debug environment to its default setting.

Parameters 0
resetkeys

resetkeys

Cheat

This command removes all global keys.

Parameters 0
resetknownitems

resetknownitems

Player

reset character known items & recipes

Parameters 0
resetmap

resetmap

Cheat

This command hides the entire game map.

Parameters 0
resetplayerprefs

resetplayerprefs

Player

Resets any saved settings and variables (not the save game)

Parameters 0
resetsharedmap

resetsharedmap

Player

This command clears the shared map data from the cartography table.

Parameters 0