How to hide a Valheim server from the server list
Add -public 0 to the server's launch options, and the server no longer shows in the public browser. -public 1 lists it again.
-public
Sets whether the server is listed in the public server browser: 1 to show it, 0 to hide it.
-public <0|1> Examples
-public 1 Listed in the browser.
-public 0 Join by IP only.
Values
| Value | What it does |
|---|---|
| 1Default | Visible in the server list |
| 0 | Hidden, join by IP |
Arguments
0|1Required1to list the server,0to hide it.
What it does
With 0 the server is only reachable through Join IP, which suits LAN servers or private groups that share the address.
Good to know
- Add it to the server start line in
start_server.sh(Linux) orstart_headless_server.bat(Windows); it applies on the next server start.
Run it on your server
Launch options go on the server's start line. Admin commands are typed in the in-game console (F5) by a player on the admin list. New to this? Start a Valheim server first.
Your own
Valheim server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.