Using admin commands on your Valheim Server

Print
  • 7

Use this guide to run Valheim dedicated-server admin commands from the in-game console. You must add your SteamID64 to adminlist.txt first, then join the server from that same Steam account.

  1. Add your SteamID64 to adminlist.txt. If you have not done that yet, follow How to make yourself admin on a Valheim Server.

    Valheim adminlist Config Editor showing the Add Admin row

  2. Restart the server after changing adminlist.txt.
  3. In Steam, right-click Valheim, open Properties, and add -console to the launch options if the console does not open.
  4. Join your Valheim server with the Steam account you added as admin.
  5. Press F5 in-game to open the console.
  6. Run help to confirm the console is responding.
  7. Run the command you need from the table below.
CommandWhat it doesExample
helpShows available console commands.help
infoShows system and game information.info
saveForces the world to save.save
pingShows your current latency to the server.ping
kick <name/ip/userID>Kicks a player from the server.kick PlayerName
ban <name/ip/userID>Adds a player, IP, or user ID to the ban list.ban PlayerName
unban <name/ip/userID>Removes a player, IP, or user ID from the ban list.unban PlayerName
bannedLists banned players.banned
lodbiasShows or changes level-of-detail bias for the client running the command.lodbias

Dedicated-server admin commands are different from single-player cheat/debug commands. Commands such as devcommands, spawn commands, creative tools, and debug mode are for local gameplay/debug use and are not the normal way to moderate a hosted dedicated server.


Was this answer helpful?

Related Articles

« Back

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!