Skip to content

Commit 20f3c5c

Browse files
committed
update example and external config for current version, rewrite entrypoint for better signal handling and improved validation of external configs, updated dockerfile for deprecated syntax and ge-proton version
1 parent d8d1cdd commit 20f3c5c

File tree

4 files changed

+192
-186
lines changed

4 files changed

+192
-186
lines changed

container/Dockerfile

Lines changed: 11 additions & 11 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-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"
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 \
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
}

container/enshrouded_server_external.json

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)