Skip to content

Commit 20293f9

Browse files
authored
Merge pull request #132 from jsknnr/dev
updates
2 parents a67aa60 + 20f3c5c commit 20293f9

File tree

6 files changed

+196
-174
lines changed

6 files changed

+196
-174
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you absolutely require to run the process in the container as a gid/uid other
3434
**Note:** SERVER_IP is ignored if using Helm because that isn't how Kubernetes works.
3535

3636
### External config
37-
`docker-compose-external.yml` copys `enshrouded_server_extenal.json` into container to replace the default config file to make it simpler to change all of the sever settings and user groups more info on settings [here](https://enshrouded.zendesk.com/hc/en-us/articles/16055441447709-Dedicated-Server-Configuration)
37+
`docker-compose-external.yaml` copys `enshrouded_server_external.json` into container to replace the default config file to make it simpler to change all of the sever settings and user groups more info on settings [here](https://enshrouded.zendesk.com/hc/en-us/articles/16055441447709-Dedicated-Server-Configuration)
3838

3939
### Docker
4040

@@ -116,7 +116,7 @@ services:
116116
- EXTERNAL_CONFIG=1
117117
volumes:
118118
- 'enshrouded-persistent-data:/home/steam/enshrouded/savegame'
119-
- ./enshrouded_server_extenal.json:/home/steam/enshrouded/enshrouded_server.json #replaces defaut configuration file
119+
- ./enshrouded_server_external.json:/home/steam/enshrouded/enshrouded_server.json #replaces defaut configuration file
120120
restart: unless-stopped
121121

122122
volumes:

container/Dockerfile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ FROM debian:13-slim
33
ARG CONTAINER_GID=10000
44
ARG CONTAINER_UID=10000
55

6-
ENV DEBIAN_FRONTEND "noninteractive"
7-
ENV STEAM_APP_ID "2278520"
8-
ENV HOME "/home/steam"
9-
ENV ENSHROUDED_PATH "/home/steam/enshrouded"
10-
ENV ENSHROUDED_CONFIG "${ENSHROUDED_PATH}/enshrouded_server.json"
11-
ENV EXTERNAL_CONFIG 0
12-
ENV GE_PROTON_VERSION "10-17"
13-
ENV GE_PROTON_URL "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton${GE_PROTON_VERSION}/GE-Proton${GE_PROTON_VERSION}.tar.gz"
6+
ENV DEBIAN_FRONTEND="noninteractive"
7+
ENV STEAM_APP_ID="2278520"
8+
ENV HOME="/home/steam"
9+
ENV ENSHROUDED_PATH="/home/steam/enshrouded"
10+
ENV ENSHROUDED_CONFIG="${ENSHROUDED_PATH}/enshrouded_server.json"
11+
ENV EXTERNAL_CONFIG="0"
12+
ENV GE_PROTON_VERSION="10-26"
13+
ENV GE_PROTON_URL="https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton${GE_PROTON_VERSION}/GE-Proton${GE_PROTON_VERSION}.tar.gz"
1414
ENV STEAMCMD_PATH="/home/steam/steamcmd"
1515
ENV STEAM_SDK64_PATH="/home/steam/.steam/sdk64"
1616
ENV STEAM_SDK32_PATH="/home/steam/.steam/sdk32"
17-
ENV STEAM_COMPAT_CLIENT_INSTALL_PATH "$STEAMCMD_PATH"
18-
ENV STEAM_COMPAT_DATA_PATH "${STEAMCMD_PATH}/steamapps/compatdata/${STEAM_APP_ID}"
19-
ENV UMU_ID 0
17+
ENV STEAM_COMPAT_CLIENT_INSTALL_PATH="$STEAMCMD_PATH"
18+
ENV STEAM_COMPAT_DATA_PATH="${STEAMCMD_PATH}/steamapps/compatdata/${STEAM_APP_ID}"
19+
ENV UMU_ID="0"
2020

2121
RUN groupadd -g $CONTAINER_GID steam \
2222
&& useradd -g $CONTAINER_GID -u $CONTAINER_UID -m steam \
@@ -50,7 +50,7 @@ RUN mkdir "$ENSHROUDED_PATH" \
5050
&& mkdir -p "${STEAMCMD_PATH}/steamapps/compatdata/${STEAM_APP_ID}" \
5151
&& curl -sqL https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | tar zxvf - -C ${STEAMCMD_PATH} \
5252
&& chmod +x ${STEAMCMD_PATH}/steamcmd.sh \
53-
&& ${STEAMCMD_PATH}/steamcmd.sh +quit \
53+
&& ${STEAMCMD_PATH}/steamcmd.sh +login anonymous +quit \
5454
&& mkdir -p /home/steam/.steam \
5555
&& ln -s ${STEAMCMD_PATH}/linux64 ${STEAM_SDK64_PATH} \
5656
&& ln -s ${STEAM_SDK64_PATH}/steamclient.so ${STEAM_SDK64_PATH}/steamservice.so \

container/docker-compose-external-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- EXTERNAL_CONFIG=1
99
volumes:
1010
- 'enshrouded-persistent-data:/home/steam/enshrouded/savegame'
11-
- ./enshrouded_server_extenal.json:/home/steam/enshrouded/enshrouded_server.json #replaces defaut configuration file
11+
- ./enshrouded_server_external.json:/home/steam/enshrouded/enshrouded_server.json #replaces default configuration file
1212
restart: unless-stopped
1313

1414
volumes:
Lines changed: 75 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,77 @@
11
{
2-
"name": "Enshrouded Server",
3-
"saveDirectory": "./savegame",
4-
"logDirectory": "./logs",
5-
"ip": "0.0.0.0",
6-
"queryPort": 15637,
7-
"slotCount": 16,
8-
"gameSettingsPreset": "Default",
9-
"gameSettings": {
10-
"playerHealthFactor": 1,
11-
"playerManaFactor": 1,
12-
"playerStaminaFactor": 1,
13-
"playerBodyHeatFactor": 1,
14-
"enableDurability": true,
15-
"enableStarvingDebuff": false,
16-
"foodBuffDurationFactor": 1,
17-
"fromHungerToStarving": 600000000000,
18-
"shroudTimeFactor": 1,
19-
"tombstoneMode": "AddBackpackMaterials",
20-
"enableGliderTurbulences": true,
21-
"weatherFrequency": "Normal",
22-
"miningDamageFactor": 1,
23-
"plantGrowthSpeedFactor": 1,
24-
"resourceDropStackAmountFactor": 1,
25-
"factoryProductionSpeedFactor": 1,
26-
"perkUpgradeRecyclingFactor": 0.500000,
27-
"perkCostFactor": 1,
28-
"experienceCombatFactor": 1,
29-
"experienceMiningFactor": 1,
30-
"experienceExplorationQuestsFactor": 1,
31-
"randomSpawnerAmount": "Normal",
32-
"aggroPoolAmount": "Normal",
33-
"enemyDamageFactor": 1,
34-
"enemyHealthFactor": 1,
35-
"enemyStaminaFactor": 1,
36-
"enemyPerceptionRangeFactor": 1,
37-
"bossDamageFactor": 1,
38-
"bossHealthFactor": 1,
39-
"threatBonus": 1,
40-
"pacifyAllEnemies": false,
41-
"tamingStartleRepercussion": "LoseSomeProgress",
42-
"dayTimeDuration": 1800000000000,
43-
"nightTimeDuration": 720000000000
44-
},
45-
"userGroups": [
46-
{
47-
"name": "Default",
48-
"password": "",
49-
"canKickBan": false,
50-
"canAccessInventories": true,
51-
"canEditBase": true,
52-
"canExtendBase": true,
53-
"reservedSlots": 0
54-
}
55-
]
2+
"name": "Enshrouded Server",
3+
"saveDirectory": "./savegame",
4+
"logDirectory": "./logs",
5+
"ip": "0.0.0.0",
6+
"queryPort": 15637,
7+
"slotCount": 16,
8+
"tags": [
9+
],
10+
"voiceChatMode": "Proximity",
11+
"enableVoiceChat": false,
12+
"enableTextChat": false,
13+
"gameSettingsPreset": "Default",
14+
"gameSettings": {
15+
"playerHealthFactor": 1,
16+
"playerManaFactor": 1,
17+
"playerStaminaFactor": 1,
18+
"playerBodyHeatFactor": 1,
19+
"playerDivingTimeFactor": 1,
20+
"enableDurability": true,
21+
"enableStarvingDebuff": false,
22+
"foodBuffDurationFactor": 1,
23+
"fromHungerToStarving": 600000000000,
24+
"shroudTimeFactor": 1,
25+
"tombstoneMode": "AddBackpackMaterials",
26+
"enableGliderTurbulences": true,
27+
"weatherFrequency": "Normal",
28+
"fishingDifficulty": "Normal",
29+
"miningDamageFactor": 1,
30+
"plantGrowthSpeedFactor": 1,
31+
"resourceDropStackAmountFactor": 1,
32+
"factoryProductionSpeedFactor": 1,
33+
"perkUpgradeRecyclingFactor": 0.500000,
34+
"perkCostFactor": 1,
35+
"experienceCombatFactor": 1,
36+
"experienceMiningFactor": 1,
37+
"experienceExplorationQuestsFactor": 1,
38+
"randomSpawnerAmount": "Normal",
39+
"aggroPoolAmount": "Normal",
40+
"enemyDamageFactor": 1,
41+
"enemyHealthFactor": 1,
42+
"enemyStaminaFactor": 1,
43+
"enemyPerceptionRangeFactor": 1,
44+
"bossDamageFactor": 1,
45+
"bossHealthFactor": 1,
46+
"threatBonus": 1,
47+
"pacifyAllEnemies": false,
48+
"tamingStartleRepercussion": "LoseSomeProgress",
49+
"dayTimeDuration": 1800000000000,
50+
"nightTimeDuration": 720000000000,
51+
"curseModifier": "Normal"
52+
},
53+
"userGroups": [
54+
{
55+
"name": "Admin",
56+
"password": "changemeplease",
57+
"canKickBan": true,
58+
"canAccessInventories": true,
59+
"canEditWorld": true,
60+
"canEditBase": true,
61+
"canExtendBase": true,
62+
"reservedSlots": 0
63+
},
64+
{
65+
"name": "Friend",
66+
"password": "alsochangemeplease",
67+
"canKickBan": false,
68+
"canAccessInventories": true,
69+
"canEditWorld": true,
70+
"canEditBase": true,
71+
"canExtendBase": false,
72+
"reservedSlots": 0
73+
}
74+
],
75+
"bannedAccounts": [
76+
]
5677
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"ip": "0.0.0.0",
66
"queryPort": 15637,
77
"slotCount": 16,
8+
"tags": [
9+
],
810
"voiceChatMode": "Proximity",
911
"enableVoiceChat": false,
1012
"enableTextChat": false,
@@ -14,6 +16,7 @@
1416
"playerManaFactor": 1,
1517
"playerStaminaFactor": 1,
1618
"playerBodyHeatFactor": 1,
19+
"playerDivingTimeFactor": 1,
1720
"enableDurability": true,
1821
"enableStarvingDebuff": false,
1922
"foodBuffDurationFactor": 1,
@@ -22,6 +25,7 @@
2225
"tombstoneMode": "AddBackpackMaterials",
2326
"enableGliderTurbulences": true,
2427
"weatherFrequency": "Normal",
28+
"fishingDifficulty": "Normal",
2529
"miningDamageFactor": 1,
2630
"plantGrowthSpeedFactor": 1,
2731
"resourceDropStackAmountFactor": 1,
@@ -52,6 +56,7 @@
5256
"password": "changemeplease",
5357
"canKickBan": true,
5458
"canAccessInventories": true,
59+
"canEditWorld": true,
5560
"canEditBase": true,
5661
"canExtendBase": true,
5762
"reservedSlots": 0
@@ -61,9 +66,12 @@
6166
"password": "alsochangemeplease",
6267
"canKickBan": false,
6368
"canAccessInventories": true,
69+
"canEditWorld": true,
6470
"canEditBase": true,
6571
"canExtendBase": false,
6672
"reservedSlots": 0
6773
}
74+
],
75+
"bannedAccounts": [
6876
]
6977
}

0 commit comments

Comments
 (0)