Sunkenland's dedicated server has two config surfaces and one hard rule that catches everyone: the server cannot create a world. It can only host a save the game client already made, and you point it at that save with -worldGuid. Everything else is the launch line plus a per-world WorldSetting.json that the client writes for you.
-worldGuid "none — required" -region asia -maxPlayerCapacity 3 -password empty -port 27015 # the world must already exist
Passed on the launch line, so it takes a leading dash. Get this one wrong and none of the others are read at all.
| Setting | What it does | Default |
|---|---|---|
| -world | Which world save to host. The part after '~' in the world folder name. Field-verified: REQUIRED and a hard gate: the server reads every other flag only once -worldGuid is valid. If it is missing or not a parseable Guid, the server logs 'Invalid World Guid' and no other argument is read at all. ⚠ CASING: the official manual's config table writes it '-worldGUID', but the server and the shipped sample .bat both use '-worldGuid'. The manual contradicts its own script. | none — required |
These are launch-line flags — they all take a leading dash, and they live in start_headless_server.bat.
| Setting | What it does | Default |
|---|---|---|
| -password | Server password. Field-verified: The server applies no length or charset check. ⚠ The manual states max length 8 and ASCII only. That limit is NOT enforced by the server - it is enforced elsewhere (client side). Treat 8/ASCII as the practical limit. | empty |
| -region | Photon Fusion region the session is hosted in. Field-verified: The game's region list holds 14 codes. The official manual's region table lists only 8 of them; hk (Hong Kong), ussc (USA South Central), cae (Canada East), au (Australia), in (India) and tr (Turkey) are accepted by the server and offered in the game client's own region dropdowns, but are not in the manual. ⚠ OPERATOR-ONLY: an unrecognised region code does NOT error - it SILENTLY falls back to 'asia'. A typo puts your US server in Asia and the only symptom is bad ping. If the flag is omitted entirely the value stays empty string (handled downstream), which is not the same code path. One of: asia, cn, jp, eu, hk, sa, kr, us, usw, ussc, au, cae, in, tr. | asia |
| -max | Max concurrent players. Field-verified: The server clamps it to 3-15. ⚠ It CLAMPS silently. Ask for 40 and you get 15, with no warning. | 3 |
| -make | Hide the session from the public list; join by ServerID or Steam invite only. Field-verified: Presence-only flag. | False |
| -ip | Local endpoint IP. Field-verified: The server accepts both -ip and -IP. | empty |
| -port | Local endpoint port (ushort). Field-verified: Default is 27015 and both -port and -PORT are accepted. | 27015 |
| -publicip | Public endpoint IP. Disabled unless set. Field-verified (build 24925559): the server only takes it lowercase, and the match is case-sensitive. ⚠ If you have this in a working script as -publicIP, it stopped working. That spelling still worked on the July build and is gone from the 25 Aug 2026 one. There is no error when it fails to match — the flag is simply never seen and the public endpoint stays disabled. The manual (page 8) still prints -publicIP. The manual is wrong; the parser wins. | empty |
| -publicport | Public endpoint port. Disabled unless set. ⚠ Same casing flip as -publicip: the 25 Aug 2026 build dropped the CamelCase -publicPort spelling entirely, so that spelling is now silently ignored. The manual still prints the old one. | 0 |
| -log | Absolute path for the log file; default prints to console only. Field-verified: NOT handled by DedicatedServerConfig - this is a Unity engine built-in argument. | empty |
| -admin | Space-separated Steam64 IDs granted admin. Field-verified: UNDOCUMENTED BUT REAL. Takes several IDs at once; invalid entries log 'Invalid Administrator SteamID'. The official manual only documents the AdminSteamIDs.txt file and never mentions this flag. | [] |
| -steam | Which folder the server loads world saves from. Documented by the devs since v0.8.30 (24 Jul 2026), having been undocumented-but-real before that. With the flag the server reads …\Sunkenland\SteamCloudData\<Your_64bit_SteamID>\Worlds; without it, …\Sunkenland\Worlds. ⚠ These are two different folders, and choosing the wrong one is the whole cause of "World Save File does not exist". If your save sits in the plain Worlds folder you must leave this flag off entirely — passing it with a correct Steam ID still points the server somewhere else. Field-verified: an unparseable value logs "Invalid SteamID". | unset — reads …\Sunkenland\Worlds |
| -auto | How often the server autosaves, in seconds. Added in v0.8.40; the manual gives you the default and stops there. Field-verified — the two behaviours the manual omits: any value above 0 but 60 or under is raised to 60, so asking for 30 gets you 60; and anything 0 or negative is replaced with 600. ⚠ You cannot turn autosave off with this flag — passing 0 hands you the 10-minute default back. It also only sets the interval: autosave still has to be enabled for the world at all, or nothing is scheduled. | 600 (10 minutes) |
These are JSON keys inside the world save, not launch flags — so they carry no dash. They live in WorldSetting.json under the ES3 save key WorldSettingProfile, and the client writes them when you create the world.
| Setting | What it does | Default |
|---|---|---|
| world | Per-world setting. The game's own default preset. | empty |
| enemy | Per-world setting. Stored as int 0-3. The game's own default preset. One of: Easy, Normal, Hard, Insane. | Normal |
| enemy | Per-world setting. Stored as int 0-3. The game's own default preset. One of: None, Low, Mid, High. | Mid |
| enemy | Per-world setting. Stored as int 0-4. The game's own default preset. One of: None, Low, Mid, High, VeryHigh. | Mid |
| survival | Per-world setting. Stored as int 0-2. The game's own default preset. One of: Easy, Normal, Hard. | Normal |
| is | Per-world setting. The game's own default preset. | True |
| is | Per-world setting. The game's own default preset. | False |
| is | Per-world setting. The game's own default preset. | True |
| is | Per-world setting. The game's own default preset. | True |
| is | Per-world setting. The game's own default preset. | True |
| is | Per-world setting. The game's own default preset. | True |
| is | Per-world setting. The game's own default preset. | False |
| respawn | Per-world setting. The game's own default preset. | 10 |
| loot | Per-world setting. The game's own default preset. | 4 |
There is no Sunkenland config generator — the client's own world-creation UI writes these settings, and WorldSetting.json is ES3-wrapped, so a generated file would be silently ignored. These are the four launch flags worth setting deliberately.
| Setting | Value | Why |
|---|---|---|
| -world | <the part after ~ in your world folder name> | Required, and a hard gate — get it wrong and every other flag stops being parsed. |
| -region | us | A mistyped region silently falls back to asia. Ping is the only symptom. |
| -max | 8 | Anything outside 3–15 is silently clamped, not rejected. |
| -auto | 300 | Ten minutes of lost progress is a lot on a raid server. Do not go under 60 — it gets rounded back up. |
-worldGuid, using the part of the folder name after the ~.WorldSettingProfile. A file containing plain {"enemyDifficulty":1} is silently ignored: no error, no warning, the settings simply never apply. The safe route is to set them in the client's own world-creation UI, which writes the envelope correctly.-port. If you have read that Sunkenland needs a query port on 29002, that is wrong — the server has no such flag and the number appears nowhere in the official manual. It was invented by web research and copied around.-worldGuid. The official manual's own settings table writes it -worldGUID, but the server and the manual's own sample .bat both use -worldGuid. The manual contradicts itself; the server wins.-worldGuid abandons parsing of every other flag, so unrelated settings appear to do nothing and the real fault is one bad GUID. The second: you are using CamelCase on a flag that no longer accepts it. As of the 25 Aug 2026 build the server only matches -publicip and -publicport, all lowercase, and the match is case-sensitive.-publicip, and the same goes for -publicport. Both were CamelCase in the July 2026 build and both are lowercase-only in the 25 August one, and the old spellings are gone. The manual still prints the CamelCase spellings on page 8, so a script copied straight out of it will quietly fail to set a public endpoint. This is the second place the manual disagrees with the server; see the -worldGuid answer above for the first.