Valheim: Server Whitelist & Security Guide
While a password protects your server from random strangers, a **Whitelist** provides a second layer of absolute security. When enabled, only players whose unique IDs are explicitly listed in your server's configuration can connect, even if a stranger somehow obtains your password.
1. Why Whitelist?
Valheim passwords can be compromised or shared. A whitelist ensures that only verified Steam accounts (using their SteamID64) can enter your world, preventing griefing and unauthorized access.
2. SteamID64 Requirement
You cannot use usernames. You must obtain the 17-digit SteamID64 from every player. Use a tool like steamid.io to find these IDs for your friends.
3. The Config File
Valheim stores its whitelist in a specific text file: permittedlist.txt. This file is located deep within the server's internal Unity configuration folders.
How to Enable the Whitelist
Follow these steps to configure your server for private, authorized-only access:
- Login to your Supercraft Panel and Stop your server.
- Open the File Manager.
- Navigate to the following directory:
/.config/unity3d/IronGate/Valheim/. - Locate and edit the file named permittedlist.txt.
- Add each friend's 17-digit SteamID64 on its own line.
76561198000000001 76561198000000002 76561198000000003 - Click Save and Restart the server.
Managing the Banned List
In the same directory, you will find bannedlist.txt.
- Blacklist vs. Whitelist: If
permittedlist.txthas even ONE ID in it, the server enters "Whitelist Mode" where everyone else is blocked. If it is empty, the server relies solely on the password and thebannedlist.txtto block specific individuals. - Admin List: Note that being on the whitelist does not make a player an admin. To grant admin powers, use the
adminlist.txtfile in the same folder.
Pro Tip: You can edit the whitelist while the server is running if you use a mod like Server Devcommands, but for vanilla servers, a restart is required for the permittedlist.txt changes to take effect.
Keep your Vikings safe with iron-clad security. Host your Valheim server with Supercraft and manage your whitelist and admin files with our intuitive one-click File Manager.