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
- Log in to Bropanel and select your Valheim server.
- In the sidebar, go to
Files. - Select the
.config/unity3d/IronGate/Valheim/folder. - Here, find the file named
adminlist.txt. - Add 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 - Restart 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 |
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.
- Open Steam.
- Navigate to
Library. right-clickValheim and enter properties.- Type
-consolein launch options. - Close 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.
- Connect to your Valheim server.
- Press
F5to open console. - Type
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 |
