Browse Source

Added flags for more info as this setting is optional

pull/1639/head
Daniel Gibbs 8 years ago
parent
commit
de8032d671
  1. 5
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 5
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  3. 5
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  4. 5
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  5. 5
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  6. 5
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  7. 5
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  8. 5
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  9. 5
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  10. 5
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  11. 5
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  12. 5
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  13. 5
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  14. 5
      lgsm/config-default/config-lgsm/coserver/_default.cfg
  15. 5
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  16. 5
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  17. 5
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  18. 5
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  19. 5
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  20. 5
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  21. 5
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  22. 5
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  23. 5
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  24. 5
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  25. 5
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  26. 5
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  27. 5
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  28. 5
      lgsm/config-default/config-lgsm/gesserver/_default.cfg
  29. 5
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  30. 5
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  31. 5
      lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  32. 5
      lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  33. 5
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  34. 5
      lgsm/config-default/config-lgsm/insserver/_default.cfg
  35. 5
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  36. 5
      lgsm/config-default/config-lgsm/kfserver/_default.cfg
  37. 5
      lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  38. 5
      lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  39. 5
      lgsm/config-default/config-lgsm/mcserver/_default.cfg
  40. 5
      lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  41. 5
      lgsm/config-default/config-lgsm/mumbleserver/_default.cfg
  42. 5
      lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  43. 5
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  44. 5
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  45. 5
      lgsm/config-default/config-lgsm/opforserver/_default.cfg
  46. 5
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  47. 5
      lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  48. 5
      lgsm/config-default/config-lgsm/pzserver/_default.cfg
  49. 5
      lgsm/config-default/config-lgsm/q2server/_default.cfg
  50. 5
      lgsm/config-default/config-lgsm/q3server/_default.cfg
  51. 5
      lgsm/config-default/config-lgsm/qlserver/_default.cfg
  52. 5
      lgsm/config-default/config-lgsm/qwserver/_default.cfg
  53. 5
      lgsm/config-default/config-lgsm/ricochetserver/_default.cfg
  54. 5
      lgsm/config-default/config-lgsm/roserver/_default.cfg
  55. 5
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  56. 5
      lgsm/config-default/config-lgsm/sbserver/_default.cfg
  57. 5
      lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  58. 5
      lgsm/config-default/config-lgsm/squadserver/_default.cfg
  59. 5
      lgsm/config-default/config-lgsm/ss3server/_default.cfg
  60. 5
      lgsm/config-default/config-lgsm/svenserver/_default.cfg
  61. 5
      lgsm/config-default/config-lgsm/terrariaserver/_default.cfg
  62. 5
      lgsm/config-default/config-lgsm/tf2server/_default.cfg
  63. 5
      lgsm/config-default/config-lgsm/tfcserver/_default.cfg
  64. 5
      lgsm/config-default/config-lgsm/ts3server/_default.cfg
  65. 5
      lgsm/config-default/config-lgsm/tuserver/_default.cfg
  66. 5
      lgsm/config-default/config-lgsm/twserver/_default.cfg
  67. 5
      lgsm/config-default/config-lgsm/ut2k4server/_default.cfg
  68. 5
      lgsm/config-default/config-lgsm/ut3server/_default.cfg
  69. 5
      lgsm/config-default/config-lgsm/ut99server/_default.cfg
  70. 5
      lgsm/config-default/config-lgsm/utserver/_default.cfg
  71. 5
      lgsm/config-default/config-lgsm/wetserver/_default.cfg
  72. 25
      lgsm/functions/alert.sh

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

5
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"

25
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

Loading…
Cancel
Save