Unturned Dedicated Server Setup, Server Codes & Maps

Steam on Windows, Mac and Linux can share an Unturned dedicated server. Use the Server Code to bring friends into a private world without port forwarding. PlayStation, Xbox and Nintendo each use separate console multiplayer.

Which Unturned players can share one server?

GroupServer to use
Steam on Windows, Mac or LinuxUse the same Steam dedicated server. You can self-host with the Windows or Linux server tool.
PS4 and PS5Use the same server in PlayStation’s Unturned browser. PlayStation lists up to 24 online players.
Xbox One and Xbox Series X|SUse the same server in Xbox’s Unturned browser. Xbox lists up to 24 online players.
Switch and Switch 2Use the Nintendo Switch edition on either console. Nintendo lists Switch 2 compatibility and up to 24 players online.

Each row is a separate multiplayer group. A Console Edition copy joins servers available to that console family.

How to host an Unturned server without port forwarding

  1. Install Unturned Dedicated Server.

    Launch it from Steam Tools, or install SteamCMD app 1110390 on Windows or Linux. For a first private session, Steam’s default tool can generate the world and code.

  2. Copy the Server Code after the world loads.

    Run CopyServerCode in the server console or use Copy Server Code in-game. Give the 17-digit code to friends. They select Connect Directly and paste it in. Steam also supports friend invites.

  3. Save before closing.

    Use Save to write the world while it is running and Shutdown to save and stop the process. Friends can play whenever that server stays up, even after you close your own game.

How to change the map on an Unturned dedicated server

Stop the server and edit U3DS/Servers/Default/Server/Commands.dat for the standard instance. Replace Default with your server ID if you named it. Set one Map line such as Map PEI. Choose a name, password and MaxPlayers in the same file. For a Workshop map, add its file ID to WorkshopDownloadConfig.json and use the exact map name in Commands.dat. Restart once the settings are saved.

Why does the Server Code change or the server stay off the public list?

The default code changes at restart. To keep it, assign a Steam Game Server Login Token for game app 304930. A code is enough for private friends to join. If you also want an Internet listing or the pre-join server details, use the developer’s separate Internet server setup with a token and Fake IP or port forwarding.

Check your Unturned platform pair.

Sources

Reviewed