Console Commands

Complete list of all Valheim console commands — player, admin, dev, world modifier, and emote commands for dedicated servers.

This is the complete reference for every Valheim console command. Commands are case-sensitive — type them exactly as shown.

Open the Console

Add -console to your Steam launch options, then press F5 in-game to open the console.

📝 Note: Admin commands require your SteamID64 in the server's adminlist.txt. See Adding Admins. Dev commands require the Server Devcommands mod on dedicated servers — see Enable Dev Commands.

Player Commands

Available to all players, no permissions required.

CommandSyntaxDescription
helphelp [page]Show available commands
pingpingDisplay your latency to the server
infoinfoShow system and world information
diedieKill your character
respawnrespawnKill your character (same as die)
fovfov [number]Adjust field of view
lodbiaslodbias [1-5]Set draw distance (1 = lowest, 5 = highest)
maxfpsmaxfps [number]Set frame rate limit
saysay [message]Send a local chat message
ss [message]Shout a server-wide message
WW [player] [message]Whisper a message to a specific player
clearclearClear the console window
bindbind [keycode] [command]Bind a command to a key
unbindunbind [keycode]Clear a key binding
printbindsprintbindsShow current key bindings
resetbindsresetbindsRemove all custom key bindings
nomapnomapToggle map visibility
noportalsnoportalsToggle portal functionality
resetspawnresetspawnReset your spawn location to default
resetknownitemsresetknownitemsReset known items and recipes
resetsharedmapresetsharedmapRemove cartography table shared data
optterrainoptterrainOptimize old terrain modifications (reduces lag)
sortcraftsortcraft [type]Sort crafting list (name, type, weight, count)
filtercraftfiltercraft [text]Filter crafting list by text
printseedsprintseedsShow nearby dungeon seeds
crcrForce unload unused assets
exclusivefullscreenexclusivefullscreenToggle fullscreen mode
tutorialresettutorialresetReset viewed tutorials
tutorialtoggletutorialtoggleToggle tutorial popups

Press F2 to show connected players, network stats, and instance counts.

Emote Commands

Type these in the chat window (press Enter), not the console.

CommandAnimation
/sitSit down (enables resting near campfires)
/waveWave
/danceDance
/cheerCheer
/thumbsupThumbs up
/bowBow
/pointPoint
/laughLaugh
/flexFlex muscles
/challengeChallenge
/cryCry
/despairDespair
/roarRoar
/shrugShrug
/blowkissBlow kiss
/comehereBeckoning gesture
/cowerCower
/headbangHeadbang
/kneelKneel
/nononoFinger wag
/relaxLean back
/toastRaise a drink
/restComfortable sitting
/vibeVibe

Admin Commands

Require your SteamID64 in the server's adminlist.txt.

CommandSyntaxDescription
kickkick [name/ip/userID]Kick a player from the server
banban [name/ip/userID]Ban a player from the server
unbanunban [name/ip/userID]Remove a player's ban
bannedbannedList all banned players
savesaveForce save the world

World Modifier Commands

Admin-level commands to change world settings.

CommandSyntaxDescription
setworldmodifiersetworldmodifier [name] [value]Change a world modifier
setworldpresetsetworldpreset [name]Apply a difficulty preset
resetworldkeysresetworldkeys [name]Reset world modifiers to default
setkeysetkey [name]Enable a global key
removekeyremovekey [name]Remove a global key
listkeyslistkeysShow all active global keys
resetkeysresetkeysRemove all global keys

Modifier Names and Values

ModifierValues
Combatveryeasy, easy, hard, veryhard
DeathPenaltycasual, veryeasy, easy, hard, hardcore
Resourcesmuchless, less, more, muchmore, most
Raidsnone, muchless, less, more, muchmore
Portalscasual, hard, veryhard

Preset Names

Normal, Casual, Easy, Hard, Hardcore, Immersive, Hammer

Global Keys

KeyEffect
NoBuildCostFree building and crafting
NoCraftCostFree crafting
NoMapDisable the map
NoPortalsDisable portals
NoBossPortalsDisable boss sacrifice portals
NoWorkbenchBuild without workbenches
PassiveMobsCreatures don't attack unless provoked
PlayerEventsEvents only trigger near players
FireEnable fire spreading
DeathDeleteItemsDelete all items on death
DeathDeleteUnequippedDelete unequipped items on death
DeathKeepEquipKeep equipped items on death
DeathSkillsResetReset skills on death
DungeonBuildAllow building in dungeons
TeleportAllAllow all items through portals
AllPiecesUnlockedUnlock all building pieces
AllRecipesUnlockedUnlock all crafting recipes

