🧟 Build 42: 25% off with codeSP25
ValheimValheim·Server Administration

Valheim Admin Commands and Server Management

Complete list of Valheim admin and console commands for managing your dedicated server, players, and world.

Noah
·
3 min read
·
March 15, 2024
·
Last updated: August 5, 2026
Table of Contents

Valheim Admin Commands and Server Management

This guide covers all the essential admin commands for managing your Valheim dedicated server, including player management, server control, and in-game commands.

Setting Up Admin Access

Before using admin commands, you need to add yourself as an admin:

  1. Find your Steam64 ID - use steamid.io to look it up
  2. Go to your server's File Manager in the control panel
  3. Navigate to /.config/unity3d/IronGate/Valheim/
  4. Open or create the file adminlist.txt
  5. Add your Steam64 ID (one per line)
  6. Save the file and restart the server

Using the In-Game Console

Once you're set as admin:

  1. Join your server
  2. Press F5 to open the console
  3. Type devcommands to enable admin commands
  4. You can now use all commands listed below

Player Management Commands

Command Description
kick [name/ip] Kick a player from the server
ban [name/ip] Ban a player from the server
unban [name/ip] Remove a player's ban
banned List all banned players
ping Show your current latency
lodbias [0-5] Adjust the draw distance
info Show system information

Server Console Commands

These commands can be used directly in the control panel console:

Command Description
save Force a world save
help List all available commands

In-Game Admin Commands

With devcommands enabled, you have access to:

World Commands

Command Description
pos Show your current coordinates
goto [x,y,z] Teleport to coordinates
exploremap Reveal the entire map
resetmap Re-hide the entire map
tod [0-1] Set time of day (0/1 = midnight, 0.5 = noon)
skiptime [seconds] Skip forward in time
sleep Skip to next morning
wind [angle] [intensity] Set wind direction and strength
resetwind Reset wind to normal

Player Commands

Command Description
god Toggle god mode (invincibility)
ghost Toggle ghost mode (enemies ignore you)
fly Toggle fly mode
nocost Toggle free building (no resource cost)
tame Tame all nearby creatures
heal Fully heal your character
puke Reset hunger and food effects
raiseskill [skill] [amount] Raise a skill level
resetskill [skill] Reset a specific skill to 0

Spawn Commands

Command Description
spawn [item] [quantity] [level] Spawn an item or creature
removedrops Remove all item drops in the area

Managing Permitted and Banned Players

Adminlist, Bannedlist, and Permittedlist

These files are located in /.config/unity3d/IronGate/Valheim/:

  • adminlist.txt - Steam64 IDs of players with admin privileges
  • bannedlist.txt - Steam64 IDs of banned players
  • permittedlist.txt - Steam64 IDs for whitelist mode

Each file takes one Steam64 ID per line.

Enabling Whitelist Mode

To restrict your server to only permitted players:

  1. Add player Steam64 IDs to permittedlist.txt
  2. Only listed players will be able to connect

Tips and Best Practices

  • Don't abuse devcommands - Using spawn/god mode can reduce the fun for other players
  • Back up before experimenting - Some commands can permanently change your world
  • Use admin permissions wisely - Only grant admin to trusted players
  • Keep banned list updated - Regularly review and clean up your ban list

Need help with server management? Contact our 24/7 support team.

Valheim

Ready to play Valheim?

Get your own server running in minutes.