Having access to the developer console in Valheim is essential for server owners. It allows you to kick rule-breakers, manage your server settings, and check on server performance. However, the developers disabled the console by default, so pressing F5 will not do anything until you turn it on.
Enabling the console is incredibly easy and only takes a few seconds in your Steam settings. Let us get it unlocked so you can start managing your Viking world.
To use admin commands on a dedicated multiplayer server, your Steam64 ID must first be added to the server's
adminlist.txt file! If you have not done this yet, follow the admin guide in Related Guides below.
Step 1: Enable the Console in Steam
We need to add a quick launch argument to the game so it knows to load the console feature when it boots up.
-console into the box.
Step 2: Open the Console In-Game
Now that the setting is active, launch Valheim and connect to your server. Once you are loaded in, simply press the F5 key on your keyboard. A dark grey box should drop down from the top of your screen. This is the developer console!
Basic Multiplayer Commands
If you are an admin on your dedicated server, you can type these commands into the console to manage your world and players:
helpDisplays a list of all available commands.
kick [name/ip/userID]Kicks a specific player from the server.
ban [name/ip/userID]Permanently bans a player.
unban [ip/userID]Unbans a player.
bannedShows a full list of currently banned players.
pingDisplays your current connection latency to the server.
lodbias [number]Sets the draw distance for your server.
infoPrints current system and connection information.
Can I Use Cheats (Devcommands)?
In vanilla Valheim, cheats (like God Mode, free building, or item spawning) are completely restricted to single-player or locally-hosted worlds. Even if you are an admin, typing devcommands on a dedicated MintServers host will just return an error.
If you want to use cheats on your dedicated server, you will need to install a mod. The most popular solution is installing the Server Devcommands mod on both your server (into the BepInEx plugins folder) and your personal game client.
Related Guides
Add your Steam64 ID to adminlist.txt so admin commands work on your server.
Still stuck?
Our team is happy to help. Open a ticket through the live chat button in the bottom-right corner of our website.