How to enable crossplay on a Valheim server
Add -crossplay to the server's launch options, so players on any platform can join, with no port forwarding needed.
-crossplay
Runs the server on the crossplay backend (PlayFab) so players on any platform can join, with no port forwarding needed.
-crossplay Examples
-crossplay Lets players on every platform join.
What it does
Without it, the server uses the Steam backend and only Steam players can see and join it. With it, traffic goes through a relay, and players connect by public IP and port, join code or the server list. Connecting by local or loopback IP does not work in crossplay mode.
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. - Takes no value; include the flag to turn it on.
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.