Skip to content

Commit 146b299

Browse files
h3o66dgibbs64
andauthored
feat(newserver): Core Keeper (#3884)
Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
1 parent 928bfdc commit 146b299

24 files changed

+239
-2
lines changed
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
##################################
2+
######## Default Settings ########
3+
##################################
4+
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
8+
9+
#### Game Server Settings ####
10+
11+
ip="0.0.0.0"
12+
port="1234"
13+
14+
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
15+
startparameters="-batchmode -ip ${ip} -port ${port} -datapath ${servercfgdir} -logfile ${gamelog}"
16+
17+
#### LinuxGSM Settings ####
18+
19+
## LinuxGSM Stats
20+
# Send useful stats to LinuxGSM developers.
21+
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
22+
# (on|off)
23+
stats="off"
24+
25+
## Notification Alerts
26+
# (on|off)
27+
28+
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
29+
displayip=""
30+
31+
# More info | https://docs.linuxgsm.com/alerts#more-info
32+
postalert="off"
33+
34+
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
35+
discordalert="off"
36+
discordwebhook="webhook"
37+
38+
# Email Alerts | https://docs.linuxgsm.com/alerts/email
39+
emailalert="off"
40+
email="email@example.com"
41+
emailfrom=""
42+
43+
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
44+
gotifyalert="off"
45+
gotifytoken="token"
46+
gotifywebhook="webhook"
47+
48+
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
49+
iftttalert="off"
50+
ifttttoken="accesstoken"
51+
iftttevent="linuxgsm_alert"
52+
53+
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
54+
mailgunalert="off"
55+
mailgunapiregion="us"
56+
mailguntoken="accesstoken"
57+
mailgundomain="example.com"
58+
mailgunemailfrom="alert@example.com"
59+
mailgunemail="email@myemail.com"
60+
61+
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
62+
pushbulletalert="off"
63+
pushbullettoken="accesstoken"
64+
channeltag=""
65+
66+
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
67+
pushoveralert="off"
68+
pushovertoken="accesstoken"
69+
pushoveruserkey="userkey"
70+
71+
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
72+
rocketchatalert="off"
73+
rocketchatwebhook="webhook"
74+
rocketchattoken=""
75+
76+
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
77+
slackalert="off"
78+
slackwebhook="webhook"
79+
80+
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
81+
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
82+
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
83+
telegramapi="api.telegram.org"
84+
telegramalert="off"
85+
telegramtoken="accesstoken"
86+
telegramchatid=""
87+
curlcustomstring=""
88+
89+
## Updating | https://docs.linuxgsm.com/commands/update
90+
updateonstart="off"
91+
92+
## Backup | https://docs.linuxgsm.com/commands/backup
93+
maxbackups="4"
94+
maxbackupdays="30"
95+
stoponbackup="on"
96+
97+
## Logging | https://docs.linuxgsm.com/features/logging
98+
consolelogging="on"
99+
logdays="7"
100+
101+
## Monitor | https://docs.linuxgsm.com/commands/monitor
102+
# Query delay time
103+
querydelay="1"
104+
105+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
106+
ansi="on"
107+
108+
#### Advanced Settings ####
109+
110+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
111+
sleeptime="0.5"
112+
113+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
114+
# Server appid
115+
appid="1963720"
116+
steamcmdforcewindows="no"
117+
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
118+
branch=""
119+
betapassword=""
120+
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
121+
steammaster="true"
122+
123+
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
124+
# 1: tmux kill
125+
# 2: CTRL+c
126+
# 3: quit
127+
# 4: quit 120s
128+
# 5: stop
129+
# 6: q
130+
# 7: exit
131+
# 8: 7 Days to Die
132+
# 9: GoldSrc
133+
# 10: Avorion
134+
# 11: end
135+
stopmode="2"
136+
137+
## Query mode
138+
# 1: session only
139+
# 2: gamedig (gsquery fallback)
140+
# 3: gamedig
141+
# 4: gsquery
142+
# 5: tcp
143+
querymode="2"
144+
querytype="protocol-valve"
145+
146+
## Console type
147+
consoleverbose="no"
148+
consoleinteract="no"
149+
150+
## Game Server Details
151+
# Do not edit
152+
gamename="Core Keeper"
153+
engine="unity3d"
154+
glibc="2.15"
155+
156+
#### Directories ####
157+
# Edit with care
158+
159+
## Game Server Directories
160+
systemdir="${serverfiles}"
161+
executabledir="${serverfiles}"
162+
preexecutable="xvfb-run"
163+
executable="./CoreKeeperServer"
164+
servercfgdir="${systemdir}/gamedata/${selfname}"
165+
servercfg="ServerConfig.json"
166+
servercfgdefault="ServerConfig.json"
167+
servercfgfullpath="${servercfgdir}/${servercfg}"
168+
169+
## Backup Directory
170+
backupdir="${lgsmdir}/backup"
171+
172+
## Logging Directories
173+
logdir="${rootdir}/log"
174+
gamelogdir="${serverfiles}/logs"
175+
lgsmlogdir="${logdir}/script"
176+
consolelogdir="${logdir}/console"
177+
gamelog="${gamelogdir}/${selfname}-game.log"
178+
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
179+
consolelog="${consolelogdir}/${selfname}-console.log"
180+
alertlog="${lgsmlogdir}/${selfname}-alert.log"
181+
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
182+
183+
## Logs Naming
184+
gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
185+
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
186+
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xorg-x11-server-Xvfb
2324
cmw
2425
cod,compat-libstdc++-33.i686
2526
cod2,compat-libstdc++-33.i686

lgsm/data/almalinux-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xorg-x11-server-Xvfb
2324
cmw
2425
cod,compat-libstdc++-33.i686
2526
cod2,compat-libstdc++-33.i686

lgsm/data/centos-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xorg-x11-server-Xvfb
2324
cmw
2425
cod,compat-libstdc++-33.i686
2526
cod2,compat-libstdc++-33.i686

lgsm/data/centos-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xorg-x11-server-Xvfb
2324
cmw
2425
cod,compat-libstdc++-33.i686
2526
cod2,compat-libstdc++-33.i686

lgsm/data/centos-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xorg-x11-server-Xvfb
2324
cmw
2425
cod,compat-libstdc++-33.i686
2526
cod2,compat-libstdc++-33.i686

lgsm/data/debian-10.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu-dev,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xvfb
2324
cmw
2425
cod,libstdc++5:i386
2526
cod2,libstdc++5:i386

lgsm/data/debian-11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu-dev,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xvfb
2324
cmw
2425
cod,libstdc++5:i386
2526
cod2,libstdc++5:i386

lgsm/data/debian-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu-dev,dos2unix
2020
bt1944
2121
cc
2222
cd
23+
ck,xvfb
2324
cmw
2425
cod,libstdc++5:i386
2526
cod2,libstdc++5:i386

lgsm/data/rhel-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bt,libicu
2020
bt1944
2121
cc
2222
cd
23+
ck,xorg-x11-server-Xvfb
2324
cmw
2425
cod,compat-libstdc++-33.i686
2526
cod2,compat-libstdc++-33.i686

0 commit comments

Comments
 (0)