Subsistence Server Configuration

From Survival Servers
Jump to navigation Jump to search

Subsistence keeps its server settings in UDKDedServerSettings.ini, in the server's UDKGame/Config folder. Stop your server, change the file in the File Manager and start the server again. Its name, passwords and player slots come from your server's page in the Command Center.

How to change a setting

  1. Sign in to the Command Center, click your server's name and click STOP.
  2. Under TOOLS, click File Manager.
  3. In Search files at the top, type DedServer. Click UDKDedServerSettings.ini, not DefaultDedServerSettings.ini: that one is the game's template, and your server doesn't use your changes to it.
    File Manager search for DedServer showing DefaultDedServerSettings.ini and UDKDedServerSettings.ini, with UDKDedServerSettings.ini outlined in gold.
    Open UDKDedServerSettings.ini, the second of the two.
  4. Change the value after the = sign and click SAVE.
    UDKDedServerSettings.ini open in the File Manager with ProfileId, Difficulty, DaysPerYear and MonthOverride, and the Save button outlined in gold.
    Each setting is a line with its value after the = sign.
  5. Back on your server's page, click START.

To check it worked, open the file again: your values are still there. MonthOverride goes back to -1 after a start, which is normal.

Settings on your server's page

The server writes these into the file at every start, so change them on your server's page and click Save Settings & Restart.

  • Server Title: the server's name in the game's server list (ServerName), up to 64 characters. %HOSTEDBY% in it is replaced with the Hosted By text. A new server is called My New Server by SurvivalServers.com until you change it.
  • Lock Password: the password players type to join (Password). Leave it empty so anyone can join.
  • Admin Pass: the password admins log in with (AdminPassword). See Subsistence admin commands.
  • Player slots (MaxPlayers): your plan's slots.

Use letters and numbers only in both passwords.

Subsistence server settings

These are the lines in UDKDedServerSettings.ini, with the game's defaults. true turns a setting on and false turns it off.

  • ProfileId: which of five separate saves the server runs. Each profile is its own world. Default 1, values from 1 to 5.
  • HuntersEnabled: whether there are hunters on the server. Default true.
  • HunterAttacks: how hunters attack. 0 is as normal (the default), 1 only in revenge and 2 never.
  • Difficulty: easy, normal (the default) or hardcore.
  • DaysPerYear: in-game days in each in-game year, so how long the seasons last. Default 24. Values: 12, 24, 36, 48, 60, 90, 120, 200 or 365.
  • MonthOverride: starts the world in a month you pick, once. 0 is January and 11 December. The default, -1, leaves the month alone: how to change the season.
  • ServerDescription: a short description players see when they click the server in the list, up to 256 characters. Empty by default.
  • Mods: the mods to load, as Workshop item IDs or mod UUIDs separated by commas. Empty by default: how to add mods.
  • NumPlayerOfflineHoursBeforeBaseDecay: real-world hours a player and their team can be offline before their base starts to decay. The default, 0, turns decay off.
  • PvPDamage: whether players can damage other players. Default true.
  • PlayersCanDamagePlayerBases: whether players can damage buildables that other players placed. Default true.
  • OfflineBaseProtection: protects a base in range of its BCU or Range Extender while its whole team is offline. It starts 10 minutes after the last member leaves and doesn't stop decay. Default true.
  • PlayersCanAccessEnemyPlayerBaseItems: whether players can open other players' storage chests, refineries and similar items, but not their doors or windows. Default true.
  • AllowBuildableClipping: whether buildables can be placed clipping through each other. Default false.

Common changes

Change the season

Set MonthOverride to the month's number and start the server. Months count from 0, so January is 0, February is 1, May is 4 and December is 11. The server starts in that month once, then MonthOverride goes back to -1 and the seasons go on from there.

A negative number other than -1 doesn't work: the game ignores it and the month doesn't change.

Important: on a server with Steam Workshop mods, the game loads the world a second time once the mods are ready. The saved month then comes back. To change the month on a server with mods, open a ticket and we'll set it for you.

Add Steam Workshop mods

Put each mod's Workshop item ID after Mods=, separated by commas. The ID is the number at the end of the mod's Workshop page address. For example, Mods=3804613795 loads one mod from the Workshop.

The server downloads the mods and keeps them up to date each time it starts. A server with mods takes longer to start, because it loads the world again when its mods are ready.

Turn off PvP

Set PvPDamage=false. Set PlayersCanDamagePlayerBases=false too if players shouldn't damage each other's bases either.

Clear out abandoned bases

Set NumPlayerOfflineHoursBeforeBaseDecay to the number of hours a player may be away, such as 96 for four days. Bases of players who stay offline longer start to decay. An admin can also delete one base: see base commands.

Start a second world

Set ProfileId to a number from 1 to 5 that you haven't used. The server starts a new world on that profile and keeps the others. Set the number back to return to an earlier world.

On a server you host yourself

The file is UDKDedServerSettings.ini in the server's UDKGame\Config folder, written the first time the server runs. The ports are in UDKEngine.ini in the same folder: see ports. Stop the server before you edit either.

Frequently asked questions

Why do my Subsistence server settings go back to default?

You probably changed DefaultDedServerSettings.ini. That is the game's template, and the server doesn't use your changes to it. Make them in UDKDedServerSettings.ini in the same folder.

Why does MonthOverride go back to -1?

That is normal. The month applies once at the next start, and the world keeps the seasons going from there.

Why didn't my server's month change?

The number was negative, or your server runs Steam Workshop mods. Use 0 to 11 for January to December. On a server with mods, open a ticket and we'll set the month for you.

Where is the Subsistence server config file?

It is UDKDedServerSettings.ini in the UDKGame/Config folder. On our servers, open it with the File Manager on your server's page.

Related guides

Set the seasons your way on a Subsistence game server from Survival Servers.