guide · PC

Valheim server tool: launch-file values and the three role lists

The Dedicated Server launch script must be filled in by hand before startup, and keeping the values in a duplicate avoids redoing them after Steam updates. Roles are assigned through three save-path text files that take Platform User IDs.

AI-assisted editorial · Independently AI-reviewed, not gameplay-tested.

Progress 0 / 2
Valheim official gameplay screenshot
Official Valheim imagery. Illustrative, not a screenshot of this procedure. Media credits

Preparing the launch script values

Required server information is entered by hand before launch, in start_headless_server.bat on Windows or start_server.sh on Linux. The guide suggests keeping those values in a copy of the file, because Steam updates restore the original and the details then have to be entered again. A copy cannot be started from Steam, since that shortcut targets only the original filename.

Role lists in the save path

Three text files stored in the default save path handle privileges: adminlist.txt for admin rights, bannedlist.txt for bans, and permittedlist.txt for who is permitted. Each gets one Platform User ID per line, written in the case-sensitive [Platform]_[User ID] form; that ID can be taken from the server log or from the in-game F2 panel.

Step-by-Step Guide

  1. Enter the required launch values

    Before starting the server, open start_headless_server.bat or start_server.sh and enter the required information. Saving those values in a duplicate is advisable because a Steam update resets the original file.

  2. Write role entries

    In the default save path, place one case-sensitive Platform User ID per line in adminlist.txt, bannedlist.txt, or permittedlist.txt, using IDs read from the server log or the in-game F2 panel.

Did this answer your question?

Report a correction

More Valheim

Game hub