Enshrouded
Genre: Survival-RPG
Studio: Keen Games GmbH
Publisher: Keen Games GmbH
Rent a server
Rent a server
Genre: Survival-RPG
Studio: Keen Games GmbH
Publisher: Keen Games GmbH

How do the new “userGroups” (user groups) for Enshrouded Server work?

Do I have to change anything now with the content update #2?

Update 2 of Enshrouded brings additional options for players to set up their servers. The structure of the enshrouded_server.json file, which is used to configure the dedicated server, has been updated for this purpose.

Depending on the previous configuration of the server, some changes may be necessary on your side.

The password for a server was previously defined in line 3 of the “enshrouded_server.json” file. This line is no longer used to set the password for dedicated servers!

However, from now on, if the game recognizes a password defined in line 3, it will create a new “userGroup” called “default” that will use the password and automatically grant the same permission level that players were used to until Content Update 2.

Important This means that if the host (i.e. you) of a server does not change anything, the dedicated server is still protected by the same password and the players’ authorizations remain the same as before.

Creating new “userGroups”

Authorizations for players to play on servers are now managed via user groups (“userGroups”).

Each group can be configured in the “enshrouded_server.json” file with a unique configuration of authorizations and an associated password that grants the logged-in player the authorizations.

By default, the “enshrouded_server.json” starts with 3 user groups, which can serve as the basis for hosts (i.e. you). The default settings are:

  • Admin:
    • Changes to player bases are allowed
    • The use of chests and other containers is allowed
    • Kicking and banning other players is allowed
  • Friend: (Friend)
    • Changes to player bases are allowed
    • The use of chests and other containers is permitted
  • Guest:
    • Changes to player bases are not allowed
    • The use of chests and other containers is not permitted

Hint The authorizations are set with “true” and “false” (see also the example at the end of this wiki).

Random passwords are created by default to prevent unwanted players from joining the server.

Important All user groups have full access to the game world outside the player bases and can take part in battles, collect resources, solve quests, etc. …

Important The above presets are only generated if the “enshrouded_server.json” is recreated after updating Enshrouded with Content Update #2. If the game recognizes an already set password, only the “default” user group will be created with the permission configuration identical to the “friend” preset from the presets above.

Can I also create new user groups (“userGroups”)?

New and unique user groups can also be set up in the “enshrouded_server.json” file. To do this, simply add a new user group section with a new name and set a password and the desired authorizations.

Another setting that can be configured for each user group is the number of reserved slots for this user group.
The option for this is called: “reservedSlots”: 1

Important If this option is not to used, this must be noted as follows: “reservedSlots”: 0

If 1 or more reserved slots have been set up, the lobby will be marked as “full” for players trying to join the server with another user group, which would result in all session slots being full. This allows for example admins or friends to join even if there is a high demand for slots by “guests”.

Important Up to 10 user groups can be created.

Changes to used ports

In Content Update #2, the previously used “gamePort” was removed from Enshrouded. Now the only port used by the game is the “queryPort”.

Example of an updated server configuration

{
"name": "Enshrouded Server",
"password": "",
"saveDirectory": "./savegame",
"logDirectory": "./logs",
"ip": "0.0.0.0",
"queryPort": 15637,
"slotCount": 16,
"userGroups": [
{
"name": "Admin",
"password": "Randomized password 01",
"canKickBan": true,
"canAccessInventories": true,
"canEditBase": true,
"canExtendBase": true,
"reservedSlots": 1
},
{
"name": "Friend",
"password": "Randomized password 02",
"canKickBan": false,
"canAccessInventories": true,
"canEditBase": true,
"canExtendBase": true,
"reservedSlots": 3
},
{
"name": "Guest",
"password": "Randomized password 03",
"canKickBan": false,
"canAccessInventories": false,
"canEditBase": false,
"canExtendBase": false,
"reservedSlots": 0
}
]
}

similar articles