|
@@ -1,25 +1,29 @@
|
|
|
##################################
|
|
##################################
|
|
|
######## Default Settings ########
|
|
######## Default Settings ########
|
|
|
##################################
|
|
##################################
|
|
|
-# DO NOT EDIT WILL BE OVERWRITTEN!
|
|
|
|
|
-# Copy settings from here and use them in either
|
|
|
|
|
-# common.cfg - applies settings to every instance
|
|
|
|
|
-# [instance].cfg - applies settings to a specific instance
|
|
|
|
|
|
|
+# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
|
|
|
|
|
+# Copy settings from here and use them in either:
|
|
|
|
|
+# common.cfg - applies settings to every instance.
|
|
|
|
|
+# [instance].cfg - applies settings to a specific instance.
|
|
|
|
|
|
|
|
-#### Server Settings ####
|
|
|
|
|
|
|
+#### Game Server Settings ####
|
|
|
|
|
|
|
|
-## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
|
|
|
|
|
|
|
+## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
|
|
|
## All server settings except the server port are done in the config file:
|
|
## All server settings except the server port are done in the config file:
|
|
|
## Docs: https://en.scpslgame.com/index.php?title=Docs:Server_Config
|
|
## Docs: https://en.scpslgame.com/index.php?title=Docs:Server_Config
|
|
|
port="7777"
|
|
port="7777"
|
|
|
|
|
|
|
|
-## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
|
|
|
-fn_parms(){
|
|
|
|
|
-parms="${port}"
|
|
|
|
|
-}
|
|
|
|
|
|
|
+## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
|
|
|
+startparameters="${port}"
|
|
|
|
|
|
|
|
#### LinuxGSM Settings ####
|
|
#### LinuxGSM Settings ####
|
|
|
|
|
|
|
|
|
|
+## LinuxGSM Stats
|
|
|
|
|
+# Send useful stats to LinuxGSM developers.
|
|
|
|
|
+# https://docs.linuxgsm.com/configuration/linuxgsm-stats
|
|
|
|
|
+# (on|off)
|
|
|
|
|
+stats="off"
|
|
|
|
|
+
|
|
|
## Notification Alerts
|
|
## Notification Alerts
|
|
|
# (on|off)
|
|
# (on|off)
|
|
|
|
|
|
|
@@ -33,10 +37,6 @@ postalert="off"
|
|
|
discordalert="off"
|
|
discordalert="off"
|
|
|
discordwebhook="webhook"
|
|
discordwebhook="webhook"
|
|
|
|
|
|
|
|
-# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
|
|
|
|
|
-slackalert="off"
|
|
|
|
|
-slackwebhook="webhook"
|
|
|
|
|
-
|
|
|
|
|
# Email Alerts | https://docs.linuxgsm.com/alerts/email
|
|
# Email Alerts | https://docs.linuxgsm.com/alerts/email
|
|
|
emailalert="off"
|
|
emailalert="off"
|
|
|
email="email@example.com"
|
|
email="email@example.com"
|
|
@@ -49,6 +49,7 @@ iftttevent="linuxgsm_alert"
|
|
|
|
|
|
|
|
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
|
|
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
|
|
|
mailgunalert="off"
|
|
mailgunalert="off"
|
|
|
|
|
+mailgunapiregion="us"
|
|
|
mailguntoken="accesstoken"
|
|
mailguntoken="accesstoken"
|
|
|
mailgundomain="example.com"
|
|
mailgundomain="example.com"
|
|
|
mailgunemailfrom="alert@example.com"
|
|
mailgunemailfrom="alert@example.com"
|
|
@@ -62,11 +63,20 @@ channeltag=""
|
|
|
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
|
|
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
|
|
|
pushoveralert="off"
|
|
pushoveralert="off"
|
|
|
pushovertoken="accesstoken"
|
|
pushovertoken="accesstoken"
|
|
|
|
|
+pushoveruserkey="userkey"
|
|
|
|
|
+
|
|
|
|
|
+# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
|
|
|
|
|
+rocketchatalert="off"
|
|
|
|
|
+rocketchatwebhook="webhook"
|
|
|
|
|
+rocketchattoken=""
|
|
|
|
|
+
|
|
|
|
|
+# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
|
|
|
|
|
+slackalert="off"
|
|
|
|
|
+slackwebhook="webhook"
|
|
|
|
|
|
|
|
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
|
|
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
|
|
|
-# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
|
|
|
|
|
-# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
|
|
|
|
|
-# any custom string in curl - simple ignore this parameter.
|
|
|
|
|
|
|
+# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
|
|
|
|
|
+# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
|
|
|
telegramalert="off"
|
|
telegramalert="off"
|
|
|
telegramtoken="accesstoken"
|
|
telegramtoken="accesstoken"
|
|
|
telegramchatid=""
|
|
telegramchatid=""
|
|
@@ -88,15 +98,25 @@ logdays="7"
|
|
|
# Query delay time
|
|
# Query delay time
|
|
|
querydelay="1"
|
|
querydelay="1"
|
|
|
|
|
|
|
|
-#### LinuxGSM Advanced Settings ####
|
|
|
|
|
-
|
|
|
|
|
-# ANSI Colors
|
|
|
|
|
|
|
+## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
|
|
|
ansi="on"
|
|
ansi="on"
|
|
|
|
|
|
|
|
-# Message Display Time
|
|
|
|
|
|
|
+#### Advanced Settings ####
|
|
|
|
|
+
|
|
|
|
|
+## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
|
|
|
sleeptime="0.5"
|
|
sleeptime="0.5"
|
|
|
|
|
|
|
|
-# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
|
|
|
|
|
|
|
+## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
|
|
|
|
|
+# Server appid
|
|
|
|
|
+appid="786920"
|
|
|
|
|
+steamcmdforcewindows="no"
|
|
|
|
|
+# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
|
|
|
|
|
+branch=""
|
|
|
|
|
+betapassword=""
|
|
|
|
|
+# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
|
|
|
|
+steammaster="false"
|
|
|
|
|
+
|
|
|
|
|
+## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
|
|
|
# 1: tmux kill
|
|
# 1: tmux kill
|
|
|
# 2: CTRL+c
|
|
# 2: CTRL+c
|
|
|
# 3: quit
|
|
# 3: quit
|
|
@@ -105,13 +125,14 @@ sleeptime="0.5"
|
|
|
# 6: q
|
|
# 6: q
|
|
|
# 7: exit
|
|
# 7: exit
|
|
|
# 8: 7 Days to Die
|
|
# 8: 7 Days to Die
|
|
|
-# 9: Gold Source
|
|
|
|
|
-# 10: Teamspeak 3
|
|
|
|
|
|
|
+# 9: GoldSrc
|
|
|
|
|
+# 10: Avorion
|
|
|
|
|
+# 11: end
|
|
|
stopmode="7"
|
|
stopmode="7"
|
|
|
|
|
|
|
|
## Query mode
|
|
## Query mode
|
|
|
# 1: session only
|
|
# 1: session only
|
|
|
-# 2: gamedig + gsquery
|
|
|
|
|
|
|
+# 2: gamedig (gsquery fallback)
|
|
|
# 3: gamedig
|
|
# 3: gamedig
|
|
|
# 4: gsquery
|
|
# 4: gsquery
|
|
|
# 5: tcp
|
|
# 5: tcp
|
|
@@ -122,16 +143,7 @@ querytype=""
|
|
|
consoleverbose="yes"
|
|
consoleverbose="yes"
|
|
|
consoleinteract="yes"
|
|
consoleinteract="yes"
|
|
|
|
|
|
|
|
-## SteamCMD Settings
|
|
|
|
|
-# Server appid
|
|
|
|
|
-appid="786920"
|
|
|
|
|
-steamcmdforcewindows="no"
|
|
|
|
|
-# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
|
|
|
|
|
-branch=""
|
|
|
|
|
-# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
|
|
|
|
-steammaster=""
|
|
|
|
|
-
|
|
|
|
|
-## LinuxGSM Server Details
|
|
|
|
|
|
|
+## Game Server Details
|
|
|
# Do not edit
|
|
# Do not edit
|
|
|
gamename="SCP: Secret Laboratory ServerMod"
|
|
gamename="SCP: Secret Laboratory ServerMod"
|
|
|
engine="unity3d"
|
|
engine="unity3d"
|
|
@@ -140,7 +152,7 @@ glibc="2.27"
|
|
|
#### Directories ####
|
|
#### Directories ####
|
|
|
# Edit with care
|
|
# Edit with care
|
|
|
|
|
|
|
|
-## Server Specific Directories
|
|
|
|
|
|
|
+## Game Server Directories
|
|
|
systemdir="${serverfiles}"
|
|
systemdir="${serverfiles}"
|
|
|
executabledir="${systemdir}"
|
|
executabledir="${systemdir}"
|
|
|
executable="./LocalAdmin"
|
|
executable="./LocalAdmin"
|
|
@@ -150,7 +162,7 @@ servercfgdir="${HOME}/.config/SCP Secret Laboratory/config/${port}"
|
|
|
servercfgfullpath="${servercfgdir}/${servercfg}"
|
|
servercfgfullpath="${servercfgdir}/${servercfg}"
|
|
|
|
|
|
|
|
## Backup Directory
|
|
## Backup Directory
|
|
|
-backupdir="${rootdir}/backups"
|
|
|
|
|
|
|
+backupdir="${lgsmdir}/backup"
|
|
|
|
|
|
|
|
## Logging Directories
|
|
## Logging Directories
|
|
|
logdir="${rootdir}/log"
|
|
logdir="${rootdir}/log"
|