Private customers Business customers

Enshrouded server settings: enshrouded_server.json explainedServer name, player count, difficulty and custom rules in one file

An Enshrouded server has exactly one configuration file: enshrouded_server.json. It holds the name, player count, difficulty, custom game rules, user groups and the ban list. This guide explains every section, the presets from Relaxed to Survival, the most important values in Custom mode and the two pitfalls almost everyone falls into once.

enshrouded_server.jsonPresetsgameSettingsNanoseconds

Published on

The file and the golden rule

enshrouded_server.json sits in the root directory of your server. You open it in the config editor of the web interface or download it via WebFTP or SFTP. Before you change anything, one rule applies without exception:

Stop the server, edit the file, save, start the server.

The reason: Enshrouded writes its current settings back to the file when it shuts down. If you edit while the server is running, you lose your changes at the next stop - without an error message. And because the whole file is read as a single JSON document, even a missing comma, a missing quotation mark or a typographic quotation mark pasted from a web page prevents the start. According to Keen Games, the console then names the faulty value. Numbers outside the allowed range, on the other hand, don't stop the server: it silently uses the smallest or largest permitted value instead.

Download a copy of the file before larger changes. Then a mistake is undone with one click.

Enshrouded server hosting from €7.99 / month

Prepaid without a contract, DDoS protection up to 250 Gbit/⁠s.

View plans & prices

The basic settings

KeyMeaning
nameName of the server in the server list. With us, set it in the panel under startup parameters.
saveDirectoryFolder for the save, ./savegame by default.
logDirectoryFolder for the log files, ./logs by default.
ip / queryPortAddress and port. Don't touch them on a rented server - the port assigned to your server applies.
slotCountMaximum number of players, 1 to 16. With us, in the panel under startup parameters, up to 16 in every plan.
enableTextChat / enableVoiceChatText and voice chat. Off by default on dedicated servers.
voiceChatModeRange of voice chat, for example Proximity for voice only nearby.
gameSettingsPreset / gameSettingsDifficulty and custom rules, see below.
userGroups / bannedAccountsUser groups with password and permissions, and banned players.

Important with us: the game server panel writes server name, player count and the passwords of the user groups into the file from the startup parameters at every start, and the port as well. So you change these values in the panel under startup parameters - in the file they would be overwritten at the next start. Everything else, i.e. difficulty, custom rules, the permissions of the groups and the ban list, you maintain directly in the file.

Difficulty via presets

The quickest way to the right difficulty is gameSettingsPreset. Five values are possible:

  • Default - the game as Keen intends it.
  • Relaxed - fewer enemies, more resources. For groups that mainly want to build and explore at ease.
  • Hard - tougher fights.
  • Survival - the most demanding preset.
  • Custom - you set every value yourself.

The most common mistake of all: the values in the gameSettings block only apply when the preset is set to Custom. With any other preset, the server loads the bundled values and ignores your block - without a warning. So set "gameSettingsPreset": "Custom" first and edit gameSettings afterwards.

Custom rules

In Custom mode you control dozens of values. Everything ending in Factor is a multiplier: 1 is the normal value, 2 doubles, 0.5 halves. The most important groups:

AreaKeys (selection)
PlayersplayerHealthFactor, playerManaFactor, playerStaminaFactor, playerBodyHeatFactor
EnemiesenemyDamageFactor, enemyHealthFactor, enemyPerceptionRangeFactor, randomSpawnerAmount
BossesbossDamageFactor, bossHealthFactor
Gathering & buildingminingDamageFactor, resourceDropStackAmountFactor, plantGrowthSpeedFactor, factoryProductionSpeedFactor
ProgressionexperienceCombatFactor, experienceMiningFactor, experienceExplorationQuestsFactor
SurvivalenableDurability, enableStarvingDebuff, foodBuffDurationFactor, shroudTimeFactor
Day & nightdayTimeDuration, nightTimeDuration

You only need to include the keys you want to change. A relaxed co-op group could look like this:

"gameSettingsPreset": "Custom",
"gameSettings": {
  "playerHealthFactor": 1.5,
  "enemyDamageFactor": 0.8,
  "resourceDropStackAmountFactor": 2,
  "enableStarvingDebuff": false
}

Pitfall: nanoseconds

The length of day and night and the time until starving (fromHungerToStarving) are given in nanoseconds, not seconds. One second is 1,000,000,000 nanoseconds. The default values:

KeyValueReal time
dayTimeDuration180000000000030 minutes
nightTimeDuration72000000000012 minutes
fromHungerToStarving60000000000010 minutes

A day of one hour is therefore 3600000000000. If you enter 3600 out of habit, you get a day lasting a few microseconds - or, because the value is below the minimum, silently the smallest permitted value.

Server name, groups and ban list

You change the server name in the panel under startup parameters; the panel writes it into the file as name at the next start. After the restart, the server appears under the new name; anyone who saved it as a Steam favourite still finds it, because the favourite is tied to IP and port. How fellow players find the server is shown in Join an Enshrouded server.

The userGroups and bannedAccounts blocks control who may get in and what they can do there. Because that is a topic of its own, it is covered in detail in User groups, password and private server.

Tougher rules and more enemies also mean more work for the processor, by the way. If the server stutters after a change, Enshrouded server lagging? helps.

Frequently asked questions

Because gameSettingsPreset is not set to Custom. With Default, Relaxed, Hard or Survival, the server loads the bundled values and ignores the gameSettings block without a warning. Set the preset to Custom and restart the server.

Either you edited while the server was running - Enshrouded writes the settings back when it shuts down - or the value is set by the panel from the startup parameters. Only edit the file while the server is stopped and maintain panel values in the panel.

With dayTimeDuration and nightTimeDuration in Custom mode. The values are in nanoseconds: 30 minutes are 1800000000000, one hour is 3600000000000.

Almost always a syntax error in the JSON file or an invalid text value. The console names the spot. Fix it or restore the copy of the file you downloaded beforehand.

Rent your own Enshrouded server

Config editor in the web interface, all 16 slots in every plan - prepaid without a notice period, located in Frankfurt am Main.

View plans & prices

Enshrouded server hosting

from €7.99 / month

Prepaid without a contract, DDoS protection up to 250 Gbit/⁠s, hosted in Frankfurt am Main.

View plans & prices

Go straight to checkout

Read more


Discover more