Skip to content

Commit 67472a8

Browse files
authored
feat(new server): The Front (#4359)
* add the front * config * appid * config * parameters * params * params * ports * update parameters * verbose * variable * fix * multihome * update ip addressing * add ip vars * info * add ft-icon * add missing tf
1 parent aedfa77 commit 67472a8

26 files changed

+265
-0
lines changed
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
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+
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
12+
ip="0.0.0.0"
13+
port="5001"
14+
beaconport="5002"
15+
shutdownport="5003"
16+
queryport="27015"
17+
adminlabel="true" # Enable admin icon.
18+
allowsensitivewords="true"
19+
altsavedirectoryname="${defaultmap}"
20+
anticheat="true"
21+
damageself="true"
22+
damangeallies="true"
23+
gamemode="0" # 0 = PvP; 1 = PvE
24+
greenhand="true"
25+
maxplayers="40"
26+
maxqueuesize="50"
27+
queuevalidtime="120"
28+
saveinterval="300"
29+
serveradmins="" # Use 17-digit Steam IDs separated by commas to grant admin privileges to players.
30+
servername="LinuxGSM"
31+
serverpassword=""
32+
servertags="LinuxGSM"
33+
steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this.
34+
35+
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
36+
startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${publicip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'"
37+
38+
#### LinuxGSM Settings ####
39+
40+
## LinuxGSM Stats
41+
# Send useful stats to LinuxGSM developers.
42+
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
43+
# (on|off)
44+
stats="off"
45+
46+
## Notification Alerts
47+
# (on|off)
48+
49+
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
50+
displayip=""
51+
52+
# More info | https://docs.linuxgsm.com/alerts#more-info
53+
postalert="off"
54+
55+
# Alert on Start/Stop/Restart
56+
statusalert="off"
57+
58+
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
59+
discordalert="off"
60+
discordwebhook="webhook"
61+
62+
# Email Alerts | https://docs.linuxgsm.com/alerts/email
63+
emailalert="off"
64+
65+
emailfrom=""
66+
67+
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
68+
gotifyalert="off"
69+
gotifytoken="token"
70+
gotifywebhook="webhook"
71+
72+
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
73+
iftttalert="off"
74+
ifttttoken="accesstoken"
75+
iftttevent="linuxgsm_alert"
76+
77+
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
78+
pushbulletalert="off"
79+
pushbullettoken="accesstoken"
80+
channeltag=""
81+
82+
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
83+
pushoveralert="off"
84+
pushovertoken="accesstoken"
85+
pushoveruserkey="userkey"
86+
87+
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
88+
rocketchatalert="off"
89+
rocketchatwebhook="webhook"
90+
91+
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
92+
slackalert="off"
93+
slackwebhook="webhook"
94+
95+
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
96+
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
97+
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
98+
telegramapi="api.telegram.org"
99+
telegramalert="off"
100+
telegramtoken="accesstoken"
101+
telegramchatid=""
102+
curlcustomstring=""
103+
104+
## Updating | https://docs.linuxgsm.com/commands/update
105+
updateonstart="off"
106+
107+
## Backup | https://docs.linuxgsm.com/commands/backup
108+
maxbackups="4"
109+
maxbackupdays="30"
110+
stoponbackup="on"
111+
112+
## Logging | https://docs.linuxgsm.com/features/logging
113+
consolelogging="on"
114+
logdays="7"
115+
116+
## Monitor | https://docs.linuxgsm.com/commands/monitor
117+
# Query delay time
118+
querydelay="5"
119+
120+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
121+
ansi="on"
122+
123+
#### Advanced Settings ####
124+
125+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
126+
sleeptime="0.5"
127+
128+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
129+
# Server appid
130+
appid="2334200"
131+
steamcmdforcewindows="no"
132+
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
133+
branch=""
134+
betapassword=""
135+
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
136+
steammaster="true"
137+
138+
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
139+
# 1: tmux kill
140+
# 2: CTRL+c
141+
# 3: quit
142+
# 4: quit 120s
143+
# 5: stop
144+
# 6: q
145+
# 7: exit
146+
# 8: 7 Days to Die
147+
# 9: GoldSrc
148+
# 10: Avorion
149+
# 11: end
150+
stopmode="2"
151+
152+
## Query mode
153+
# 1: session only
154+
# 2: gamedig (gsquery fallback)
155+
# 3: gamedig
156+
# 4: gsquery
157+
# 5: tcp
158+
querymode="2"
159+
querytype="protocol-valve"
160+
161+
## Console type
162+
consoleverbose="yes"
163+
consoleinteract="no"
164+
165+
## Game Server Details
166+
# Do not edit
167+
gamename="The Front"
168+
engine="unreal4"
169+
glibc="2.17"
170+
171+
#### Directories ####
172+
# Edit with care
173+
174+
## Game Server Directories
175+
systemdir="${serverfiles}/ProjectWar"
176+
executabledir="${systemdir}/Binaries/Linux"
177+
executable="./TheFrontServer"
178+
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
179+
servercfg="GameUserSettings.ini"
180+
servercfgdefault="GameUserSettings.ini"
181+
servercfgfullpath="${servercfgdir}/${servercfg}"
182+
183+
## Backup Directory
184+
backupdir="${lgsmdir}/backup"
185+
186+
## Logging Directories
187+
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
188+
gamelogdir="${systemdir}/Saved/Logs"
189+
lgsmlogdir="${logdir}/script"
190+
consolelogdir="${logdir}/console"
191+
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
192+
consolelog="${consolelogdir}/${selfname}-console.log"
193+
alertlog="${lgsmlogdir}/${selfname}-alert.log"
194+
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
195+
196+
## Logs Naming
197+
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
198+
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
199+
200+
## Log Parameters
201+
logtimestamp="off"
202+
logtimestampformat="%Y-%m-%d %H:%M:%S"

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2
111111
stn
112112
sven
113113
terraria
114+
tf
114115
tf2,libcurl.i686
115116
tfc
116117
ti

lgsm/data/almalinux-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2
111111
stn
112112
sven
113113
terraria
114+
tf
114115
tf2,libcurl.i686
115116
tfc
116117
ti

lgsm/data/centos-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2
111111
stn
112112
sven
113113
terraria
114+
tf
114115
tf2,libcurl.i686
115116
tfc
116117
ti

lgsm/data/centos-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2
111111
stn
112112
sven
113113
terraria
114+
tf
114115
tf2,libcurl.i686
115116
tfc
116117
ti

lgsm/data/centos-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2
111111
stn
112112
sven
113113
terraria
114+
tf
114115
tf2,libcurl.i686
115116
tfc
116117
ti

lgsm/data/debian-10.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2-utils
111111
stn
112112
sven,libssl1.1:i386,zlib1g:i386
113113
terraria
114+
tf
114115
tf2,libcurl4-gnutls-dev:i386
115116
tfc
116117
ti

lgsm/data/debian-11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2-utils
111111
stn
112112
sven,libssl1.1:i386,zlib1g:i386
113113
terraria
114+
tf
114115
tf2,libcurl4-gnutls-dev:i386
115116
tfc
116117
ti

lgsm/data/debian-12.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2-utils
111111
stn
112112
sven,libssl3:i386,zlib1g:i386
113113
terraria
114+
tf
114115
tf2,libcurl4-gnutls-dev:i386
115116
tfc
116117
ti

lgsm/data/debian-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ st,libxml2-utils
111111
stn
112112
sven,libssl1.1:i386,zlib1g:i386
113113
terraria
114+
tf
114115
tf2,libcurl4-gnutls-dev:i386
115116
tfc
116117
ti

0 commit comments

Comments
 (0)