Managing player permissions, including granting administrative privileges or banning players, is essential for maintaining a healthy gaming environment. Valheim uses a file called adminlist.txt to handle player permissions.
Setting Yourself As An Admin In Valheim
- 1Log in to Bropanel and select your Valheim server.
- 2In the sidebar, go to
Files. - 3Select the
.config/unity3d/IronGate/Valheim/folder. - 4Here, find the file named
adminlist.txt. - 5Add a new entry on its own line using the prefix for the player's platform followed by their platform ID. For a Steam player it should look like this:
V_76561198106341655 - 6Restart your server.
The prefix depends on which platform the player is on:
| Platform | Prefix | Format |
|---|---|---|
| Steam | V_ | V_SteamID64 |
| Xbox / Game Pass | X_ | X_XUID |
| Nintendo | N_ | N_ID |
| PlayStation 5 | S_ | S_ID |
Tip
While connected to your server, the player list shows the platform ID of everyone online, including yourself. Open it from the pause menu on any platform, or press F2 on PC. Steam players can also look up their SteamID64 online.
Enabling Console
The Valheim in-game console is disabled by default, here are the steps to enable console if you wish to use admin commands while playing on your server.
- 1Open Steam.
- 2Navigate to
Library. - 3
right-clickValheim and enter properties. - 4Type
-consolein launch options. - 5Close the window and start your game.
Using Admin Commands
After setting yourself as admin and adding -console as a launch option you'll now be able to open and use the in-game console, here's how.
- 1Connect to your Valheim server.
- 2Press
F5to open console. - 3Type
devcommandsto enable admin commands.
Multiplayer Command List
Now that commands are enabled, here's a list of Valheim multiplayer commands.
| Command | Description |
|---|---|
| ban [Name/ID] | Bans the player |
| banned | Shows the banned players |
| help | Lists available commands |
| kick [Name/ID] | Kicks the player |
| lodbias [1-5] | Sets the render distance for the server |
| noportals | Disables portals for the server |
| ping | Measures your latency to the server |
| save | Saves the server |
| unban [Name/ID] | Unbans the player |
Here are all the commands available in a multiplayer Valheim server, commands such as god, heal, freefly and more are only for singleplayer.
Fun Commands
Use them in the chat.
| Command | Description |
|---|---|
| blowkiss | Blows kiss |
| bow | Bows |
| challenge | Try if you dare! |
| cheer | Woohoo! |
| comehere | Follow me! |
| cower | Show your fear |
| cry | T_T |
| dance | Dances |
| despair | When you enter the swamp |
| headbang | Headbangs |
| kneel | Kneels |
| laugh | Hahas |
| nonono | No? |
| point | Yes, you! |
| roar | Fear me! |
| s [message] | Shouts your message |
| shrug | Hmm |
| sit | Rests your legs |
| wave | Waves |
