-20% Code FIRSTSERVER takes 20% off your first invoice
Gamehost

Enshrouded server settings: the JSON file and difficulty

What is in enshrouded_server.json, the Default, Relaxed, Hard and Survival presets, your own gameSettings and the length of day and night.

Last updated: ·5 min read

The whole configuration of an Enshrouded server fits in one file. The panel sets some of the fields for you, and you change the rest yourself: from a ready-made difficulty level to boss strength and the length of the night.

The short answer

You change the name, password and player count in Startup parameters. Difficulty and world rules live in enshrouded_server.json in the server's main folder, and you always edit it with the server stopped. The easiest way is to pick a ready-made preset in the gameSettingsPreset field. Individual values only take effect when the preset is set to Custom.

What is in enshrouded_server.json

FieldWhat it doesWho sets it
namename in the server listpanel (Server Name)
slotCountnumber of slots, 1 to 16panel (Max Players)
queryPortserver portpanel, do not change
saveDirectory, logDirectoryfolders for the world save and logsleave the defaults
enableTextChat, enableVoiceChattext and voice chat, true or falseyou
voiceChatModeProximity (you hear people nearby) or Globalyou
gameSettingsPresetdifficulty levelyou
gameSettingsindividual gameplay settingsyou
userGroupsplayer groups with passwords and permissionsyou, the Default group password comes from the panel

Fields set by the panel are overwritten on every start. Changing the name or player count in the file itself does nothing, so do it in the panel. Groups and passwords are covered in Enshrouded server for friends.

Difficulty presets

The gameSettingsPreset field takes one of five values. Capitalisation matters.

ValueWho it is for
Defaultstandard settings, recommended for a first playthrough
Relaxedfewer enemies, more resources and loot; for groups who would rather build
Hardmore enemies, and they are more aggressive
Survivalaggressive enemies and extra survival mechanics
Customturns on your own values from the gameSettings section

With any preset other than Custom, the server ignores the whole gameSettings section without any message. If you changed enemy strength and nothing changed in the game, check this field first.

Your own gameSettings

The game shows the multipliers from the file as percentages: 1 is 100% and 0.5 is half. Values outside the range are clamped to the nearest limit. The most commonly changed fields:

FieldDefaultRangeWhat it changes
playerHealthFactor10.25 to 4player health
playerStaminaFactor10.25 to 4player stamina
enableDurabilitytruetrue, falsewith false weapons do not wear out
enableStarvingDebufffalsetrue, falsehunger that drains health
tombstoneModeAddBackpackMaterialsAddBackpackMaterials, Everything, NoTombstonewhat a player loses on death
randomSpawnerAmountNormalFew, Normal, Many, Extremenumber of enemies in the world
aggroPoolAmountNormalFew, Normal, Many, Extremehow many enemies attack at once
enemyDamageFactor10.25 to 5enemy damage (bosses excluded)
enemyHealthFactor10.25 to 4enemy health (bosses excluded)
bossDamageFactor, bossHealthFactor10.2 to 5boss damage and health
pacifyAllEnemiesfalsetrue, falseenemies do not attack until you provoke them
resourceDropStackAmountFactor10.25 to 2amount of resources from loot
factoryProductionSpeedFactor10.25 to 2working time of crafting stations
experienceCombatFactor10.25 to 2experience from combat
weatherFrequencyNormalDisabled, Rare, Normal, Oftenhow often weather events happen
curseModifierNormalEasy, Normal, Hardchance of the Shroud curse after a hit

The full list of fields with descriptions is published by the developer, Keen Games, in their help center, in the article on server gameplay settings.

Day and night length and safe editing

The fields dayTimeDuration, nightTimeDuration and fromHungerToStarving take time in nanoseconds. One minute is 60000000000. By default a day lasts 30 minutes and a night 12. Day and night can each be set from 2 to 60 minutes.

"gameSettingsPreset": "Custom",
"gameSettings": {
  "dayTimeDuration": 2400000000000,
  "nightTimeDuration": 600000000000,
  ...
}

The example above gives 40 minutes of day and 10 minutes of night. The three dots stand for the other fields, which you leave as they are.

  1. Stop the server. The game writes its settings to the file when it shuts down, so changes made on a running server are lost.
  2. Make a copy in Server backups or download the file itself.
  3. Change the values in Files, watching the commas and quotes.
  4. Start the server and check the console. If the game shuts down right after starting, the file has a syntax error.

Changing the difficulty does not delete the world. The new settings apply from the next start.

Ready-made sets for typical groups

A few example combinations. Each one needs the Custom preset, and fields not listed stay at their defaults.

Stress-free building. For groups who came mainly to build:

"pacifyAllEnemies": true,
"enableDurability": false,
"resourceDropStackAmountFactor": 2

Enemies leave you alone until you provoke them, weapons do not wear out and loot gives twice the resources. Bosses are not affected and fight normally.

A demanding campaign. For a group that found Default too easy:

"randomSpawnerAmount": "Many",
"aggroPoolAmount": "Many",
"enemyDamageFactor": 1.5,
"bossHealthFactor": 1.5,
"enableStarvingDebuff": true

More enemies, harder hits, bosses with more health and hunger that drains health. Save Extreme enemy numbers for later: lots of enemies in one place means more work for the server's CPU.

A slower game for busy players. A longer day (dayTimeDuration at 45 minutes, which is 2700000000000) and more combat experience (experienceCombatFactor at 1.5) help when your group plays once a week for two hours.

FAQ

Where is the Enshrouded server settings file? In the server's main folder, named enshrouded_server.json. You open it in Files in the panel.

How do I change the difficulty on an Enshrouded server? Stop the server and set gameSettingsPreset to Default, Relaxed, Hard, Survival or Custom. Then start the server again.

Why are my gameSettings not working? Individual settings only work with gameSettingsPreset set to Custom. With any other preset the server ignores them without a message.

How do I make the day longer on an Enshrouded server? Set the Custom preset and change dayTimeDuration. The value is in nanoseconds: one minute is 60000000000, and the range is 2 to 60 minutes.

Does changing the difficulty delete the world? No. The new settings apply to the existing world from the next server start. If the server does not come back up after an edit, see Enshrouded server not working.

Want to run Enshrouded on your own rules? Have a look at our Enshrouded server hosting.

Still stuck?Write to us on Discord or in the Help centre in your panel. Ask on Discord