|
|
@ -1,25 +1,29 @@ |
|
|
|
################################## |
|
|
|
######## 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: |
|
|
|
## Docs: https://en.scpslgame.com/index.php?title=Docs:Server_Config |
|
|
|
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 Stats |
|
|
|
# Send useful stats to LinuxGSM developers. |
|
|
|
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
|
|
|
# (on|off) |
|
|
|
stats="off" |
|
|
|
|
|
|
|
## Notification Alerts |
|
|
|
# (on|off) |
|
|
|
|
|
|
@ -33,10 +37,6 @@ postalert="off" |
|
|
|
discordalert="off" |
|
|
|
discordwebhook="webhook" |
|
|
|
|
|
|
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
|
|
|
slackalert="off" |
|
|
|
slackwebhook="webhook" |
|
|
|
|
|
|
|
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
|
|
|
emailalert="off" |
|
|
|
email="email@example.com" |
|
|
@ -49,6 +49,7 @@ 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" |
|
|
@ -62,11 +63,20 @@ channeltag="" |
|
|
|
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
|
|
|
pushoveralert="off" |
|
|
|
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 |
|
|
|
# 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" |
|
|
|
telegramtoken="accesstoken" |
|
|
|
telegramchatid="" |
|
|
@ -88,15 +98,25 @@ logdays="7" |
|
|
|
# Query delay time |
|
|
|
querydelay="1" |
|
|
|
|
|
|
|
#### LinuxGSM Advanced Settings #### |
|
|
|
|
|
|
|
# ANSI Colors |
|
|
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
|
|
|
ansi="on" |
|
|
|
|
|
|
|
# Message Display Time |
|
|
|
#### Advanced Settings #### |
|
|
|
|
|
|
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
|
|
|
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 |
|
|
|
# 2: CTRL+c |
|
|
|
# 3: quit |
|
|
@ -105,13 +125,14 @@ sleeptime="0.5" |
|
|
|
# 6: q |
|
|
|
# 7: exit |
|
|
|
# 8: 7 Days to Die |
|
|
|
# 9: Gold Source |
|
|
|
# 10: Teamspeak 3 |
|
|
|
# 9: GoldSrc |
|
|
|
# 10: Avorion |
|
|
|
# 11: end |
|
|
|
stopmode="7" |
|
|
|
|
|
|
|
## Query mode |
|
|
|
# 1: session only |
|
|
|
# 2: gamedig + gsquery |
|
|
|
# 2: gamedig (gsquery fallback) |
|
|
|
# 3: gamedig |
|
|
|
# 4: gsquery |
|
|
|
# 5: tcp |
|
|
@ -122,16 +143,7 @@ querytype="" |
|
|
|
consoleverbose="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 |
|
|
|
gamename="SCP: Secret Laboratory ServerMod" |
|
|
|
engine="unity3d" |
|
|
@ -140,7 +152,7 @@ glibc="2.27" |
|
|
|
#### Directories #### |
|
|
|
# Edit with care |
|
|
|
|
|
|
|
## Server Specific Directories |
|
|
|
## Game Server Directories |
|
|
|
systemdir="${serverfiles}" |
|
|
|
executabledir="${systemdir}" |
|
|
|
executable="./LocalAdmin" |
|
|
@ -150,7 +162,7 @@ servercfgdir="${HOME}/.config/SCP Secret Laboratory/config/${port}" |
|
|
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
|
|
|
|
|
|
|
## Backup Directory |
|
|
|
backupdir="${rootdir}/backups" |
|
|
|
backupdir="${lgsmdir}/backup" |
|
|
|
|
|
|
|
## Logging Directories |
|
|
|
logdir="${rootdir}/log" |
|
|
|