💡 Tip: Type save after changing modifiers to save immediately.

Dev Commands

Require the Server Devcommands mod on dedicated servers. Type devcommands in the console to enable, then debugmode to activate keyboard shortcuts.

Debug Mode Keyboard Shortcuts

KeyAction
ZToggle flight (Space = up, Ctrl = down)
BToggle creative mode (no build cost)
KKill nearby enemies
LRemove nearby item drops
Ctrl + Middle Mouse (on map)Teleport to cursor location

Movement and Teleportation

CommandSyntaxDescription
godgodToggle invincibility
ghostghostEnemies ignore you
flyflyToggle flight mode
freeflyfreeflyDetached free camera
gotogoto [x] [z]Teleport to coordinates
posposShow your current position
recallrecall [name]Teleport players to you (omit name for all)
findtpfindtp [text]Teleport to nearest matching object

Spawning and Items

CommandSyntaxDescription
spawnspawn [name] [amount] [level]Spawn items or creatures
nocostnocostToggle free crafting
itemsetitemset [name]Spawn a premade loadout

Itemset names: Meadows, BlackForest, Swamps, Mountains, Plains, PlainsBoss, Mistlands, MistlandsGear, MistlandsMage, MistlandsWarrior, Fisherman

Combat and Creatures

CommandSyntaxDescription
healhealRestore full health, stamina, and eitr
pukepukeReset hunger, return to default HP/stamina
killallkillallKill all nearby creatures (including tamed)
killenemieskillenemiesKill only hostile creatures nearby
killtamekilltameKill only tamed creatures nearby
tametameTame all nearby tameable creatures
aggravateaggravateAggravate neutral creatures within 20m
playersplayers [number]Set difficulty scaling (0 = reset)
removedropsremovedropsRemove nearby item drops
removebirdsremovebirdsRemove all birds
removefishremovefishRemove all fish

Skills and Status

CommandSyntaxDescription
raiseskillraiseskill [skill] [amount]Increase a skill level (use "All" for all skills)
resetskillresetskill [skill]Reset a skill to 0 (use "All" for all)
resetcharacterresetcharacterReset all character data
addstatusaddstatus [name]Add a status effect
clearstatusclearstatusRemove all status effects
setpowersetpower [name]Set Forsaken power and reset cooldown

Forsaken power names: GP_Eikthyr, GP_TheElder, GP_Bonemass, GP_Moder, GP_Yagluth, GP_Queen, GP_Fader

Time and Weather

CommandSyntaxDescription
todtod [0-1]Set time of day (0/1 = midnight, 0.5 = noon, -1 = revert)
skiptimeskiptime [seconds]Skip forward in time (default 240)
sleepsleepAdvance one full game day
timescaletimescale [speed]Set time speed (max 5, 0 = pause)
envenv [name]Set weather/environment
resetenvresetenvReset weather to default
windwind [angle] [intensity]Set wind (angle 0-360, intensity 0-1)
resetwindresetwindReset wind to default

Weather names: Clear, LightRain, Rain, ThunderStorm, Snow, SnowStorm, SwampRain, Misty, Ashrain, Darklands_dark, DeepForest Mist

Events

CommandSyntaxDescription
eventevent [name]Start a named event
randomeventrandomeventStart a random event
stopeventstopeventStop the current event

Event names:

Event IDMessage
army_eikthyr"Eikthyr rallies the creatures of the forest"
army_theelder"The forest is moving..."
army_bonemass"A foul smell from the swamp"
army_moder"A cold wind blows from the mountains"
army_goblin"The horde is attacking"
army_gjall"What's up, Gjall!?"
army_seekers"They sought you out"
foresttrolls"The ground is shaking"
blobs"A foul smell from the swamp"
skeletons"Skeleton Surprise"
surtlings"There's a smell of sulfur in the air"
wolves"You are being hunted"
bats"You stirred the cauldron"

World and Map

CommandSyntaxDescription
exploremapexploremapReveal the entire map
resetmapresetmapRe-cover the map with fog
findfind [text]Find and pin matching objects on map
genlocgenlocRegenerate unplaced world locations
forcedeleteforcedelete [radius]Remove objects within radius (max 50m)

Appearance

CommandSyntaxDescription
beardbeard [number]Change beard (omit number to remove)
hairhair [number]Change hair (omit number to remove)
modelmodel [0/1]Switch body type (0 = masculine, 1 = feminine)

See also: Adding Admins | Enable Dev Commands | Spawn Items | Ban and Kick Players | World Modifiers

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page