How to Enable Crossplay on Your Valheim Server

Enable crossplay on your Valheim dedicated server so Steam, Xbox, Microsoft Store, and Game Pass players can all connect.

Valheim supports crossplay between Steam, Xbox, Microsoft Store, and Game Pass via Microsoft's PlayFab relay service. When crossplay is enabled, the server uses relay networking — port forwarding is not required for external connections.

Enable Crossplay

Open Startup

In the XGamingServer Panel, click Startup in the sidebar.

Toggle Crossplay on

Find the Crossplay variable (maps to -crossplay) and enable it.

Restart the server

Go to Console and restart.

Get the join code

Once the server starts, check Console for a 6-character join code in the startup output. Players use this code to connect from any platform.

How Players Connect

PlatformMethod
SteamServer browser, direct IP, or join code
XboxJoin code (no IP method)
Microsoft StoreJoin code
Game Pass PCJoin code

The join code is the easiest way for cross-platform groups — share it once and everyone uses the same code regardless of platform.

Crossplay Limitations

LimitationDetails
ModsXbox/Game Pass players cannot install mods. Modded servers will reject them entirely
PerformanceRelay networking adds latency compared to direct connect. Players in different regions may notice it
Connection issuesIf PlayFab has an outage, all crossplay servers become unreachable

Crossplay-Compatible Mods

Server-only mods (mods that run on the server but don't require client-side files) work with crossplay if all players including console users have them — but console players can't install mods, so this rarely works in practice. For modded servers, you'll usually want crossplay disabled and use direct IP for Steam-only players.

How is this guide?

40% Off — Limited TimeGet your Valheim server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page