How to Create Enshrouded Server Guide: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
Label bare Google what-is-my-IP URL
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Creating a Enshrouded game server is an easy process that can be done from either a dedicated server or your home computer. Alternatively, you can choose a [https://www.survivalservers.com/services/game_servers/enshrouded/ Enshrouded server host] that will fit your needs.
{{#seo:
|title=Enshrouded Dedicated Server Setup: Rent or Host Your Own
|description=How to set up an Enshrouded dedicated server: rent one and set it up in the Command Center, or install app 2278520 with SteamCMD and open port 15637.
}}
<!-- SSGAME: enshrouded -->
An Enshrouded dedicated server is a free Windows program from Keen Games, installed through SteamCMD as app 2278520.


== Option #1: Renting a Enshrouded server (see example control panel below!) ==
== Option 1: Rent an Enshrouded server ==
[[File:Control panel.gif|none|link=https://www.survivalservers.com/sspanel/?game=enshrouded&trckaff=3881&trckit=WIKI]]


[[File:Enshrouded_game_server.png|none|link=https://www.survivalservers.com/sspanel/?game=enshrouded&trckaff=3881&trckit=WIKI]]
With [https://www.survivalservers.com/services/game_servers/enshrouded/ Enshrouded server hosting] from Survival Servers, the install, port and settings file are handled for you.


== Option #2: Creating an Enshrouded Server From Your Home Computer or Dedicated Server ==
# Order a server: pick the player slots (8 or 16; 16 is the game's own limit), a location near your group and a billing cycle.
== Server Requirements ==
# Open the server in the Command Center once it's ready.
Windows 10/11, Server 2016/2019/2022 & 64-Bit
# Set a '''Server Title'''. It's the name your friends search for in the game.
# Set a '''Lock Password''' for your players and a different '''Admin Pass''' for admins.
# Open '''Server Config''' to pick a difficulty preset or change world settings.
# Click '''Save Settings & Restart''', then start the server if it's stopped.


Quad Core processor (requires up to 2 full cores)
[[File:Enshrouded-panel-server-title-passwords-20260926.png|thumb|none|720px|alt=Server Title, Lock Password and Admin Pass in the Survival Servers Command Center for an Enshrouded server|Server Title, Lock Password and Admin Pass in the Command Center.]]


Up to 4GB memory (currently uses around 1GB memory)
== Option 2: Set up an Enshrouded dedicated server yourself ==


12GB disk space (install folder)
=== Requirements ===


== Step 1: Fetching Game Server files ==
Keen's recommendations depend on how many people play at once:


The best method to get dedicated server game files is via the dedicated server depot on Steam via [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].
{| class="wikitable"
! !! 4 to 6 players !! Up to 16 players
|-
| CPU || Intel Core i7 at 3.2 GHz or AMD equivalent, 6 cores / 12 threads || Intel Core i7 at 3.7 GHz or AMD equivalent, 8 cores / 16 threads
|-
| Memory || 16 GB || 16 GB
|-
| Storage || SSD with at least 30 GB free || SSD with at least 30 GB free
|-
| Upload || About 2 Mbit/s per player || About 2 Mbit/s per player
|}


# Create a folder where you wish to store your Enshrouded game server hosting files
The 16 GB is for the whole machine. The server program uses about 4.4 GB idle, up to 100 MB more per player, and no more than 6 GB in total. The server files are about 13 GB, and a world save is 1&nbsp;to&nbsp;100&nbsp;MB.
# Inside of the folder, place the newly downloading SteamCMD.exe file
# Create a batch file named '''SteamCMD.bat'''
# Place the following code in this batch file:
::: @echo off
::: start "" steamcmd.exe +login USER PASS +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +app_update 2532600 validate +quit
# Right-click SteamCMD.bat and Run as Administrator
# Your game server files should be completely downloaded by now


== Step 2: Setting up a Enshrouded Dedicated Server ==
Keen only makes a Windows server. Community Docker images run it on Linux under Wine, but Keen doesn't support that setup.


# Create a batch file named '''EnshroudedServer.bat''' in your newly created Enshrouded server folder from step 1
Source: [https://enshrouded.zendesk.com/hc/en-us/articles/16055628734109-Recommended-Server-Specifications Keen's recommended server specifications] and [https://enshrouded.zendesk.com/hc/en-us/articles/16056312924957-Dedicated-Server-FAQ dedicated server FAQ].
# Place the following code in this batch file:
::: start enshrouded_server.exe -log


== Step 3: Configuring your Enshrouded Server ==
=== Step 1: Install SteamCMD ===
Now comes the fun part, setting up your Enshrouded game server to your liking. There are some launch parameters to be aware of.


'''-log - Enables logging<br>
# Download [https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip SteamCMD for Windows from Valve].
# Make a folder <code>C:\steamcmd</code> and extract the ZIP into it.
# Pick a separate folder for the server, such as <code>C:\enshrouded-server</code>.


There are also a few files that can be configured.<br>
The Enshrouded server downloads with an anonymous login. You never put your Steam password in the script.


'''enshrouded_server.json''' - modifies the server configuration<br>
=== Step 2: Download the Enshrouded dedicated server ===
 
In <code>C:\steamcmd</code>, create a file named <code>install.bat</code> with this line:
 
<pre>
steamcmd.exe +force_install_dir "C:\enshrouded-server" +login anonymous +app_update 2278520 validate +quit
</pre>
 
In Notepad choose '''Save as type: All files''' so the name ends in <code>.bat</code>, not <code>.bat.txt</code>. Run it and wait for <code>Success! App '2278520' fully installed.</code> Then check that <code>C:\enshrouded-server\enshrouded_server.exe</code> exists.
 
'''2278520 is the dedicated server app.''' The game itself is a different app and won't work here.
 
You can also install '''Enshrouded Dedicated Server''' from the Tools section of your Steam library. [https://enshrouded.zendesk.com/hc/en-us/articles/16051370691485-Dedicated-Server-Installation-on-Steam Keen's Steam install guide] covers that route. SteamCMD is the better choice for a machine you don't play on.
 
=== Step 3: Start it once ===
 
Run <code>enshrouded_server.exe</code>. A console window opens. When it shows lines like these, the server is up:
 
<pre>
[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!
</pre>
 
The first start creates <code>enshrouded_server.json</code> next to the exe, with four roles and random passwords. Stop the server before you edit it.
 
=== Step 4: Edit enshrouded_server.json ===
 
The top of the file sets the server itself. Edit the values that are there rather than pasting an old example over it.


<pre>
<pre>
{
{
"name": "My Enshrouded Game Server",
"name": "Embervale Keep",
"password": "",
"saveDirectory": "./savegame",
"saveDirectory": "./savegame",
"logDirectory": "./logs",
"logDirectory": "./logs",
"ip": "0.0.0.0",
"ip": "0.0.0.0",
"gamePort": 15636,
"queryPort": 15637,
"queryPort": 15637,
"slotCount": 16
"slotCount": 16,
"tags": ["LookingForPlayers", "English", "BaseBuilding"],
"voiceChatMode": "Proximity",
"enableVoiceChat": false,
"enableTextChat": true,
"gameSettingsPreset": "Default",
...
}
}
</pre>
</pre>


Make sure to modify the following in order to get your game server to work:
The <code>...</code> stands for the rest of the file (the world settings, the roles and the ban list). Don't type it into your file.
 
{| class="wikitable"
! Key !! What to set
|-
| <code>name</code> || The name players search for. Keep it distinctive
|-
| <code>queryPort</code> || <code>15637</code> unless you need another port
|-
| <code>slotCount</code> || 1 to 16
|-
| <code>tags</code> || Server list filters, such as <code>LookingForPlayers</code>, a language, <code>BaseBuilding</code>, <code>Exploration</code> or <code>Roleplay</code>
|-
| <code>enableTextChat</code>, <code>enableVoiceChat</code> || Both are off by default
|-
| <code>gameSettingsPreset</code> || <code>Default</code>, <code>Relaxed</code>, <code>Hard</code>, <code>Survival</code> or <code>Custom</code>
|}
 
Keep it valid JSON: no comments, no trailing commas. Three traps catch most people:
 
* '''Individual world settings only work on Custom.''' On any other preset the server ignores the numbers under <code>gameSettings</code>.
* '''Day, night and hunger timers are in nanoseconds.''' A 30 minute day is <code>1800000000000</code>, not <code>1800</code>.
* '''A misspelled word stops the server.''' A wrong preset, option or tag makes it quit within 2 seconds, with the error only in the console window.
 
All 38 world settings, with the ranges the server really uses and what each preset changes: [[Enshrouded_Server_Settings|Enshrouded&nbsp;server&nbsp;settings]].
 
=== Step 5: Make it a private server ===
 
Enshrouded has no hidden or friends-only switch. Every dedicated server shows in the server list, and the passwords decide who gets in.
 
* Each role in <code>userGroups</code> has its own password. The password a player types decides their role.
* The fresh file has four roles, Admin, Friend, Guest and Visitor, each with a random password. Change the ones you use and keep the rest random so nobody can guess their way in.
* Hand out the Friend password to your group and keep Admin to yourself.
* Leave out the <code>LookingForPlayers</code> tag so the server doesn't come up for strangers filtering for open servers.
 
What each role can do, and how to kick and ban: [[Enshrouded_Admin_Commands|Enshrouded admin commands and roles]].
 
[[File:Enshrouded-server-config-tags-20260926.png|thumb|none|720px|alt=Enshrouded server browser tags in the Survival Servers Server Config tool|The 19 server list tags the game accepts, shown in the Command Center's Server Config.]]
 
=== Step 6: Open port 15637 ===
 
The server needs one port: <code>queryPort</code>, '''15637 UDP''' by default.
 
# Give the server machine a fixed address on your network, for example a DHCP reservation on your router.
# Allow 15637 UDP through Windows Firewall on that machine.
# Forward 15637 UDP on your router to the machine's address. If you changed <code>queryPort</code>, use your number in both places.
 
Keep the firewall on and don't put the machine in the router's DMZ to fix one port. If your provider uses carrier-grade NAT, port forwarding can't work at all. Ask them for a public IPv4 address. [https://enshrouded.zendesk.com/hc/en-us/articles/9767583477149-Network-Troubleshooting Keen's network troubleshooting] has more checks.
 
=== Step 7: Join the server ===
 
# Start Enshrouded and choose '''Join'''.
# Open the '''Dedicated Server''' tab.
# Search for your server's name and enter a role password.
# Mark it with the star icon and it sorts to the top from then on.
 
If it doesn't show up, add it to Steam's favorites: in Steam choose '''View''', then '''Game Servers''', then the '''+''' on the Favorites tab, and enter your public IP and query port, for example <code>203.0.113.10:15637</code>. More help: [[How_to_Join_Enshrouded_Server|How to join an Enshrouded server]].
 
A test from your own network doesn't prove outside players can connect. Have a friend try.
 
== Updates and backups ==
 
The server saves the world on its own and keeps ten backup copies in the save folder's <code>backup</code> folder. Characters aren't on the server: each player's character is saved on their own PC.
 
Before an update, stop the server and copy the whole save folder plus <code>enshrouded_server.json</code> somewhere safe. Then run <code>install.bat</code> again, and <code>validate</code> checks every file. Start the server and make sure the world loads before you delete the old copy.
 
When Keen patches the game, players' games update through Steam and the server has to match. Until it does, players see '''Version Mismatch''': [[Enshrouded_Server_Version_Mismatch_After_1.0|Enshrouded server Version Mismatch]].
 
What changed in 1.0: [[Enshrouded_1.0_Server_Guide|Enshrouded 1.0&nbsp;server&nbsp;guide]].
 
== Fixes ==
 
* '''Server not in the list:''' wait for the <code>HostOnline</code> line, check you're on the Dedicated Server tab, check the server and game are on the same version, and check 15637 UDP is open. Try a&nbsp;Steam&nbsp;favorite.
* '''Server closes right after starting:''' a wrong word in <code>enshrouded_server.json</code>. Read the console window before it closes, or run the exe from a Command Prompt so the error stays on screen.
* '''Settings don't change anything:''' the preset isn't <code>Custom</code>, or you edited a copy of the file that isn't next to the exe.
* '''Friends have the wrong permissions:''' they joined with a different role's password. Each role needs its own.
* '''Rubber banding or Server overloaded:''' the machine can't keep up. Compare it with the Requirements section, lower the slots, and restart the server.


'''name''' - Changes the host name of your game server<br>
== Questions ==
'''password''' - Enables a password to join<br>
'''saveDirectory''' - Changes the location of the save directory<br>
'''logDirectory''' - Changes the location of the log directory<br>
'''ip''' - Set to the home IP, you can find your home ip here: [https://www.google.com/search?q=what+is+my+ip Google "what is my IP"]<br>
'''gamePort''' - No need to change<br>
'''queryPort''' - No need to change<br>
'''slotCount''' - Changes the max allowable number of players (max is 16)<br>


== Step 3: Port Forwarding ==
;Is the Enshrouded dedicated server free?
Add an incoming rule to your Windows Firewall to allow TCP/UDP port (game port) 15636, (Steam query port) 15637 (or whichever ports you decide to use)
:Yes. It's a free download through SteamCMD or the Steam Tools library, with an anonymous login.


You may additionally need to add a forwarding rule to your network router. You can use [http://PortForward.com/ PortForward.com] to read how to do this.
;Can I run the server on the PC I play on?
:Yes, if it can handle both. Plan for the game and up to 6 GB for the server at the same time.


== Location of World Save Data ==
;How many players can join an Enshrouded dedicated server?
:1 to 16, set by <code>slotCount</code>.


To locate your save folder, navigate to this folder:
;Can PS5 players join?
:Not on a server you set up yourself. Players can't host a PS5 dedicated server, and there's no crossplay with Steam. PS5 groups rent a separate PS5 server from a host: [https://www.survivalservers.com/services/game_servers/enshrouded/#ps5 Enshrouded PS5 server hosting]. Players need PlayStation Plus to join. Step by step: [[Enshrouded_PS5_Dedicated_Server|Enshrouded PS5 dedicated server guide]]. See [[Enshrouded_Crossplay|Enshrouded crossplay: PC, PS5 and Xbox]].


'''savegame'''
;Does it run on Linux?
:Not officially. Keen makes a Windows server only.


There will be two files, back them up both in order to make a backup.
;Does it need a Steam account?
:Not for the download: SteamCMD logs in anonymously. Players need their own copy of the game on Steam.


== Additional Resources and Reading ==
== See also ==
:[[Enshrouded_Admin_Commands|Admin Commands]]
* [[Enshrouded_Server_Settings|Enshrouded server settings]]
:[[How_to_Join_Enshrouded_Server|How to Join an Enshrouded Server]]
* [[Enshrouded_Admin_Commands|Enshrouded admin commands and roles]]
__NOTOC__
* [[How_to_Join_Enshrouded_Server|How to join an Enshrouded server]]
* [[Enshrouded_Crossplay|Enshrouded crossplay: PC, PS5 and Xbox]]
* [[Enshrouded_PS5_Dedicated_Server|Enshrouded PS5 dedicated server]]
* [[Enshrouded_1.0_Server_Guide|Enshrouded 1.0 server guide]]
* [[Enshrouded_Server_Version_Mismatch_After_1.0|Enshrouded server Version Mismatch after 1.0]]
* [[Enshrouded_Mods_After_the_1.0_Update|Enshrouded mods]]
* [https://enshrouded.zendesk.com/hc/en-us/sections/16050842957085-Multiplayer-Server-Hosting Keen's multiplayer and server hosting documentation]

Latest revision as of 09:16, 17 November 2026

An Enshrouded dedicated server is a free Windows program from Keen Games, installed through SteamCMD as app 2278520.

Option 1: Rent an Enshrouded server

With Enshrouded server hosting from Survival Servers, the install, port and settings file are handled for you.

  1. Order a server: pick the player slots (8 or 16; 16 is the game's own limit), a location near your group and a billing cycle.
  2. Open the server in the Command Center once it's ready.
  3. Set a Server Title. It's the name your friends search for in the game.
  4. Set a Lock Password for your players and a different Admin Pass for admins.
  5. Open Server Config to pick a difficulty preset or change world settings.
  6. Click Save Settings & Restart, then start the server if it's stopped.
Server Title, Lock Password and Admin Pass in the Survival Servers Command Center for an Enshrouded server
Server Title, Lock Password and Admin Pass in the Command Center.

Option 2: Set up an Enshrouded dedicated server yourself

Requirements

Keen's recommendations depend on how many people play at once:

4 to 6 players Up to 16 players
CPU Intel Core i7 at 3.2 GHz or AMD equivalent, 6 cores / 12 threads Intel Core i7 at 3.7 GHz or AMD equivalent, 8 cores / 16 threads
Memory 16 GB 16 GB
Storage SSD with at least 30 GB free SSD with at least 30 GB free
Upload About 2 Mbit/s per player About 2 Mbit/s per player

The 16 GB is for the whole machine. The server program uses about 4.4 GB idle, up to 100 MB more per player, and no more than 6 GB in total. The server files are about 13 GB, and a world save is 1 to 100 MB.

Keen only makes a Windows server. Community Docker images run it on Linux under Wine, but Keen doesn't support that setup.

Source: Keen's recommended server specifications and dedicated server FAQ.

Step 1: Install SteamCMD

  1. Download SteamCMD for Windows from Valve.
  2. Make a folder C:\steamcmd and extract the ZIP into it.
  3. Pick a separate folder for the server, such as C:\enshrouded-server.

The Enshrouded server downloads with an anonymous login. You never put your Steam password in the script.

Step 2: Download the Enshrouded dedicated server

In C:\steamcmd, create a file named install.bat with this line:

steamcmd.exe +force_install_dir "C:\enshrouded-server" +login anonymous +app_update 2278520 validate +quit

In Notepad choose Save as type: All files so the name ends in .bat, not .bat.txt. Run it and wait for Success! App '2278520' fully installed. Then check that C:\enshrouded-server\enshrouded_server.exe exists.

2278520 is the dedicated server app. The game itself is a different app and won't work here.

You can also install Enshrouded Dedicated Server from the Tools section of your Steam library. Keen's Steam install guide covers that route. SteamCMD is the better choice for a machine you don't play on.

Step 3: Start it once

Run enshrouded_server.exe. A console window opens. When it shows lines like these, the server is up:

[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!

The first start creates enshrouded_server.json next to the exe, with four roles and random passwords. Stop the server before you edit it.

Step 4: Edit enshrouded_server.json

The top of the file sets the server itself. Edit the values that are there rather than pasting an old example over it.

{
	"name": "Embervale Keep",
	"saveDirectory": "./savegame",
	"logDirectory": "./logs",
	"ip": "0.0.0.0",
	"queryPort": 15637,
	"slotCount": 16,
	"tags": ["LookingForPlayers", "English", "BaseBuilding"],
	"voiceChatMode": "Proximity",
	"enableVoiceChat": false,
	"enableTextChat": true,
	"gameSettingsPreset": "Default",
	...
}

The ... stands for the rest of the file (the world settings, the roles and the ban list). Don't type it into your file.

Key What to set
name The name players search for. Keep it distinctive
queryPort 15637 unless you need another port
slotCount 1 to 16
tags Server list filters, such as LookingForPlayers, a language, BaseBuilding, Exploration or Roleplay
enableTextChat, enableVoiceChat Both are off by default
gameSettingsPreset Default, Relaxed, Hard, Survival or Custom

Keep it valid JSON: no comments, no trailing commas. Three traps catch most people:

  • Individual world settings only work on Custom. On any other preset the server ignores the numbers under gameSettings.
  • Day, night and hunger timers are in nanoseconds. A 30 minute day is 1800000000000, not 1800.
  • A misspelled word stops the server. A wrong preset, option or tag makes it quit within 2 seconds, with the error only in the console window.

All 38 world settings, with the ranges the server really uses and what each preset changes: Enshrouded server settings.

Step 5: Make it a private server

Enshrouded has no hidden or friends-only switch. Every dedicated server shows in the server list, and the passwords decide who gets in.

  • Each role in userGroups has its own password. The password a player types decides their role.
  • The fresh file has four roles, Admin, Friend, Guest and Visitor, each with a random password. Change the ones you use and keep the rest random so nobody can guess their way in.
  • Hand out the Friend password to your group and keep Admin to yourself.
  • Leave out the LookingForPlayers tag so the server doesn't come up for strangers filtering for open servers.

What each role can do, and how to kick and ban: Enshrouded admin commands and roles.

Enshrouded server browser tags in the Survival Servers Server Config tool
The 19 server list tags the game accepts, shown in the Command Center's Server Config.

Step 6: Open port 15637

The server needs one port: queryPort, 15637 UDP by default.

  1. Give the server machine a fixed address on your network, for example a DHCP reservation on your router.
  2. Allow 15637 UDP through Windows Firewall on that machine.
  3. Forward 15637 UDP on your router to the machine's address. If you changed queryPort, use your number in both places.

Keep the firewall on and don't put the machine in the router's DMZ to fix one port. If your provider uses carrier-grade NAT, port forwarding can't work at all. Ask them for a public IPv4 address. Keen's network troubleshooting has more checks.

Step 7: Join the server

  1. Start Enshrouded and choose Join.
  2. Open the Dedicated Server tab.
  3. Search for your server's name and enter a role password.
  4. Mark it with the star icon and it sorts to the top from then on.

If it doesn't show up, add it to Steam's favorites: in Steam choose View, then Game Servers, then the + on the Favorites tab, and enter your public IP and query port, for example 203.0.113.10:15637. More help: How to join an Enshrouded server.

A test from your own network doesn't prove outside players can connect. Have a friend try.

Updates and backups

The server saves the world on its own and keeps ten backup copies in the save folder's backup folder. Characters aren't on the server: each player's character is saved on their own PC.

Before an update, stop the server and copy the whole save folder plus enshrouded_server.json somewhere safe. Then run install.bat again, and validate checks every file. Start the server and make sure the world loads before you delete the old copy.

When Keen patches the game, players' games update through Steam and the server has to match. Until it does, players see Version Mismatch: Enshrouded server Version Mismatch.

What changed in 1.0: Enshrouded 1.0 server guide.

Fixes

  • Server not in the list: wait for the HostOnline line, check you're on the Dedicated Server tab, check the server and game are on the same version, and check 15637 UDP is open. Try a Steam favorite.
  • Server closes right after starting: a wrong word in enshrouded_server.json. Read the console window before it closes, or run the exe from a Command Prompt so the error stays on screen.
  • Settings don't change anything: the preset isn't Custom, or you edited a copy of the file that isn't next to the exe.
  • Friends have the wrong permissions: they joined with a different role's password. Each role needs its own.
  • Rubber banding or Server overloaded: the machine can't keep up. Compare it with the Requirements section, lower the slots, and restart the server.

Questions

Is the Enshrouded dedicated server free?
Yes. It's a free download through SteamCMD or the Steam Tools library, with an anonymous login.
Can I run the server on the PC I play on?
Yes, if it can handle both. Plan for the game and up to 6 GB for the server at the same time.
How many players can join an Enshrouded dedicated server?
1 to 16, set by slotCount.
Can PS5 players join?
Not on a server you set up yourself. Players can't host a PS5 dedicated server, and there's no crossplay with Steam. PS5 groups rent a separate PS5 server from a host: Enshrouded PS5 server hosting. Players need PlayStation Plus to join. Step by step: Enshrouded PS5 dedicated server guide. See Enshrouded crossplay: PC, PS5 and Xbox.
Does it run on Linux?
Not officially. Keen makes a Windows server only.
Does it need a Steam account?
Not for the download: SteamCMD logs in anonymously. Players need their own copy of the game on Steam.

See also