|
@@ -8,16 +8,17 @@
|
|
|
|
|
|
|
|
#### Server Settings ####
|
|
#### Server Settings ####
|
|
|
|
|
|
|
|
-## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
|
|
|
|
|
|
|
+## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
|
|
|
# https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Starting_the_Server
|
|
# https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Starting_the_Server
|
|
|
-# [Game Modes] gametype gamemode mapgroup (you can mix these across Game Modes, but use only one)
|
|
|
|
|
-# Arms Race 1 0 mg_armsrace
|
|
|
|
|
-# Classic Casual 0 0 mg_casualsigma, mg_casualdelta
|
|
|
|
|
-# Classic Competitive 0 1 mg_active, mg_reserves, mg_hostage, mg_de_dust2
|
|
|
|
|
-# Custom 3 0
|
|
|
|
|
-# Deathmatch 1 2 mg_deathmatch
|
|
|
|
|
-# Demolition 1 1 mg_demolition
|
|
|
|
|
-# Wingman 0 2
|
|
|
|
|
|
|
+# [Game Modes] gametype gamemode mapgroup (you can mix these across Game Modes, but use only one)
|
|
|
|
|
+# Arms Race 1 0 mg_armsrace
|
|
|
|
|
+# Classic Casual 0 0 mg_casualsigma, mg_casualdelta
|
|
|
|
|
+# Classic Competitive 0 1 mg_active, mg_reserves, mg_hostage, mg_de_dust2
|
|
|
|
|
+# Custom 3 0
|
|
|
|
|
+# Deathmatch 1 2 mg_deathmatch
|
|
|
|
|
+# Demolition 1 1 mg_demolition
|
|
|
|
|
+# Wingman 0 2
|
|
|
|
|
+# Danger Zone (FreeForAll) 6 0 mg_dz_blacksite
|
|
|
gametype="0"
|
|
gametype="0"
|
|
|
gamemode="0"
|
|
gamemode="0"
|
|
|
mapgroup="mg_active"
|
|
mapgroup="mg_active"
|
|
@@ -40,7 +41,7 @@ wsapikey=""
|
|
|
wscollectionid=""
|
|
wscollectionid=""
|
|
|
wsstartmap=""
|
|
wsstartmap=""
|
|
|
|
|
|
|
|
-## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
|
|
|
|
|
|
+## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
|
fn_parms(){
|
|
fn_parms(){
|
|
|
parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
|
|
parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
|
|
|
}
|
|
}
|
|
@@ -50,42 +51,42 @@ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport $
|
|
|
## Notification Alerts
|
|
## Notification Alerts
|
|
|
# (on|off)
|
|
# (on|off)
|
|
|
|
|
|
|
|
-# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
|
|
|
|
|
|
|
+# More info | https://docs.linuxgsm.com/alerts#more-info
|
|
|
postalert="off"
|
|
postalert="off"
|
|
|
postdays="7"
|
|
postdays="7"
|
|
|
posttarget="https://hastebin.com"
|
|
posttarget="https://hastebin.com"
|
|
|
|
|
|
|
|
-# Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
|
|
|
|
|
|
|
+# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
|
|
|
discordalert="off"
|
|
discordalert="off"
|
|
|
discordwebhook="webhook"
|
|
discordwebhook="webhook"
|
|
|
|
|
|
|
|
-# Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
|
|
|
|
|
|
|
+# Email Alerts | https://docs.linuxgsm.com/alerts/email
|
|
|
emailalert="off"
|
|
emailalert="off"
|
|
|
email="email@example.com"
|
|
email="email@example.com"
|
|
|
emailfrom=""
|
|
emailfrom=""
|
|
|
|
|
|
|
|
-# IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
|
|
|
|
|
|
|
+# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
|
|
|
iftttalert="off"
|
|
iftttalert="off"
|
|
|
ifttttoken="accesstoken"
|
|
ifttttoken="accesstoken"
|
|
|
iftttevent="linuxgsm_alert"
|
|
iftttevent="linuxgsm_alert"
|
|
|
|
|
|
|
|
-# Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
|
|
|
|
|
|
|
+# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
|
|
|
mailgunalert="off"
|
|
mailgunalert="off"
|
|
|
mailguntoken="accesstoken"
|
|
mailguntoken="accesstoken"
|
|
|
mailgundomain="example.com"
|
|
mailgundomain="example.com"
|
|
|
mailgunemailfrom="alert@example.com"
|
|
mailgunemailfrom="alert@example.com"
|
|
|
mailgunemail="email@myemail.com"
|
|
mailgunemail="email@myemail.com"
|
|
|
|
|
|
|
|
-# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
|
|
|
|
|
|
|
+# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
|
|
|
pushbulletalert="off"
|
|
pushbulletalert="off"
|
|
|
pushbullettoken="accesstoken"
|
|
pushbullettoken="accesstoken"
|
|
|
channeltag=""
|
|
channeltag=""
|
|
|
|
|
|
|
|
-# Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
|
|
|
|
|
|
|
+# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
|
|
|
pushoveralert="off"
|
|
pushoveralert="off"
|
|
|
pushovertoken="accesstoken"
|
|
pushovertoken="accesstoken"
|
|
|
|
|
|
|
|
-# Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/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".
|
|
# 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
|
|
# 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.
|
|
# any custom string in curl - simple ignore this parameter.
|
|
@@ -94,15 +95,15 @@ telegramtoken="accesstoken"
|
|
|
telegramchatid=""
|
|
telegramchatid=""
|
|
|
curlcustomstring=""
|
|
curlcustomstring=""
|
|
|
|
|
|
|
|
-## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
|
|
|
|
|
|
|
+## Updating | https://docs.linuxgsm.com/commands/update
|
|
|
updateonstart="off"
|
|
updateonstart="off"
|
|
|
|
|
|
|
|
-## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
|
|
|
|
|
|
|
+## Backup | https://docs.linuxgsm.com/commands/backup
|
|
|
maxbackups="4"
|
|
maxbackups="4"
|
|
|
maxbackupdays="30"
|
|
maxbackupdays="30"
|
|
|
stoponbackup="on"
|
|
stoponbackup="on"
|
|
|
|
|
|
|
|
-## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
|
|
|
|
|
|
|
+## Logging | https://docs.linuxgsm.com/features/logging
|
|
|
consolelogging="on"
|
|
consolelogging="on"
|
|
|
logdays="7"
|
|
logdays="7"
|
|
|
|
|
|