262 changed files with 2475 additions and 1115 deletions
@ -0,0 +1,177 @@ |
|||||
|
################################## |
||||
|
######## Default Settings ######## |
||||
|
################################## |
||||
|
# 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. |
||||
|
|
||||
|
#### Game Server Settings #### |
||||
|
|
||||
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
|
# Edit with care | https://colonysurvival.gamepedia.com/Dedicated_Server#Installation_.28Linux.29 |
||||
|
startparameters="-batchmode -nographics +server.config ${servercfgfullpath}" |
||||
|
|
||||
|
#### 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) |
||||
|
|
||||
|
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
||||
|
displayip="" |
||||
|
|
||||
|
# More info | https://docs.linuxgsm.com/alerts#more-info |
||||
|
postalert="off" |
||||
|
|
||||
|
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
||||
|
discordalert="off" |
||||
|
discordwebhook="webhook" |
||||
|
|
||||
|
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
||||
|
emailalert="off" |
||||
|
email="[email protected]" |
||||
|
emailfrom="" |
||||
|
|
||||
|
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
||||
|
iftttalert="off" |
||||
|
ifttttoken="accesstoken" |
||||
|
iftttevent="linuxgsm_alert" |
||||
|
|
||||
|
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
||||
|
mailgunalert="off" |
||||
|
mailgunapiregion="us" |
||||
|
mailguntoken="accesstoken" |
||||
|
mailgundomain="example.com" |
||||
|
mailgunemailfrom="[email protected]" |
||||
|
mailgunemail="[email protected]" |
||||
|
|
||||
|
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
||||
|
pushbulletalert="off" |
||||
|
pushbullettoken="accesstoken" |
||||
|
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) in "curlcustomstring". |
||||
|
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
|
telegramalert="off" |
||||
|
telegramtoken="accesstoken" |
||||
|
telegramchatid="" |
||||
|
curlcustomstring="" |
||||
|
|
||||
|
## Updating | https://docs.linuxgsm.com/commands/update |
||||
|
updateonstart="off" |
||||
|
|
||||
|
## Backup | https://docs.linuxgsm.com/commands/backup |
||||
|
maxbackups="4" |
||||
|
maxbackupdays="30" |
||||
|
stoponbackup="on" |
||||
|
|
||||
|
## Logging | https://docs.linuxgsm.com/features/logging |
||||
|
consolelogging="on" |
||||
|
logdays="7" |
||||
|
|
||||
|
## Monitor | https://docs.linuxgsm.com/commands/monitor |
||||
|
# Query delay time |
||||
|
querydelay="1" |
||||
|
|
||||
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
ansi="on" |
||||
|
|
||||
|
#### Advanced Settings #### |
||||
|
|
||||
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
||||
|
sleeptime="0.5" |
||||
|
|
||||
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
||||
|
# Server appid |
||||
|
appid="748090" |
||||
|
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 |
||||
|
# 4: quit 120s |
||||
|
# 5: stop |
||||
|
# 6: q |
||||
|
# 7: exit |
||||
|
# 8: 7 Days to Die |
||||
|
# 9: GoldSrc |
||||
|
# 10: Avorion |
||||
|
# 11: end |
||||
|
stopmode="2" |
||||
|
|
||||
|
## Query mode |
||||
|
# 1: session only |
||||
|
# 2: gamedig (gsquery fallback) |
||||
|
# 3: gamedig |
||||
|
# 4: gsquery |
||||
|
# 5: tcp |
||||
|
querymode="2" |
||||
|
querytype="protocol-valve" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="no" |
||||
|
consoleinteract="no" |
||||
|
|
||||
|
## Game Server Details |
||||
|
# Do not edit |
||||
|
gamename="Colony Survival" |
||||
|
engine="unity3d" |
||||
|
glibc="2.15" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Game Server Directories |
||||
|
systemdir="${serverfiles}" |
||||
|
executabledir="${serverfiles}" |
||||
|
executable="./colonyserver.x86_64" |
||||
|
servercfgdir="${systemdir}/gamedata/settings" |
||||
|
servercfg="${selfname}.json" |
||||
|
servercfgdefault="colserver.json" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${lgsmdir}/backup" |
||||
|
|
||||
|
## Logging Directories |
||||
|
logdir="${rootdir}/log" |
||||
|
gamelogdir="${serverfiles}/gamedata/logs/server/" |
||||
|
lgsmlogdir="${logdir}/script" |
||||
|
consolelogdir="${logdir}/console" |
||||
|
gamelog="${gamelogdir}/${selfname}-game.log" |
||||
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
||||
|
consolelog="${consolelogdir}/${selfname}-console.log" |
||||
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
||||
|
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
||||
|
|
||||
|
## Logs Naming |
||||
|
gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
@ -1,29 +1,33 @@ |
|||||
################################## |
################################## |
||||
######## Default Settings ######## |
######## Default Settings ######## |
||||
################################## |
################################## |
||||
# DO NOT EDIT WILL BE OVERWRITTEN! |
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN! |
||||
# Copy settings from here and use them in either |
# Copy settings from here and use them in either: |
||||
# common.cfg - applies settings to every instance |
# common.cfg - applies settings to every instance. |
||||
# [instance].cfg - applies settings to a specific instance |
# [instance].cfg - applies settings to a specific instance. |
||||
|
|
||||
#### Server Settings #### |
#### Game Server Settings #### |
||||
|
|
||||
## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login |
## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login |
||||
steamuser="username" |
steamuser="username" |
||||
steampass='password' |
steampass='password' |
||||
|
|
||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters |
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters |
||||
ip="0.0.0.0" |
ip="0.0.0.0" |
||||
port="27960" |
port="27960" |
||||
defaultmap="ffa_bespin" |
defaultmap="ffa_bespin" |
||||
|
|
||||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
fn_parms(){ |
startparameters="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set net_ip ${ip} +set net_port ${port} +exec ${servercfg} +map ${defaultmap}" |
||||
parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set net_ip ${ip} +set net_port ${port} +exec ${servercfg} +map ${defaultmap}" |
|
||||
} |
|
||||
|
|
||||
#### 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) |
||||
|
|
||||
@ -37,10 +41,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 protected]" |
email="[email protected]" |
||||
@ -74,6 +74,10 @@ rocketchatalert="off" |
|||||
rocketchatwebhook="webhook" |
rocketchatwebhook="webhook" |
||||
rocketchattoken="" |
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) in "curlcustomstring". |
# 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". |
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
@ -98,15 +102,25 @@ logdays="7" |
|||||
# Query delay time |
# Query delay time |
||||
querydelay="1" |
querydelay="1" |
||||
|
|
||||
#### LinuxGSM Advanced Settings #### |
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
|
||||
# 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="6030" |
||||
|
steamcmdforcewindows="yes" |
||||
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
||||
|
branch="" |
||||
|
betapassword="" |
||||
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
||||
|
steammaster="true" |
||||
|
|
||||
|
## 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 |
||||
@ -115,8 +129,9 @@ sleeptime="0.5" |
|||||
# 6: q |
# 6: q |
||||
# 7: exit |
# 7: exit |
||||
# 8: 7 Days to Die |
# 8: 7 Days to Die |
||||
# 9: Gold Source |
# 9: GoldSrc |
||||
# 10: Teamspeak 3 |
# 10: Avorion |
||||
|
# 11: end |
||||
stopmode="3" |
stopmode="3" |
||||
|
|
||||
## Query mode |
## Query mode |
||||
@ -132,15 +147,7 @@ querytype="protocol-quake3" |
|||||
consoleverbose="yes" |
consoleverbose="yes" |
||||
consoleinteract="yes" |
consoleinteract="yes" |
||||
|
|
||||
## SteamCMD Settings |
## Game Server Details |
||||
# Server appid |
|
||||
appid="6030" |
|
||||
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
|
||||
branch="" |
|
||||
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
|
||||
steammaster="true" |
|
||||
|
|
||||
## LinuxGSM Server Details |
|
||||
# Do not edit |
# Do not edit |
||||
gamename="Jedi Knight II: Jedi Outcast" |
gamename="Jedi Knight II: Jedi Outcast" |
||||
engine="idtech3" |
engine="idtech3" |
||||
@ -149,7 +156,7 @@ glibc="2.15" |
|||||
#### Directories #### |
#### Directories #### |
||||
# Edit with care |
# Edit with care |
||||
|
|
||||
## Server Specific Directories |
## Game Server Directories |
||||
systemdir="${serverfiles}/GameData" |
systemdir="${serverfiles}/GameData" |
||||
executabledir="${systemdir}" |
executabledir="${systemdir}" |
||||
executable="./jk2mvded" |
executable="./jk2mvded" |
||||
@ -159,7 +166,7 @@ servercfgdir="${systemdir}" |
|||||
servercfgfullpath="${servercfgdir}/${servercfg}" |
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
## Backup Directory |
## Backup Directory |
||||
backupdir="${rootdir}/backups" |
backupdir="${lgsmdir}/backups" |
||||
|
|
||||
## Logging Directories |
## Logging Directories |
||||
logdir="${rootdir}/log" |
logdir="${rootdir}/log" |
||||
|
@ -0,0 +1,179 @@ |
|||||
|
################################## |
||||
|
######## Default Settings ######## |
||||
|
################################## |
||||
|
# 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. |
||||
|
|
||||
|
#### Game Server Settings #### |
||||
|
|
||||
|
## 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 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) |
||||
|
|
||||
|
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
||||
|
displayip="" |
||||
|
|
||||
|
# More info | https://docs.linuxgsm.com/alerts#more-info |
||||
|
postalert="off" |
||||
|
|
||||
|
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
||||
|
discordalert="off" |
||||
|
discordwebhook="webhook" |
||||
|
|
||||
|
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
||||
|
emailalert="off" |
||||
|
email="[email protected]" |
||||
|
emailfrom="" |
||||
|
|
||||
|
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
||||
|
iftttalert="off" |
||||
|
ifttttoken="accesstoken" |
||||
|
iftttevent="linuxgsm_alert" |
||||
|
|
||||
|
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
||||
|
mailgunalert="off" |
||||
|
mailgunapiregion="us" |
||||
|
mailguntoken="accesstoken" |
||||
|
mailgundomain="example.com" |
||||
|
mailgunemailfrom="[email protected]" |
||||
|
mailgunemail="[email protected]" |
||||
|
|
||||
|
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
||||
|
pushbulletalert="off" |
||||
|
pushbullettoken="accesstoken" |
||||
|
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) in "curlcustomstring". |
||||
|
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
|
telegramalert="off" |
||||
|
telegramtoken="accesstoken" |
||||
|
telegramchatid="" |
||||
|
curlcustomstring="" |
||||
|
|
||||
|
## Updating | https://docs.linuxgsm.com/commands/update |
||||
|
updateonstart="off" |
||||
|
|
||||
|
## Backup | https://docs.linuxgsm.com/commands/backup |
||||
|
maxbackups="4" |
||||
|
maxbackupdays="30" |
||||
|
stoponbackup="on" |
||||
|
|
||||
|
## Logging | https://docs.linuxgsm.com/features/logging |
||||
|
consolelogging="on" |
||||
|
logdays="7" |
||||
|
|
||||
|
## Monitor | https://docs.linuxgsm.com/commands/monitor |
||||
|
# Query delay time |
||||
|
querydelay="1" |
||||
|
|
||||
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
ansi="on" |
||||
|
|
||||
|
#### Advanced Settings #### |
||||
|
|
||||
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
||||
|
sleeptime="0.5" |
||||
|
|
||||
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
||||
|
# Server appid |
||||
|
appid="996560" |
||||
|
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 |
||||
|
# 4: quit 120s |
||||
|
# 5: stop |
||||
|
# 6: q |
||||
|
# 7: exit |
||||
|
# 8: 7 Days to Die |
||||
|
# 9: GoldSrc |
||||
|
# 10: Avorion |
||||
|
# 11: end |
||||
|
stopmode="7" |
||||
|
|
||||
|
## Query mode |
||||
|
# 1: session only |
||||
|
# 2: gamedig (gsquery fallback) |
||||
|
# 3: gamedig |
||||
|
# 4: gsquery |
||||
|
# 5: tcp |
||||
|
querymode="1" |
||||
|
querytype="" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="yes" |
||||
|
consoleinteract="yes" |
||||
|
|
||||
|
## Game Server Details |
||||
|
# Do not edit |
||||
|
gamename="SCP: Secret Laboratory" |
||||
|
engine="unity3d" |
||||
|
glibc="2.27" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Game Server Directories |
||||
|
systemdir="${serverfiles}" |
||||
|
executabledir="${systemdir}" |
||||
|
executable="./LocalAdmin" |
||||
|
servercfg="config_gameplay.txt" |
||||
|
servercfgdefault="config_gameplay.txt" |
||||
|
servercfgdir="${HOME}/.config/SCP Secret Laboratory/config/${port}" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${lgsmdir}/backup" |
||||
|
|
||||
|
## Logging Directories |
||||
|
logdir="${rootdir}/log" |
||||
|
gamelogdir="${HOME}/.config/SCP Secret Laboratory/LocalAdminLogs/${port}" |
||||
|
lgsmlogdir="${logdir}/script" |
||||
|
consolelogdir="${logdir}/console" |
||||
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
||||
|
consolelog="${consolelogdir}/${selfname}-console.log" |
||||
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
||||
|
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
||||
|
|
||||
|
## Logs Naming |
||||
|
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
@ -0,0 +1,179 @@ |
|||||
|
################################## |
||||
|
######## Default Settings ######## |
||||
|
################################## |
||||
|
# 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. |
||||
|
|
||||
|
#### Game Server Settings #### |
||||
|
|
||||
|
## 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 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) |
||||
|
|
||||
|
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
||||
|
displayip="" |
||||
|
|
||||
|
# More info | https://docs.linuxgsm.com/alerts#more-info |
||||
|
postalert="off" |
||||
|
|
||||
|
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
||||
|
discordalert="off" |
||||
|
discordwebhook="webhook" |
||||
|
|
||||
|
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
||||
|
emailalert="off" |
||||
|
email="[email protected]" |
||||
|
emailfrom="" |
||||
|
|
||||
|
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
||||
|
iftttalert="off" |
||||
|
ifttttoken="accesstoken" |
||||
|
iftttevent="linuxgsm_alert" |
||||
|
|
||||
|
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
||||
|
mailgunalert="off" |
||||
|
mailgunapiregion="us" |
||||
|
mailguntoken="accesstoken" |
||||
|
mailgundomain="example.com" |
||||
|
mailgunemailfrom="[email protected]" |
||||
|
mailgunemail="[email protected]" |
||||
|
|
||||
|
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
||||
|
pushbulletalert="off" |
||||
|
pushbullettoken="accesstoken" |
||||
|
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) in "curlcustomstring". |
||||
|
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
|
telegramalert="off" |
||||
|
telegramtoken="accesstoken" |
||||
|
telegramchatid="" |
||||
|
curlcustomstring="" |
||||
|
|
||||
|
## Updating | https://docs.linuxgsm.com/commands/update |
||||
|
updateonstart="off" |
||||
|
|
||||
|
## Backup | https://docs.linuxgsm.com/commands/backup |
||||
|
maxbackups="4" |
||||
|
maxbackupdays="30" |
||||
|
stoponbackup="on" |
||||
|
|
||||
|
## Logging | https://docs.linuxgsm.com/features/logging |
||||
|
consolelogging="on" |
||||
|
logdays="7" |
||||
|
|
||||
|
## Monitor | https://docs.linuxgsm.com/commands/monitor |
||||
|
# Query delay time |
||||
|
querydelay="1" |
||||
|
|
||||
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
ansi="on" |
||||
|
|
||||
|
#### Advanced Settings #### |
||||
|
|
||||
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
||||
|
sleeptime="0.5" |
||||
|
|
||||
|
## 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 |
||||
|
# 4: quit 120s |
||||
|
# 5: stop |
||||
|
# 6: q |
||||
|
# 7: exit |
||||
|
# 8: 7 Days to Die |
||||
|
# 9: GoldSrc |
||||
|
# 10: Avorion |
||||
|
# 11: end |
||||
|
stopmode="7" |
||||
|
|
||||
|
## Query mode |
||||
|
# 1: session only |
||||
|
# 2: gamedig (gsquery fallback) |
||||
|
# 3: gamedig |
||||
|
# 4: gsquery |
||||
|
# 5: tcp |
||||
|
querymode="1" |
||||
|
querytype="" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="yes" |
||||
|
consoleinteract="yes" |
||||
|
|
||||
|
## Game Server Details |
||||
|
# Do not edit |
||||
|
gamename="SCP: Secret Laboratory ServerMod" |
||||
|
engine="unity3d" |
||||
|
glibc="2.27" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Game Server Directories |
||||
|
systemdir="${serverfiles}" |
||||
|
executabledir="${systemdir}" |
||||
|
executable="./LocalAdmin" |
||||
|
servercfg="config_gameplay.txt" |
||||
|
servercfgdefault="config_gameplay.txt" |
||||
|
servercfgdir="${HOME}/.config/SCP Secret Laboratory/config/${port}" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${lgsmdir}/backup" |
||||
|
|
||||
|
## Logging Directories |
||||
|
logdir="${rootdir}/log" |
||||
|
gamelogdir="${HOME}/.config/SCP Secret Laboratory/LocalAdminLogs/${port}" |
||||
|
lgsmlogdir="${logdir}/script" |
||||
|
consolelogdir="${logdir}/console" |
||||
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
||||
|
consolelog="${consolelogdir}/${selfname}-console.log" |
||||
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
||||
|
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
||||
|
|
||||
|
## Logs Naming |
||||
|
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
@ -0,0 +1,5 @@ |
|||||
|
################################## |
||||
|
######## Common Secrets ########## |
||||
|
################################## |
||||
|
# PLACE GLOBAL SECRET SETTINGS HERE |
||||
|
## These settings will apply to all instances. |
@ -0,0 +1,5 @@ |
|||||
|
################################## |
||||
|
####### Instance Secrets ######### |
||||
|
################################## |
||||
|
# PLACE INSTANCE SECRET SETTINGS HERE |
||||
|
## These settings will apply to a specific instance. |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue