01
The file and the right way to edit it
The Enshrouded dedicated server is a Windows application: the developer states that only Windows is supported for now, with Linux support planned for later. The step-by-step installation with SteamCMD is in the guide create an Enshrouded server; this guide starts from a server that is already installed.
On the first launch of enshrouded_server.exe, the server creates enshrouded_server.json in the same folder. A few rules prevent most breakdowns:
- Stop the server before editing the file, then start it again: it reads the file at startup.
- Start from the file generated by your server version and only change the values. It already holds every up-to-date entry.
- Respect JSON syntax: text in straight quotes, a comma between two entries, no comma after the last entry of a block. Windows Notepad is enough.
- If the server no longer starts, read its console window: an invalid text value prevents it from starting, and the console says which one.
- After a big update, the developer warns that an old file is sometimes converted incorrectly. In that case, set it aside and delete it: the server creates a fresh one on the next launch, where you copy your settings back.
02
Name, slots, chat and port
The start of the file sets the server's identity and its network:
"name": "Enshrouded FR",
"saveDirectory": "./savegame",
"logDirectory": "./logs",
"ip": "0.0.0.0",
"queryPort": 15637,
"slotCount": 8,
"voiceChatMode": "Proximity",
"enableVoiceChat": false,
"enableTextChat": true,
name: the name shown in the server list. Every player sees it, and the developer asks for an appropriate name.
slotCount: the number of slots, from 1 to 16. Each player adds load; if the processor or memory is saturated, lower this value.
queryPort: 15637 by default, the only port to open. Only change it to run a second server on the same machine.
ip: leave 0.0.0.0, unless you have a special network setup. The server only uses IPv4.
enableVoiceChat and enableTextChat: turn voice chat and text chat on (true) or off (false). voiceChatMode chooses between Proximity (you hear nearby players) and Global (the whole server).
saveDirectory and logDirectory: the world and log folders; older logs are archived in logs/backup.
The developer does not specify the port's protocol: open it for both UDP and TCP in the Windows firewall, from PowerShell as administrator:
New-NetFirewallRule -DisplayName "Enshrouded UDP" -Direction Inbound -Protocol UDP -LocalPort 15637 -Action Allow
New-NetFirewallRule -DisplayName "Enshrouded TCP" -Direction Inbound -Protocol TCP -LocalPort 15637 -Action Allow
How game server ports work is explained in game server ports.
03
Passwords and user groups
Since the game's Update 2, there is no longer a single password but user groups (userGroups), each with its own password and permissions. The password a player types when joining decides their group. The old "password" line is no longer used: if the server finds one filled in, it creates a default group with that password and the permissions of a friend.
A fresh file contains four groups with random passwords: Admin, Friend, Guest and Visitor. Here is the Admin group from the default file:
{
"name": "Admin",
"password": "un-long-mot-de-passe",
"canKickBan": true,
"canAccessInventories": true,
"canEditWorld": true,
"canEditBase": true,
"canExtendBase": true,
"reservedSlots": 0
}
canKickBan: kick and ban players. Keep it for the Admin group.
canAccessInventories: open chests and other containers.
canEditWorld: change the world outside bases. The Visitor group does not have it.
canEditBase: change players' bases (blocks, props).
canExtendBase: extend bases. In the default file, only the Admin group has it.
reservedSlots: slots kept for this group. When slots are reserved, the server looks full to players of other groups who would take the last slots: an administrator can always get in.
Every group can fight, gather and progress through quests; permissions only cover bases, containers, the world and administration. You can create your own groups by adding a block with a new name, for example a group that opens chests without touching bases. Give each group a long, different password, since the password is what picks the group, and only share the Admin group's password with administrators.
04
Difficulty: gameSettingsPreset and gameSettings
gameSettingsPreset picks a preset:
Default: the original settings, recommended for a first playthrough;
Relaxed: fewer enemies, more resources and loot, for players who mostly enjoy building;
Hard: more enemies, more aggressive;
Survival: more aggressive enemies plus extra survival mechanics;
Custom: only this choice applies the values of the gameSettings block, setting by setting.
An excerpt of a gameSettings block (the generated file holds many more):
"gameSettingsPreset": "Custom",
"gameSettings": {
"playerHealthFactor": 1.5,
"enemyDamageFactor": 0.75,
"randomSpawnerAmount": "Few",
"enableStarvingDebuff": false,
"tombstoneMode": "AddBackpackMaterials",
"dayTimeDuration": 2700000000000,
"nightTimeDuration": 720000000000
}
- Factors (
playerHealthFactor, enemyDamageFactor, miningDamageFactor, plantGrowthSpeedFactor…) multiply the original value: 1 changes nothing, 1.5 adds half. A value outside the limits is brought back to the allowed minimum or maximum.
- Amounts are written as text:
randomSpawnerAmount (number of enemies) and aggroPoolAmount (enemies attacking at the same time) take Few, Normal, Many or Extreme.
- Death:
tombstoneMode is AddBackpackMaterials (you only lose materials), Everything (the whole backpack) or NoTombstone (you keep everything).
- Durations are in nanoseconds: 60,000,000,000 per minute. Daytime lasts 30 minutes by default (
1800000000000), nighttime 12 minutes (720000000000), each adjustable from 2 to 60 minutes.
- Other switches:
enableDurability (weapon wear), enableStarvingDebuff (hunger), pacifyAllEnemies (enemies other than bosses only attack when attacked), curseModifier (Easy turns off the Shroud curse).
The full list, with the limits of each setting, is in the "Server Gameplay Settings" article of the official Enshrouded help center.
05
Backups and rolling back
The world is saved in the savegame folder. Character progression stays with each player: the world and the bases are what you need to protect.
- Each world has a fixed hexadecimal file name, assigned in order of creation (
3ad85aea for the first one).
- The game keeps ten numbered rolling copies of each world: the oldest is overwritten with each new save.
- A file ending in
-index shows the active copy in its latest entry.
Roll back after an incident (destroyed base, building mistake): stop the server, copy the whole savegame folder somewhere safe, find the right copy by its modification date, open the -index file in Notepad and put its number (0 to 9) in latest. Then start the server again.
Back up with the server stopped, together with the configuration, in PowerShell:
New-Item -ItemType Directory -Force C:\sauvegardes
Compress-Archive -Path C:\enshrouded\savegame, C:\enshrouded\enshrouded_server.json -DestinationPath "C:\sauvegardes\enshrouded-$(Get-Date -Format yyyy-MM-dd).zip"
Adapt C:\enshrouded to your installation folder, and keep a copy outside the VPS. The JSON file contains the group passwords: store these archives somewhere protected.
06
On CloudFive
CloudFive has no ready-made Enshrouded plan: the server is installed on a VPS. Since the developer only supports Windows, the Windows VPS, from €8.50 per month, is the logical choice:
- Windows Server preinstalled, licence included, and Remote Desktop ready on delivery;
- an AMD Ryzen 9 9950X with NVMe storage, administrator access and a dedicated IPv4 address;
- basic DDoS protection included. The game-specific filter is part of Premium Protection, a paid option (see protecting a game server against DDoS).
The developer recommends 16 GB of memory and 6 cores (12 threads) for 4 to 6 players: choose the tier accordingly. Servers are in France, on our own network, billed monthly with no commitment, with support in French 7 days a week. For the general method, see a game server on a Windows VPS and which VPS for a game server, as well as the gaming VPS page.
07
Frequently asked questions
Where is the configuration file of an Enshrouded server?
In the server's installation folder, next to enshrouded_server.exe. The enshrouded_server.json file is created on first launch; stop the server before editing it, then start it again.
How do I set a password on an Enshrouded server?
Since Update 2, passwords are set per group in userGroups, no longer with the password line. Each group (Admin, Friend, Guest, Visitor or one of your own) has its own password, and the one a player types decides their permissions.
How do I become an administrator on an Enshrouded server?
Join the server with the password of the group that has the canKickBan permission, the Admin group in the default file. Only give this password to administrators and make it long and unique.
Why are my gameSettings not applied on Enshrouded?
The gameSettings block is only applied when gameSettingsPreset is set to Custom. With Default, Relaxed, Hard or Survival, the server uses the chosen preset. Also check that no text value is misspelled: the server then refuses to start and says so in its console.
How do I go back to an older save of my Enshrouded world?
Stop the server and copy the savegame folder. The game keeps ten numbered copies of each world: open the world's -index file, put the number of the copy you want, from 0 to 9, in latest, then start the server again.