Downloading the dedicated server from the tools tab requires a login during the private beta, but will be available anonymously once the game is marked as released on Steam.
Running a client on the same machine as dedicated server(s) requires specifying the -DisableSteamServerInit launch option. Running a listen server does not require this however.
Launch the server with the map name, and -Log to open a command prompt. Valid map names:
Firing_Range
Blastlane
Survival_Sandbox
Horde_Sandbox
Horde_Chapel
Horde_Potato
Until configuration is thoroughly implemented, a temporary config file format similar to 3.0's is available. Specify the -U4SV=MyFile.json on the command-line. This can be a file name in the Saved folder, or an absolute file path anywhere on the system. The game populates defaults in this format:
{
"SessionLabel": "Name in the server list",
"MaxPlayers": 64,
"MaxSpectators": 2,
"UniqueNetIdWhitelist":
[
"STEAM:FirstSteamId64",
"STEAM:SecondSteamId64"
]
}
I'm not understanding the U4SV=MyFile.json part. This is what I have so far.
cd C:\Program Files (x86)\Steam\steamapps\common\U4DS
U4Server.exe survival_sandbox -log
U4SV=MyFile.json
The server works fine but I don't know how to specify the MyFile.json location.