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

Enshrouded server for friends: password and permission groups

Set the password in the panel, use the userGroups permission groups (Admin, Friend, Guest), reserve slots and get your friends onto the server.

Last updated: ·6 min read

A server for friends needs two things: no strangers getting in, and no guest taking your base apart. Enshrouded solves both with one mechanism. The password a player types decides which group they land in and what they can do in the world.

The short answer

Set a password in the Server Password field in Startup parameters and send it to your group together with the server address. If some people should have more rights, for example to kick players, give them the Admin group password from enshrouded_server.json.

Hosted from the game menuYour own server
World availabilityonly while the host playsaround the clock
Playersup to 16up to 16
World backupsby hand, on the host's PCin the panel, in a few clicks
Load on your PCgame and server at onceonly the game

How the password works

The game does not have a single server password. It has permission groups, stored in enshrouded_server.json in the userGroups section. Each group has a name, its own password and a set of permissions. A player types a password when joining and gets the permissions of the group that password matches.

On our servers the password from the Server Password field goes to the group named Default. The panel writes it on every server start, so after changing it a restart is enough. An empty field means the Default group has no password.

The old password field at the top of the file has not worked for a long time. The game only reads passwords from userGroups. If you put the password in the wrong place, players get a wrong password message even though everything seems to match.

Every group should have a different password. The game uses the password to decide which group a player belongs to, so two identical passwords in different groups are asking for trouble.

Groups and permissions

A file created from scratch by the current game version contains ready-made groups such as Admin, Friend and Guest, each with a randomly generated password. You set permissions with fields that are true or false:

FieldWhat it allows
canKickBankicking and banning other players
canAccessInventoriesusing chests and other containers
canEditBasechanges to players' bases
canExtendBaseextending bases
reservedSlotsnumber of slots reserved for this group

A group for admins can look like this:

{
  "name": "Admin",
  "password": "YourAdminPassword",
  "canKickBan": true,
  "canAccessInventories": true,
  "canEditBase": true,
  "canExtendBase": true,
  "reservedSlots": 1
}

A typical split for a group of friends: you and one trusted person in Admin, everyone else in Default with the password from the panel, and guests who only come to look around in a group without access to chests and bases.

How to change the groups

  1. Stop the server with Stop on the Dashboard. The game saves its settings when it shuts down, so changes made on a running server can disappear.
  2. In Files, open enshrouded_server.json in the main folder.
  3. In the userGroups section, change passwords or permissions. Add a new group as another object inside the square brackets, separated by a comma.
  4. Save the file and start the server.

Watch the brackets and commas. A group pasted outside the userGroups section or outside the file's main brackets makes the game shut down right after starting. If the server will not come up after an edit, compare the file with a copy from Server backups.

For longer changes it is easier to download the file, edit it in a text editor on your computer and upload it again, for example over SFTP.

Player count and reserved slots

An Enshrouded server holds up to 16 players. You set the number of slots in the Max Players field in the panel. A lower number keeps things from getting crowded if the address reaches a wider circle.

The reservedSlots field helps when guests join too. If the Admin group has one reserved slot and guests fill the rest, the server shows as full to them, but you can still get in.

If someone runs the server with you, add them in Subusers. They get their own panel access without your password, and you decide whether they may restart the server or edit files. See Subusers.

How your friends join

The server address, meaning IP and port, is in IP addresses and ports. Your friends can join in two ways:

  • From the server list in the game. In the join menu, turn on dedicated servers in the list filter, search for the server name and enter the password.
  • Through Steam. In the Steam client open View, then Game servers, go to the Favorites tab, click the plus and enter the address as IP:port. The server then shows up among the favorites in Enshrouded.

Every player keeps their character on their own PC, and the server stores only the world. So everyone joins with the character they already play.

Text and voice chat

Chat is set in the same file as the groups: enableTextChat turns on text chat, enableVoiceChat turns on voice chat, and voiceChatMode decides whether you hear only people nearby (Proximity) or everyone (Global). If your group sits on Discord anyway, you can leave in-game voice chat off. All other fields of the file are covered in Enshrouded server settings.

FAQ

Where do I set the password on an Enshrouded server? In the Server Password field in Startup parameters. On start, the panel writes it to the Default group in enshrouded_server.json, so a restart is enough after a change.

Why does the game say the password is wrong? Most often the password went into the old password field, which the game no longer reads, or the server was not restarted after the change. The game only checks group passwords in userGroups. More fixes are in Enshrouded server not working.

How do I give someone admin rights? Give them the password of a group with canKickBan set to true, for example Admin. You change that group's password in enshrouded_server.json with the server stopped.

How many people can play on an Enshrouded server? Up to 16. That is the game's limit, and you set the number of slots in Max Players in the panel.

Do my friends need a new character? No. Everyone keeps their character on their own PC, and the server stores only the world, so you join with your existing character.

Want a server your whole group can use at any time? 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