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.

  • 7 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

Changing the name of your Valheim Server

The Valheim server name is stored in the server settings file. Change it from the server.bat...

Changing the password of your Valheim Server

Use the server.bat Config Editor to set or change the Valheim join password. Valheim passwords...

Changing the world that your Valheim Server loads

The Valheim World field tells the server which world save to load. The value must match the world...

How to upload a world to your Valheim Server

Upload a Valheim world when you want your server to run a world from your own PC or another...

How to make yourself admin on a Valheim Server

Valheim server admins are listed in adminlist.txt. Add your SteamID64 to that file, save it, then...