|
@@ -8,8 +8,14 @@
|
|
|
|
|
|
|
|
#### Game Server Settings ####
|
|
#### Game Server Settings ####
|
|
|
|
|
|
|
|
|
|
+## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
|
|
|
|
|
+ip="0.0.0.0"
|
|
|
|
|
+port="7777"
|
|
|
|
|
+queryport="27015"
|
|
|
|
|
+servername="LinuxGSM"
|
|
|
|
|
+
|
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
|
-startparameters="-batchmode -nographics"
|
|
|
|
|
|
|
+startparameters="-log -port=${port} -queryport=${queryport} -steamservername=${servername}"
|
|
|
|
|
|
|
|
#### LinuxGSM Settings ####
|
|
#### LinuxGSM Settings ####
|
|
|
|
|
|
|
@@ -28,6 +34,9 @@ displayip=""
|
|
|
# More info | https://docs.linuxgsm.com/alerts#more-info
|
|
# More info | https://docs.linuxgsm.com/alerts#more-info
|
|
|
postalert="off"
|
|
postalert="off"
|
|
|
|
|
|
|
|
|
|
+# Alert on Start/Stop/Restart
|
|
|
|
|
+statusalert="off"
|
|
|
|
|
+
|
|
|
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
|
|
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
|
|
|
discordalert="off"
|
|
discordalert="off"
|
|
|
discordwebhook="webhook"
|
|
discordwebhook="webhook"
|
|
@@ -47,14 +56,6 @@ iftttalert="off"
|
|
|
ifttttoken="accesstoken"
|
|
ifttttoken="accesstoken"
|
|
|
iftttevent="linuxgsm_alert"
|
|
iftttevent="linuxgsm_alert"
|
|
|
|
|
|
|
|
-# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
|
|
|
|
|
-mailgunalert="off"
|
|
|
|
|
-mailgunapiregion="us"
|
|
|
|
|
-mailguntoken="accesstoken"
|
|
|
|
|
-mailgundomain="example.com"
|
|
|
|
|
-mailgunemailfrom="alert@example.com"
|
|
|
|
|
-mailgunemail="email@myemail.com"
|
|
|
|
|
-
|
|
|
|
|
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
|
|
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
|
|
|
pushbulletalert="off"
|
|
pushbulletalert="off"
|
|
|
pushbullettoken="accesstoken"
|
|
pushbullettoken="accesstoken"
|
|
@@ -68,7 +69,6 @@ pushoveruserkey="userkey"
|
|
|
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
|
|
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
|
|
|
rocketchatalert="off"
|
|
rocketchatalert="off"
|
|
|
rocketchatwebhook="webhook"
|
|
rocketchatwebhook="webhook"
|
|
|
-rocketchattoken=""
|
|
|
|
|
|
|
|
|
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
|
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
|
|
|
slackalert="off"
|
|
slackalert="off"
|
|
@@ -97,7 +97,7 @@ logdays="7"
|
|
|
|
|
|
|
|
## Monitor | https://docs.linuxgsm.com/commands/monitor
|
|
## Monitor | https://docs.linuxgsm.com/commands/monitor
|
|
|
# Query delay time
|
|
# Query delay time
|
|
|
-querydelay="1"
|
|
|
|
|
|
|
+querydelay="5"
|
|
|
|
|
|
|
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
|
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
|
|
|
ansi="on"
|
|
ansi="on"
|
|
@@ -109,13 +109,13 @@ sleeptime="0.5"
|
|
|
|
|
|
|
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
|
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
|
|
|
# Server appid
|
|
# Server appid
|
|
|
-appid="685100"
|
|
|
|
|
|
|
+appid="2728330"
|
|
|
steamcmdforcewindows="no"
|
|
steamcmdforcewindows="no"
|
|
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
|
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
|
|
|
-branch=""
|
|
|
|
|
|
|
+branch="linuxbranch"
|
|
|
betapassword=""
|
|
betapassword=""
|
|
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
|
|
-steammaster="false"
|
|
|
|
|
|
|
+steammaster="true"
|
|
|
|
|
|
|
|
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
|
|
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
|
|
|
# 1: tmux kill
|
|
# 1: tmux kill
|
|
@@ -137,29 +137,29 @@ stopmode="2"
|
|
|
# 3: gamedig
|
|
# 3: gamedig
|
|
|
# 4: gsquery
|
|
# 4: gsquery
|
|
|
# 5: tcp
|
|
# 5: tcp
|
|
|
-querymode="1"
|
|
|
|
|
-querytype=""
|
|
|
|
|
|
|
+querymode="2"
|
|
|
|
|
+querytype="protocol-valve"
|
|
|
|
|
|
|
|
## Console type
|
|
## Console type
|
|
|
-consoleverbose="yes"
|
|
|
|
|
|
|
+consoleverbose="no"
|
|
|
consoleinteract="no"
|
|
consoleinteract="no"
|
|
|
|
|
|
|
|
## Game Server Details
|
|
## Game Server Details
|
|
|
# Do not edit
|
|
# Do not edit
|
|
|
-gamename="Crafting Dead"
|
|
|
|
|
-engine="unity3d"
|
|
|
|
|
-glibc="2.15"
|
|
|
|
|
|
|
+gamename="HumanitZ"
|
|
|
|
|
+engine="unreal4"
|
|
|
|
|
+glibc="2.17"
|
|
|
|
|
|
|
|
#### Directories ####
|
|
#### Directories ####
|
|
|
# Edit with care
|
|
# Edit with care
|
|
|
|
|
|
|
|
## Game Server Directories
|
|
## Game Server Directories
|
|
|
-systemdir="${serverfiles}"
|
|
|
|
|
-executabledir="${serverfiles}"
|
|
|
|
|
-executable="./crafting_dead.x86_64"
|
|
|
|
|
-servercfgdir="${systemdir}"
|
|
|
|
|
-servercfg="properties.json"
|
|
|
|
|
-servercfgdefault="properties.json"
|
|
|
|
|
|
|
+systemdir="${serverfiles}/TSSGame"
|
|
|
|
|
+executabledir="${systemdir}/Binaries/Linux"
|
|
|
|
|
+executable="./TSSGameServer-Linux-Shipping"
|
|
|
|
|
+servercfgdir="${systemdir}/Saved/Config/LinuxServer"
|
|
|
|
|
+servercfg="GameUserSettings.ini"
|
|
|
|
|
+servercfgdefault="GameUserSettings.ini"
|
|
|
servercfgfullpath="${servercfgdir}/${servercfg}"
|
|
servercfgfullpath="${servercfgdir}/${servercfg}"
|
|
|
|
|
|
|
|
## Backup Directory
|
|
## Backup Directory
|
|
@@ -167,7 +167,7 @@ backupdir="${lgsmdir}/backup"
|
|
|
|
|
|
|
|
## Logging Directories
|
|
## Logging Directories
|
|
|
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
|
|
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
|
|
|
-gamelogdir="${systemdir}/logs"
|
|
|
|
|
|
|
+gamelogdir="${systemdir}/Saved/Logs"
|
|
|
lgsmlogdir="${logdir}/script"
|
|
lgsmlogdir="${logdir}/script"
|
|
|
consolelogdir="${logdir}/console"
|
|
consolelogdir="${logdir}/console"
|
|
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
|
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
|