[{"data":1,"prerenderedAt":30},["ShallowReactive",2],{"doc-en-use-admin-commands-valheim":3},{"path":4,"slug":5,"title":6,"description":7,"category":8,"subcategory":9,"icon":10,"date":11,"author":12,"order":13,"image":14,"tags":15,"keywords":20,"docGroup":27,"docGroupIcon":27,"link_fr":28,"bodyHtml":29},"\u002Fdocs\u002Fen\u002Fgaming\u002Fvalheim\u002Fuse-admin-commands-valheim","use-admin-commands-valheim","How to Use Admin Commands on a Valheim Server","Learn how to enable the in-game console and use admin commands (devcommands) on your Winheberg Valheim server.","jeux","valheim","tabler:file-text","2026-08-11","Winheberg",81,"\u002Fstatics\u002Fimages\u002Fdocs\u002Fen\u002Fgaming\u002Fvalheim\u002Fuse-admin-commands-valheim.webp",[16,17,18,19],"Valheim","Tutorial","Server","Administration",[21,22,23,24,25,26],"valheim admin commands","valheim console","valheim devcommands","valheim server moderation","enable steam console valheim","valheim kick ban","","\u002Fdocs\u002Fvalheim\u002Futiliser-commandes-admin-valheim","\u003Ch2>Context\u003C\u002Fh2>\n\u003Cp>Managing a Valheim server involves being able to moderate players and check the server status in real time. To do this, the game features a built-in command console. However, on a dedicated server, these commands require a quick launch setup on your game client (Steam) before they can be used.\u003C\u002Fp>\n\u003Cp>This guide shows you how to enable the console and use essential admin commands on your Winheberg server.\u003C\u002Fp>\n\u003Ch2>Prerequisites\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>An active Valheim server on your \u003Ca href=\"https:\u002F\u002Fpanel.winheberg.com\">Winheberg panel\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>Your SteamID64 must be added to your server&#39;s \u003Ccode>adminlist.txt\u003C\u002Fcode> file (See our guide: \u003Ca href=\"https:\u002F\u002Fwinheberg.com\u002Fen\u002Fdocs\u002Fvalheim\u002Fadd-valheim-admin\">How to Add an Administrator\u003C\u002Fa>).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Step 1: Enable the Steam Console\u003C\u002Fh2>\n\u003Cp>By default, the Valheim command console is disabled. Every administrator must enable it on their own game client:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Open \u003Cstrong>Steam\u003C\u002Fstrong> and go to your \u003Cstrong>Library\u003C\u002Fstrong>.\u003C\u002Fli>\n\u003Cli>Right-click on \u003Cstrong>Valheim\u003C\u002Fstrong> and select \u003Cstrong>Properties\u003C\u002Fstrong>.\u003C\u002Fli>\n\u003Cli>In the \u003Cstrong>General\u003C\u002Fstrong> tab, scroll down to the \u003Cstrong>Launch Options\u003C\u002Fstrong> section.\u003C\u002Fli>\n\u003Cli>Type exactly this into the text field: \u003Ccode>-console\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Close the window. The change is saved automatically.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2>Step 2: Use Commands In-Game\u003C\u002Fh2>\n\u003Cp>Once the console is enabled and you are connected to your server:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Press the \u003Cstrong>F5\u003C\u002Fstrong> key on your keyboard. A black console window will open.\u003C\u002Fli>\n\u003Cli>Type the following command and press Enter: \u003Ccode>devcommands\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>A message will confirm that developer commands are enabled.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"markdown-alert markdown-alert-note\">\u003Cspan class=\"alert-icon\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cline x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\"\u002F>\u003Cline x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\"\u002F>\u003C\u002Fsvg>\u003C\u002Fspan>\u003Cdiv class=\"markdown-alert-body\">\u003Cp>In the console (F5), commands are typed \u003Cstrong>without the slash\u003C\u002Fstrong> \u003Ccode>\u002F\u003C\u002Fcode>. The slash is only required if you are typing a command directly into the standard in-game chat window.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Ch2>Step 3: Essential Commands List\u003C\u002Fh2>\n\u003Cp>Here are the official administrator commands available on a Vanilla dedicated server:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>help\u003C\u002Fcode> : Displays the list of available commands.\u003C\u002Fli>\n\u003Cli>\u003Ccode>kick [PlayerName\u002FSteamID\u002FIP]\u003C\u002Fcode> : Kicks a player from the server.\u003C\u002Fli>\n\u003Cli>\u003Ccode>ban [PlayerName\u002FSteamID\u002FIP]\u003C\u002Fcode> : Permanently bans a player.\u003C\u002Fli>\n\u003Cli>\u003Ccode>unban [PlayerName\u002FSteamID\u002FIP]\u003C\u002Fcode> : Revokes a player&#39;s ban.\u003C\u002Fli>\n\u003Cli>\u003Ccode>banned\u003C\u002Fcode> : Displays the list of currently banned players.\u003C\u002Fli>\n\u003Cli>\u003Ccode>ping\u003C\u002Fcode> : Displays your connection latency (ping) to the server.\u003C\u002Fli>\n\u003Cli>\u003Ccode>save\u003C\u002Fcode> : Forces the server to save the world immediately (recommended before a restart).\u003C\u002Fli>\n\u003Cli>\u003Ccode>info\u003C\u002Fcode> : Displays current system information.\u003C\u002Fli>\n\u003Cli>\u003Ccode>lodbias [1-5]\u003C\u002Fcode> : Sets the server&#39;s level of detail bias (draw distance).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cdiv class=\"markdown-alert markdown-alert-important\">\u003Cspan class=\"alert-icon\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Cpath d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z\"\u002F>\u003Cpath d=\"M12 8v4\"\u002F>\u003Cpath d=\"M12 16h.01\"\u002F>\u003C\u002Fsvg>\u003C\u002Fspan>\u003Cdiv class=\"markdown-alert-body\">\u003Cp>Advanced &quot;cheat&quot; commands (like spawning items, god mode, or flying) are disabled by default on dedicated multiplayer servers for security reasons. \u003C\u002Fp>\n\u003Cp>To unlock these advanced commands on your server, you can install the \u003Ca href=\"https:\u002F\u002Fwinheberg.com\u002Fen\u002Fdocs\u002Fvalheim\u002Finstall-bepinex-mod-valheim\">Server_devcommands mod\u003C\u002Fa>. You can also view the full list of all existing commands on the \u003Ca href=\"https:\u002F\u002Fvalheim.fandom.com\u002Fwiki\u002FDeveloper_console#Commands\">official Valheim Fandom Wiki\u003C\u002Fa>.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Ch2>Troubleshooting\u003C\u002Fh2>\n\u003Ch3>❌ The F5 key does nothing\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Cstrong>Check Steam:\u003C\u002Fstrong> Ensure you typed \u003Ccode>-console\u003C\u002Fcode> (with the dash) correctly in the Steam launch options and restart your game.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>❌ The game says &quot;You are not an administrator&quot;\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Cstrong>Missing rights:\u003C\u002Fstrong> Your SteamID64 is not properly configured in the server&#39;s \u003Ccode>adminlist.txt\u003C\u002Fcode> file. Double-check the file, ensure there are no stray spaces, and restart your server.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Best Practices\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Manual saving:\u003C\u002Fstrong> Make it a habit to type \u003Ccode>save\u003C\u002Fcode> in the console before making major changes or stopping the server from your panel.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Use SteamIDs:\u003C\u002Fstrong> When kicking or banning a player, it is always safer to use their SteamID64 rather than their in-game name to avoid targeting the wrong person.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Need Assistance?\u003C\u002Fh2>\n\u003Cp>If you encounter difficulties, our support team is ready to help. Submit a support ticket through \u003Ca href=\"https:\u002F\u002Fbilling.winheberg.com\u002Flogin\">Winheberg Support\u003C\u002Fa>. 🎮\u003C\u002Fp>\n",1788993143703]