Complete reference guide to Valheim admin commands for server management. Learn player management, world control, debugging commands with syntax examples and troubleshooting tips.
imacheater
and press Enter to enable admin/debug modeCommand | Syntax | Description |
---|---|---|
kick | kick [player_name] | Removes a player from the server |
ban | ban [player_name] | Permanently bans a player from the server |
unban | unban [player_name] | Removes a player from the ban list |
banned | banned | Lists all currently banned players |
Command | Syntax | Description |
---|---|---|
players | players | Shows all connected players and their IDs |
ping | ping | Displays your current ping to the server |
Command | Syntax | Description |
---|---|---|
skiptime | skiptime [seconds] | Advances time by specified seconds |
sleep | sleep | Skips to next morning |
tod | tod [0-1] | Sets time of day (0=midnight, 0.5=noon, 1=midnight) |
env | env [weather_type] | Changes weather (Clear, Twilight_Clear, Misty, Darklands_dark, Heath clear, DeepForest Mist, GDKing, Rain, LightRain, ThunderStorm, Eikthyr, GoblinKing, nofogts, SwampRain, Bonemass, Snow, Twilight_Snow, Twilight_Clear, Twilight_Rain, Ashrain, Crypt, SunkenCrypt) |
Command | Syntax | Description |
---|---|---|
save | save | Forces a world save |
resetmap | resetmap | Resets map exploration for all players |
exploremap | exploremap | Reveals the entire map |
resetcharacter | resetcharacter | Resets your character to level 1 |
Command | Syntax | Description |
---|---|---|
spawn | spawn [item_name] [quantity] [level] | Spawns items at your location |
removedrops | removedrops | Removes all item drops in the area |
Wood
, Stone
, FineWood
, CoreWood
, IronScrap
, Silver
, BlackMetal
LeatherScraps
, DeerHide
, TrollHide
, WolfPelt
, LinenThread
Honey
, Mushroom
, Carrot
, Turnip
, Barley
, Flax
CookedMeat
, Sausages
, FishCooked
, Bread
Hammer
, Axe
, Pickaxe
, Hoe
, Cultivator
SwordIron
, SpearFlint
, BowHuntsman
, ShieldWood
Command | Syntax | Description |
---|---|---|
spawn | spawn [creature_name] [quantity] [level] | Spawns creatures at your location |
killall | killall | Kills all nearby enemies |
tame | tame | Tames all nearby tameable creatures |
Greyling
, Greydwarf
, GreydwarfBrute
, GreydwarfShaman
Skeleton
, Draugr
, DraugrElite
, Blob
, Oozer
Troll
, Surtling
, Wraith
, StoneGolem
Boar
, Wolf
, Lox
Command | Syntax | Description |
---|---|---|
debugmode | debugmode | Enables creative building mode (no resource costs) |
god | god | Toggles god mode (invincibility) |
ghost | ghost | Toggles ghost mode (no collision, fly through objects) |
fly | fly | Enables flying mode |
freefly | freefly | Enables free camera mode |
Command | Syntax | Description |
---|---|---|
removebuilds | removebuilds | Removes all player-built structures in the area |
repair | repair | Repairs all structures within range |
Command | Syntax | Description |
---|---|---|
info | info | Shows system information and performance stats |
lodbias | lodbias [value] | Adjusts level of detail bias (0.5-5.0) |
dpsdebug | dpsdebug | Toggles damage per second debug display |
resetspawn | resetspawn | Resets your spawn point to default |
Command | Syntax | Description |
---|---|---|
connect | connect [ip:port] | Connects to a specific server |
disconnect | disconnect | Disconnects from current server |
Commands not working or 'Unknown command' error
imacheater
first to enable admin modeCan't kick or ban players
players
command to see correct player namesSpawned items not appearing
Weather or time commands not working
Building commands causing issues
debugmode
to toggle creative building on/offdebugmode
removes resource requirementsPerformance issues after using commands
killall
and removedrops
to clean up excess entities