From de8032d6712592d0b104e35c4afb0c223b45606a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 3 Sep 2017 10:40:21 +0100 Subject: [PATCH] Added flags for more info as this setting is optional --- .../config-lgsm/arkserver/_default.cfg | 5 ++++ .../config-lgsm/arma3server/_default.cfg | 5 ++++ .../config-lgsm/bb2server/_default.cfg | 5 ++++ .../config-lgsm/bf1942server/_default.cfg | 5 ++++ .../config-lgsm/bmdmserver/_default.cfg | 5 ++++ .../config-lgsm/boserver/_default.cfg | 5 ++++ .../config-lgsm/bsserver/_default.cfg | 5 ++++ .../config-lgsm/ccserver/_default.cfg | 5 ++++ .../config-lgsm/cod2server/_default.cfg | 5 ++++ .../config-lgsm/cod4server/_default.cfg | 5 ++++ .../config-lgsm/codserver/_default.cfg | 5 ++++ .../config-lgsm/coduoserver/_default.cfg | 5 ++++ .../config-lgsm/codwawserver/_default.cfg | 5 ++++ .../config-lgsm/coserver/_default.cfg | 5 ++++ .../config-lgsm/csczserver/_default.cfg | 5 ++++ .../config-lgsm/csgoserver/_default.cfg | 5 ++++ .../config-lgsm/csserver/_default.cfg | 5 ++++ .../config-lgsm/cssserver/_default.cfg | 5 ++++ .../config-lgsm/dabserver/_default.cfg | 5 ++++ .../config-lgsm/dmcserver/_default.cfg | 5 ++++ .../config-lgsm/dodserver/_default.cfg | 5 ++++ .../config-lgsm/dodsserver/_default.cfg | 5 ++++ .../config-lgsm/doiserver/_default.cfg | 5 ++++ .../config-lgsm/dstserver/_default.cfg | 5 ++++ .../config-lgsm/emserver/_default.cfg | 5 ++++ .../config-lgsm/fctrserver/_default.cfg | 5 ++++ .../config-lgsm/fofserver/_default.cfg | 5 ++++ .../config-lgsm/gesserver/_default.cfg | 5 ++++ .../config-lgsm/gmodserver/_default.cfg | 5 ++++ .../config-lgsm/hl2dmserver/_default.cfg | 5 ++++ .../config-lgsm/hldmserver/_default.cfg | 5 ++++ .../config-lgsm/hldmsserver/_default.cfg | 5 ++++ .../config-lgsm/hwserver/_default.cfg | 5 ++++ .../config-lgsm/insserver/_default.cfg | 5 ++++ .../config-lgsm/jc2server/_default.cfg | 5 ++++ .../config-lgsm/kfserver/_default.cfg | 5 ++++ .../config-lgsm/l4d2server/_default.cfg | 5 ++++ .../config-lgsm/l4dserver/_default.cfg | 5 ++++ .../config-lgsm/mcserver/_default.cfg | 5 ++++ .../config-lgsm/mtaserver/_default.cfg | 5 ++++ .../config-lgsm/mumbleserver/_default.cfg | 5 ++++ .../config-lgsm/nmrihserver/_default.cfg | 5 ++++ .../config-lgsm/ns2cserver/_default.cfg | 5 ++++ .../config-lgsm/ns2server/_default.cfg | 5 ++++ .../config-lgsm/opforserver/_default.cfg | 5 ++++ .../config-lgsm/pcserver/_default.cfg | 5 ++++ .../config-lgsm/pvkiiserver/_default.cfg | 5 ++++ .../config-lgsm/pzserver/_default.cfg | 5 ++++ .../config-lgsm/q2server/_default.cfg | 5 ++++ .../config-lgsm/q3server/_default.cfg | 5 ++++ .../config-lgsm/qlserver/_default.cfg | 5 ++++ .../config-lgsm/qwserver/_default.cfg | 5 ++++ .../config-lgsm/ricochetserver/_default.cfg | 5 ++++ .../config-lgsm/roserver/_default.cfg | 5 ++++ .../config-lgsm/rustserver/_default.cfg | 5 ++++ .../config-lgsm/sbserver/_default.cfg | 5 ++++ .../config-lgsm/sdtdserver/_default.cfg | 5 ++++ .../config-lgsm/squadserver/_default.cfg | 5 ++++ .../config-lgsm/ss3server/_default.cfg | 5 ++++ .../config-lgsm/svenserver/_default.cfg | 5 ++++ .../config-lgsm/terrariaserver/_default.cfg | 5 ++++ .../config-lgsm/tf2server/_default.cfg | 5 ++++ .../config-lgsm/tfcserver/_default.cfg | 5 ++++ .../config-lgsm/ts3server/_default.cfg | 5 ++++ .../config-lgsm/tuserver/_default.cfg | 5 ++++ .../config-lgsm/twserver/_default.cfg | 5 ++++ .../config-lgsm/ut2k4server/_default.cfg | 5 ++++ .../config-lgsm/ut3server/_default.cfg | 5 ++++ .../config-lgsm/ut99server/_default.cfg | 5 ++++ .../config-lgsm/utserver/_default.cfg | 5 ++++ .../config-lgsm/wetserver/_default.cfg | 5 ++++ lgsm/functions/alert.sh | 25 +++++++++++++------ 72 files changed, 373 insertions(+), 7 deletions(-) diff --git a/lgsm/config-default/config-lgsm/arkserver/_default.cfg b/lgsm/config-default/config-lgsm/arkserver/_default.cfg index 4810669e4..61dd5867b 100644 --- a/lgsm/config-default/config-lgsm/arkserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/arkserver/_default.cfg @@ -25,6 +25,11 @@ parms="\"TheIsland?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${q ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/arma3server/_default.cfg b/lgsm/config-default/config-lgsm/arma3server/_default.cfg index 9de7f7644..ee0b17ab8 100644 --- a/lgsm/config-default/config-lgsm/arma3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/arma3server/_default.cfg @@ -41,6 +41,11 @@ parms="-netlog -ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${serv ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/bb2server/_default.cfg b/lgsm/config-default/config-lgsm/bb2server/_default.cfg index 2fc1937c6..1f6d0ccf9 100644 --- a/lgsm/config-default/config-lgsm/bb2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bb2server/_default.cfg @@ -31,6 +31,11 @@ parms="-game brainbread2 -strictportbind -ip ${ip} -port ${port} +clientport ${c ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg index 96931cb2a..42286ca2a 100644 --- a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg @@ -18,6 +18,11 @@ parms="+hostServer 1 +dedicated 1" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg index 978811185..e65bf394a 100644 --- a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg @@ -31,6 +31,11 @@ parms="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/boserver/_default.cfg b/lgsm/config-default/config-lgsm/boserver/_default.cfg index b12832d49..6db7813dd 100644 --- a/lgsm/config-default/config-lgsm/boserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/boserver/_default.cfg @@ -24,6 +24,11 @@ parms=" -batchmode -nographics -dedicated -configfile=${servercfgfullpath}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/bsserver/_default.cfg b/lgsm/config-default/config-lgsm/bsserver/_default.cfg index c5b313197..03d14d933 100644 --- a/lgsm/config-default/config-lgsm/bsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bsserver/_default.cfg @@ -30,6 +30,11 @@ parms="-autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientp ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ccserver/_default.cfg b/lgsm/config-default/config-lgsm/ccserver/_default.cfg index 4d07c21f4..29e0d1e58 100644 --- a/lgsm/config-default/config-lgsm/ccserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ccserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game cure -strictportbind -ip ${ip} -port ${port} +clientport ${clientpo ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/cod2server/_default.cfg b/lgsm/config-default/config-lgsm/cod2server/_default.cfg index 02d68535a..35808133b 100644 --- a/lgsm/config-default/config-lgsm/cod2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod2server/_default.cfg @@ -24,6 +24,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/cod4server/_default.cfg b/lgsm/config-default/config-lgsm/cod4server/_default.cfg index b9735cd85..d063a87fd 100644 --- a/lgsm/config-default/config-lgsm/cod4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod4server/_default.cfg @@ -24,6 +24,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/codserver/_default.cfg b/lgsm/config-default/config-lgsm/codserver/_default.cfg index 3a405db07..4af162e1a 100644 --- a/lgsm/config-default/config-lgsm/codserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codserver/_default.cfg @@ -24,6 +24,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg index cc47b894f..5a0a3b121 100644 --- a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg @@ -24,6 +24,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg index 1d34d288f..beb0c5525 100644 --- a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg @@ -24,6 +24,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/coserver/_default.cfg b/lgsm/config-default/config-lgsm/coserver/_default.cfg index cd865abc8..7f138ec89 100644 --- a/lgsm/config-default/config-lgsm/coserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coserver/_default.cfg @@ -49,6 +49,11 @@ parms="-game csco -usercon -strictportbind -ip ${ip} -port ${port} +clientport $ ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/csczserver/_default.cfg b/lgsm/config-default/config-lgsm/csczserver/_default.cfg index fbc55edfb..ece918b41 100644 --- a/lgsm/config-default/config-lgsm/csczserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csczserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game czero -strictportbind +ip ${ip} -port ${port} +clientport ${clientp ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg index 7e817ff94..df62cf59a 100644 --- a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg @@ -49,6 +49,11 @@ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport $ ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/csserver/_default.cfg b/lgsm/config-default/config-lgsm/csserver/_default.cfg index aea00245e..3af55cbb3 100644 --- a/lgsm/config-default/config-lgsm/csserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game cstrike -strictportbind +ip ${ip} -port ${port} +clientport ${clien ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/cssserver/_default.cfg b/lgsm/config-default/config-lgsm/cssserver/_default.cfg index 61b706a66..d48d8e64b 100644 --- a/lgsm/config-default/config-lgsm/cssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cssserver/_default.cfg @@ -31,6 +31,11 @@ parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clien ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/dabserver/_default.cfg b/lgsm/config-default/config-lgsm/dabserver/_default.cfg index ef126acbf..88fdfd590 100644 --- a/lgsm/config-default/config-lgsm/dabserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dabserver/_default.cfg @@ -26,6 +26,11 @@ parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_por ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg index 1f4391f7b..a08631393 100644 --- a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game dmc -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/dodserver/_default.cfg b/lgsm/config-default/config-lgsm/dodserver/_default.cfg index 5001e1180..078adc9ee 100644 --- a/lgsm/config-default/config-lgsm/dodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game dod -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg index 4252cf50f..7f7990ed9 100644 --- a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/doiserver/_default.cfg b/lgsm/config-default/config-lgsm/doiserver/_default.cfg index 7ea596ea4..8e5fe8d3e 100644 --- a/lgsm/config-default/config-lgsm/doiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/doiserver/_default.cfg @@ -28,6 +28,11 @@ parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/dstserver/_default.cfg b/lgsm/config-default/config-lgsm/dstserver/_default.cfg index 46bcea3ac..a0a4c38c3 100644 --- a/lgsm/config-default/config-lgsm/dstserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dstserver/_default.cfg @@ -29,6 +29,11 @@ parms="-persistent_storage_root ${persistentstorageroot} -conf_dir ${confdir} -c ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/emserver/_default.cfg b/lgsm/config-default/config-lgsm/emserver/_default.cfg index b171010f6..e32dc71cc 100644 --- a/lgsm/config-default/config-lgsm/emserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/emserver/_default.cfg @@ -31,6 +31,11 @@ parms="-game empires -strictportbind -ip ${ip} -port ${port} +clientport ${clien ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg index 789027969..ad2d07fe6 100644 --- a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg @@ -25,6 +25,11 @@ parms="--start-server ${serverfiles}/save1.zip --server-settings ${servercfgfull ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/fofserver/_default.cfg b/lgsm/config-default/config-lgsm/fofserver/_default.cfg index 839ed16da..b0aa8cfcd 100644 --- a/lgsm/config-default/config-lgsm/fofserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fofserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game fof -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/gesserver/_default.cfg b/lgsm/config-default/config-lgsm/gesserver/_default.cfg index abf6dd538..2d1dae8f0 100644 --- a/lgsm/config-default/config-lgsm/gesserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gesserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game gesource -strictportbind -ip ${ip} -port ${port} +clientport ${clie ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg index 4277958db..ee780f17b 100644 --- a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg @@ -41,6 +41,11 @@ parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickr ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg index 0a78b7aac..d0b6df0ce 100644 --- a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game hl2mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg index 350308015..cbcfac76e 100644 --- a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game valve -strictportbind +ip ${ip} -port ${port} +clientport ${clientp ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg index b193b2631..6723974c4 100644 --- a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game hl1mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/hwserver/_default.cfg b/lgsm/config-default/config-lgsm/hwserver/_default.cfg index 06a293c98..fcd39f50e 100644 --- a/lgsm/config-default/config-lgsm/hwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hwserver/_default.cfg @@ -39,6 +39,11 @@ parms="-batchmode -nographics -exec \"host ${port} ${defaultmap} ${loadsave};que ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/insserver/_default.cfg b/lgsm/config-default/config-lgsm/insserver/_default.cfg index 5ba8d0e6e..4393efd0b 100644 --- a/lgsm/config-default/config-lgsm/insserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/insserver/_default.cfg @@ -33,6 +33,11 @@ parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${cl ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/jc2server/_default.cfg b/lgsm/config-default/config-lgsm/jc2server/_default.cfg index 253345e4c..669f5535c 100644 --- a/lgsm/config-default/config-lgsm/jc2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc2server/_default.cfg @@ -18,6 +18,11 @@ parms="" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/kfserver/_default.cfg b/lgsm/config-default/config-lgsm/kfserver/_default.cfg index 29fcdd5b4..a72fed1af 100644 --- a/lgsm/config-default/config-lgsm/kfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/kfserver/_default.cfg @@ -30,6 +30,11 @@ parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg index 0f8691f57..48808e751 100644 --- a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg @@ -25,6 +25,11 @@ parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${cl ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg index e56933a7b..59aaf5411 100644 --- a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game left4dead -strictportbind -ip ${ip} -port ${port} +clientport ${cli ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/mcserver/_default.cfg b/lgsm/config-default/config-lgsm/mcserver/_default.cfg index dc5cea422..6808d9be8 100644 --- a/lgsm/config-default/config-lgsm/mcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcserver/_default.cfg @@ -20,6 +20,11 @@ parms="nogui" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg index 0344ba0fe..25c06816a 100644 --- a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg @@ -19,6 +19,11 @@ parms="" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg index e2d535e62..521e33e77 100644 --- a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg @@ -19,6 +19,11 @@ parms="-fg -ini ${servercfgfullpath}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg index c5752f95a..62e9332f7 100644 --- a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg @@ -31,6 +31,11 @@ parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg index fe709ccf0..3fe148800 100644 --- a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg @@ -37,6 +37,11 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ns2server/_default.cfg b/lgsm/config-default/config-lgsm/ns2server/_default.cfg index 0a111c00d..5aaf98f80 100644 --- a/lgsm/config-default/config-lgsm/ns2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2server/_default.cfg @@ -37,6 +37,11 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/opforserver/_default.cfg b/lgsm/config-default/config-lgsm/opforserver/_default.cfg index 81bd636dc..c65904bde 100644 --- a/lgsm/config-default/config-lgsm/opforserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/opforserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game gearbox -strictportbind +ip ${ip} -port ${port} +clientport ${clien ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/pcserver/_default.cfg b/lgsm/config-default/config-lgsm/pcserver/_default.cfg index b0bb14d7e..79963298a 100644 --- a/lgsm/config-default/config-lgsm/pcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pcserver/_default.cfg @@ -19,6 +19,11 @@ parms="--config ${servercfg}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg index 2c3045d32..2abfd16d9 100644 --- a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg @@ -26,6 +26,11 @@ parms="-game pvkii -strictportbind -ip ${ip} -port ${port} +clientport ${clientp ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/pzserver/_default.cfg b/lgsm/config-default/config-lgsm/pzserver/_default.cfg index 4d6377b98..52f463fe1 100644 --- a/lgsm/config-default/config-lgsm/pzserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pzserver/_default.cfg @@ -21,6 +21,11 @@ parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${servicename}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/q2server/_default.cfg b/lgsm/config-default/config-lgsm/q2server/_default.cfg index d1d680b82..ff04a0814 100644 --- a/lgsm/config-default/config-lgsm/q2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q2server/_default.cfg @@ -23,6 +23,11 @@ parms="+set dedicated 1 +set ip ${ip} +set port ${port} +exec ${servercfg} +set ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/q3server/_default.cfg b/lgsm/config-default/config-lgsm/q3server/_default.cfg index a3d9577d2..ceabe83f1 100644 --- a/lgsm/config-default/config-lgsm/q3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q3server/_default.cfg @@ -23,6 +23,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/qlserver/_default.cfg b/lgsm/config-default/config-lgsm/qlserver/_default.cfg index 19b826fb7..18aeac001 100644 --- a/lgsm/config-default/config-lgsm/qlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qlserver/_default.cfg @@ -23,6 +23,11 @@ parms="+exec ${servercfg}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/qwserver/_default.cfg b/lgsm/config-default/config-lgsm/qwserver/_default.cfg index 4c7f436ea..89f672db1 100644 --- a/lgsm/config-default/config-lgsm/qwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qwserver/_default.cfg @@ -22,6 +22,11 @@ parms="-port ${port} -game ktx +exec ${servercfg}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg index c68333d94..8da3cb441 100644 --- a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg @@ -44,6 +44,11 @@ parms="" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/roserver/_default.cfg b/lgsm/config-default/config-lgsm/roserver/_default.cfg index e72c5de26..07e679e56 100644 --- a/lgsm/config-default/config-lgsm/roserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/roserver/_default.cfg @@ -26,6 +26,11 @@ parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir in ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/rustserver/_default.cfg b/lgsm/config-default/config-lgsm/rustserver/_default.cfg index 93382230d..44038ce31 100644 --- a/lgsm/config-default/config-lgsm/rustserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rustserver/_default.cfg @@ -43,6 +43,11 @@ fi ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/sbserver/_default.cfg b/lgsm/config-default/config-lgsm/sbserver/_default.cfg index 38dea6dc4..d39c751fd 100644 --- a/lgsm/config-default/config-lgsm/sbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbserver/_default.cfg @@ -25,6 +25,11 @@ parms="" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg index b99c6a7eb..4c1222d44 100644 --- a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg @@ -25,6 +25,11 @@ parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit - ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/squadserver/_default.cfg b/lgsm/config-default/config-lgsm/squadserver/_default.cfg index b6ae6b33a..48676fe2e 100644 --- a/lgsm/config-default/config-lgsm/squadserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/squadserver/_default.cfg @@ -24,6 +24,11 @@ parms="MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ss3server/_default.cfg b/lgsm/config-default/config-lgsm/ss3server/_default.cfg index f40cdfa05..9ccb2d764 100644 --- a/lgsm/config-default/config-lgsm/ss3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ss3server/_default.cfg @@ -22,6 +22,11 @@ parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/svenserver/_default.cfg b/lgsm/config-default/config-lgsm/svenserver/_default.cfg index 26d75d495..3459a8619 100644 --- a/lgsm/config-default/config-lgsm/svenserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/svenserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clie ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg index b62aa21b0..0e79c8cfa 100644 --- a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg @@ -25,6 +25,11 @@ parms="-config ${servercfgfullpath}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/tf2server/_default.cfg b/lgsm/config-default/config-lgsm/tf2server/_default.cfg index 430358e28..91933f5d2 100644 --- a/lgsm/config-default/config-lgsm/tf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/tf2server/_default.cfg @@ -31,6 +31,11 @@ parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg index 55150c04b..405ade2fa 100644 --- a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg @@ -25,6 +25,11 @@ parms="-game tfc -strictportbind _ip ${ip} -port ${port} +clientport ${clientpor ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ts3server/_default.cfg b/lgsm/config-default/config-lgsm/ts3server/_default.cfg index 5e99dc366..3987be3e4 100644 --- a/lgsm/config-default/config-lgsm/ts3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ts3server/_default.cfg @@ -14,6 +14,11 @@ ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/tuserver/_default.cfg b/lgsm/config-default/config-lgsm/tuserver/_default.cfg index b9ccc8bf4..47efb92c1 100644 --- a/lgsm/config-default/config-lgsm/tuserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tuserver/_default.cfg @@ -23,6 +23,11 @@ parms="-log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -TowerServerI ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg index 20f8909f7..e5f0489d6 100644 --- a/lgsm/config-default/config-lgsm/twserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/twserver/_default.cfg @@ -25,6 +25,11 @@ parms="-f ${servercfgfullpath}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg index e42e1db63..94eb83313 100644 --- a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg @@ -22,6 +22,11 @@ parms="server ${defaultmap}?game=XGame.xDeathMatch -nohomedir ini=${servercfg} l ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ut3server/_default.cfg b/lgsm/config-default/config-lgsm/ut3server/_default.cfg index 7f0b7c5fd..95ed62ba5 100644 --- a/lgsm/config-default/config-lgsm/ut3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut3server/_default.cfg @@ -34,6 +34,11 @@ parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/ut99server/_default.cfg b/lgsm/config-default/config-lgsm/ut99server/_default.cfg index 3b361ef84..488addb83 100644 --- a/lgsm/config-default/config-lgsm/ut99server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut99server/_default.cfg @@ -22,6 +22,11 @@ parms="server ${defaultmap}.unr ini=${servercfgfullpath}" ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/utserver/_default.cfg b/lgsm/config-default/config-lgsm/utserver/_default.cfg index c0339e139..bb6b5f884 100644 --- a/lgsm/config-default/config-lgsm/utserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/utserver/_default.cfg @@ -26,6 +26,11 @@ parms="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -p ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/config-default/config-lgsm/wetserver/_default.cfg b/lgsm/config-default/config-lgsm/wetserver/_default.cfg index c86eda7e3..c4032b46a 100644 --- a/lgsm/config-default/config-lgsm/wetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wetserver/_default.cfg @@ -18,6 +18,11 @@ fn_parms(){ ## Notification Alerts # (on|off) +# More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info +postalert="off" +postdays="7" +posttarget="https://hastebin.com" + # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 1d973153a..edfc14cc8 100644 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -31,7 +31,7 @@ fn_alert_test(){ alertsubject="Alert - ${servicename} - Test" alertemoji="🚧" alertsound="1" - alerturl="https://gameservermanagers.com" + alerturl="not enabled" alertbody="Testing LinuxGSM Alert. No action to be taken." } @@ -40,7 +40,7 @@ fn_alert_restart(){ alertsubject="Alert - ${servicename} - Restarted" alertemoji="🚨" alertsound="2" - alerturl="https://gameservermanagers.com" + alerturl="not enabled" alertbody="${servicename} ${executable} not running" } @@ -49,7 +49,7 @@ fn_alert_restart_query(){ alertsubject="Alert - ${servicename} - Restarted" alertemoji="🚨" alertsound="2" - alerturl="https://gameservermanagers.com" + alerturl="not enabled" alertbody="gsquery.py failed to query: ${gsquerycmd}" } @@ -58,7 +58,7 @@ fn_alert_update(){ alertsubject="Alert - ${servicename} - Updated" alertemoji="🎮" alertsound="1" - alerturl="https://gameservermanagers.com" + alerturl="not enabled" alertbody="${gamename} received update" } @@ -67,7 +67,7 @@ fn_alert_permissions(){ alertsubject="Alert - ${servicename}: Permissions error" alertemoji="❗" alertsound="2" - alerturl="https://gameservermanagers.com" + alerturl="not enabled" alertbody="${servicename} has permissions issues" } @@ -89,8 +89,19 @@ fi fn_alert_log # Generates the more info link -alertflag=1 -command_postdetails.sh +if [ "${postalert}" == "on" ]&&[ -n "${postalert}" ]; then + alertflag=1 + command_postdetails.sh +elif [ "${postalert}" != "on" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then + fn_print_warn_nl "Discord alerts not enabled" + fn_script_log_warn "Discord alerts not enabled" +elif [ -z "${posttarget}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then + fn_print_error_nl "posttarget not set" + fn_script_error_warn "posttarget not set" +elif [ -z "${postdays}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then + fn_print_error_nl "postdays not set" + fn_script_error_warn "postdays not set" +fi if [ "${discordalert}" == "on" ]&&[ -n "${discordalert}" ]; then alert_discord.sh