Running a Valheim server and need trusted admins? Follow this step-by-step guide to add or remove admins safely and enable the in-game console. In minutes, you’ll set it up and verify it works.
Prerequisites
- Access to your Oxygenserv panel (login and password)
- An existing Valheim server on your slot
- Each admin’s SteamID64 (example:
76561198000000000) - Steam installed to enable Valheim’s console on the client
Detailed steps
-
Stop the server cleanly
Log in to the Oxygenserv panel and open your Valheim server page. Click the red “Stop” button and wait until the logs show “Server stopped”. Do not proceed until the status is fully stopped. If it hangs, wait 30 seconds and try stopping again. -
Add an admin via the panel field (easy method)
Go to “Files” then click “Config editor” or “Valheim Server Options” if available. Find the “Admin IDs” field and paste the player’s SteamID64, e.g.,76561198000000000. For multiple admins, separate IDs with commas like76561198000000000,76561198000000001. Click the green “Save” button. If you don’t see this field, use the file method below. -
Add an admin via
adminlist.txt(advanced method)
Open “Files” > “File Manager” and locateadminlist.txtin the Valheim server root. Edit the file and add one SteamID64 per line, for example: a) line 1:76561198000000000, b) line 2:76561198000000001. Save the file and ensure there’s exactly ONE ID per line with no extra spaces. Return to the “Console” tab to restart afterwards. If the file doesn’t exist, create it exactly asadminlist.txt(lowercase). -
Restart and verify admins are applied
Click the green “Start” button. Watch the console: when you see “Game server connected” and “World saved”, the server is ready. Ask the newly added admin to reconnect so their privileges are active. If they don’t have rights, double-check the 64-bit ID, trim spaces, and confirm you restarted the server. -
Remove an admin
Use the “Admin IDs” field (delete the target ID) or editadminlist.txtand remove the line with their SteamID64. Save changes, then restart the server to apply. The former admin should rejoin the server to lose privileges immediately. If the ID reappears, ensure you clicked “Save” and that it’s not duplicated (both in field and file). -
Enable the in-game console for players
In Steam, right-click “Valheim” > “Properties”. In the “General” tab, enter-consoleunder “Launch options”. Start Valheim, join the server, and pressF5to open the console. Typesaveto test: if the server shows “World saved”, it’s working. If the console won’t open, confirm-consoleis set andF5isn’t rebound.
Tips & optimization
Keep 2–4 admins max to reduce risk and maintain clean oversight. Back up adminlist.txt after each change (e.g., copy to adminlist.txt.bak). Use steamid.io to fetch SteamID64 and paste it without spaces or extra characters. Always restart after changes—hot reload won’t grant admin rights. Validate with legit commands like save, kick PlayerName, or ban 7656119... instead of debug commands.
FAQ
Where do I find my SteamID64?
Go to steamid.io, paste your Steam profile URL, and copy the steamID64 field (17-digit number). On PC, enable profile URLs in Steam (Settings > Interface > Display web address) to copy your profile link easily.
F5 console doesn’t open, what now?
Ensure you added -console in Steam’s launch options (General tab). Fully restart the game after adding it. If F5 is bound elsewhere, reset keybinds in Valheim or try windowed mode to rule out overlays blocking the key.
My friend was added but still isn’t admin
Verify the exact 17-digit ID, remove any whitespace, save the field/file, and restart the server. Have them disconnect and rejoin after the restart. If issues persist, check for duplicates or format mix-ups (commas vs one ID per line) across the two methods.
You’re set to manage Valheim admins like a pro—fast, clean, and safe. Keep this guide handy for every add/remove and keep your adminlist.txt tidy.