Reference

Joining

Valheim → Start Game → Join Game → Join by code → the join code (on the Status page after sign-in, or ask in Discord). Steam and Switch 2. The server is whitelist-only (no password) — send Zach your Steam ID64 or your Nintendo player ID.

Server commands (concierge, admin page)

say <text>Broadcast a message to everyone in game
saveForce a world save now
give <player> <prefab> [count] [quality]Spawn an item at a player's feet (server-side, no client mods)

Vanilla console commands (your own world / host only)

Press F5 in game (add -console to Steam launch options). Type devcommands first. These do not work on the dedicated server for players — use the admin page's give command instead.

devcommandsToggle cheat commands (single-player / host only)
godInvulnerability
ghostMonsters ignore you
flyFly mode
spawn <prefab> [count] [level]Spawn an item or creature
tod <0-1>Time of day
skiptime <s>Advance world time
env <name>Force weather
healFull heal
pukeClear food
raiseskill <skill> <n>Raise a skill
resetcharacterWipe character
posPrint your coordinates
goto <x> <z>Teleport
location <name>Reveal/teleport to location
exploremap / resetmapReveal or hide the map
tame / killall / removedropsArea tools
saveSave the world
kick <name/ip/id> · ban · unban · bannedModeration
lodbias <0.1-5>Draw distance
infoServer info
pingPing to server

Common prefab names

SwordIronIron sword
AxeIronIron axe
PickaxeIronIron pickaxe
SpearChitinAbyssal harpoon
ShieldRootRoot shield
BowFineWoodFinewood bow
HammerHammer
HoeHoe
CultivatorCultivator
ArmorIronChest / ArmorIronLegs / HelmetIronIron armor set
CoinsCoins
DragonEggDragon egg
PortalPortal (placeable)

House rules