Browse Source

feat(alerts): add displayip variable (#2310)

pull/2399/head
Daniel Gibbs 6 years ago
committed by GitHub
parent
commit
5901f19d07
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 3
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  3. 3
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  4. 3
      lgsm/config-default/config-lgsm/bbserver/_default.cfg
  5. 3
      lgsm/config-default/config-lgsm/bdserver/_default.cfg
  6. 3
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  7. 3
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  8. 3
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  9. 3
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  10. 3
      lgsm/config-default/config-lgsm/bt1944server/_default.cfg
  11. 3
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  12. 3
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  13. 3
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  14. 3
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  15. 3
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  16. 3
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  17. 3
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  18. 3
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  19. 3
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  20. 3
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  21. 3
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  22. 3
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  23. 3
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  24. 3
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  25. 3
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  26. 3
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  27. 3
      lgsm/config-default/config-lgsm/dysserver/_default.cfg
  28. 3
      lgsm/config-default/config-lgsm/ecoserver/_default.cfg
  29. 3
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  30. 3
      lgsm/config-default/config-lgsm/etlserver/_default.cfg
  31. 3
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  32. 3
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  33. 3
      lgsm/config-default/config-lgsm/gesserver/_default.cfg
  34. 3
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  35. 3
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  36. 3
      lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  37. 3
      lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  38. 3
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  39. 3
      lgsm/config-default/config-lgsm/insserver/_default.cfg
  40. 3
      lgsm/config-default/config-lgsm/inssserver/_default.cfg
  41. 3
      lgsm/config-default/config-lgsm/iosserver/_default.cfg
  42. 3
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  43. 3
      lgsm/config-default/config-lgsm/jc3server/_default.cfg
  44. 3
      lgsm/config-default/config-lgsm/kf2server/_default.cfg
  45. 3
      lgsm/config-default/config-lgsm/kfserver/_default.cfg
  46. 3
      lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  47. 3
      lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  48. 3
      lgsm/config-default/config-lgsm/mcserver/_default.cfg
  49. 3
      lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  50. 3
      lgsm/config-default/config-lgsm/mumbleserver/_default.cfg
  51. 3
      lgsm/config-default/config-lgsm/ndserver/_default.cfg
  52. 3
      lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  53. 3
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  54. 3
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  55. 3
      lgsm/config-default/config-lgsm/nsserver/_default.cfg
  56. 3
      lgsm/config-default/config-lgsm/opforserver/_default.cfg
  57. 3
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  58. 3
      lgsm/config-default/config-lgsm/pstbsserver/_default.cfg
  59. 3
      lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  60. 3
      lgsm/config-default/config-lgsm/pzserver/_default.cfg
  61. 3
      lgsm/config-default/config-lgsm/q2server/_default.cfg
  62. 3
      lgsm/config-default/config-lgsm/q3server/_default.cfg
  63. 3
      lgsm/config-default/config-lgsm/qlserver/_default.cfg
  64. 3
      lgsm/config-default/config-lgsm/qwserver/_default.cfg
  65. 3
      lgsm/config-default/config-lgsm/ricochetserver/_default.cfg
  66. 3
      lgsm/config-default/config-lgsm/roserver/_default.cfg
  67. 3
      lgsm/config-default/config-lgsm/rtcwserver/_default.cfg
  68. 3
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  69. 3
      lgsm/config-default/config-lgsm/rwserver/_default.cfg
  70. 3
      lgsm/config-default/config-lgsm/sampserver/_default.cfg
  71. 3
      lgsm/config-default/config-lgsm/sbotsserver/_default.cfg
  72. 3
      lgsm/config-default/config-lgsm/sbserver/_default.cfg
  73. 3
      lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  74. 3
      lgsm/config-default/config-lgsm/sof2server/_default.cfg
  75. 3
      lgsm/config-default/config-lgsm/squadserver/_default.cfg
  76. 3
      lgsm/config-default/config-lgsm/ss3server/_default.cfg
  77. 3
      lgsm/config-default/config-lgsm/stserver/_default.cfg
  78. 3
      lgsm/config-default/config-lgsm/svenserver/_default.cfg
  79. 3
      lgsm/config-default/config-lgsm/terrariaserver/_default.cfg
  80. 3
      lgsm/config-default/config-lgsm/tf2server/_default.cfg
  81. 3
      lgsm/config-default/config-lgsm/tfcserver/_default.cfg
  82. 3
      lgsm/config-default/config-lgsm/ts3server/_default.cfg
  83. 3
      lgsm/config-default/config-lgsm/tuserver/_default.cfg
  84. 3
      lgsm/config-default/config-lgsm/twserver/_default.cfg
  85. 3
      lgsm/config-default/config-lgsm/ut2k4server/_default.cfg
  86. 3
      lgsm/config-default/config-lgsm/ut3server/_default.cfg
  87. 3
      lgsm/config-default/config-lgsm/ut99server/_default.cfg
  88. 3
      lgsm/config-default/config-lgsm/utserver/_default.cfg
  89. 3
      lgsm/config-default/config-lgsm/vsserver/_default.cfg
  90. 3
      lgsm/config-default/config-lgsm/wetserver/_default.cfg
  91. 3
      lgsm/config-default/config-lgsm/wurmserver/_default.cfg
  92. 3
      lgsm/config-default/config-lgsm/zpsserver/_default.cfg
  93. 2
      lgsm/functions/alert_discord.sh
  94. 2
      lgsm/functions/alert_ifttt.sh
  95. 2
      lgsm/functions/alert_pushbullet.sh
  96. 2
      lgsm/functions/alert_pushover.sh
  97. 2
      lgsm/functions/alert_telegram.sh
  98. 9
      lgsm/functions/info_distro.sh
  99. 7
      lgsm/functions/info_messages.sh

3
lgsm/config-default/config-lgsm/arkserver/_default.cfg

@ -27,6 +27,9 @@ parms="\"${defaultmap}?AltSaveDirectoryName=${defaultmap}?listen?MultiHome=${ip}
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/arma3server/_default.cfg

@ -41,6 +41,9 @@ parms="-ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgful
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bb2server/_default.cfg

@ -31,6 +31,9 @@ parms="-game brainbread2 -strictportbind -ip ${ip} -port ${port} +clientport ${c
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bbserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game brainbread -strictportbind +ip ${ip} -port ${port} +clientport ${cl
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bdserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game bdef -strictportbind +ip ${ip} -port ${port} +clientport ${clientpo
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bf1942server/_default.cfg

@ -18,6 +18,9 @@ parms="+hostServer 1 +dedicated 1"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bmdmserver/_default.cfg

@ -31,6 +31,9 @@ parms="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/boserver/_default.cfg

@ -24,6 +24,9 @@ parms="-batchmode -nographics -dedicated -configfile=${servercfgfullpath}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bsserver/_default.cfg

@ -35,6 +35,9 @@ parms="-game "${serverfiles}/berimbau" -autoupdate -strictportbind -ip ${ip} -po
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/bt1944server/_default.cfg

@ -23,6 +23,9 @@ parms="/Game/Maps/Final_Maps/Derailed?Game=/Script/ShooterGame.BombGameMode?list
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ccserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game cure -strictportbind -ip ${ip} -port ${port} +clientport ${clientpo
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/cod2server/_default.cfg

@ -24,6 +24,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 2 +se
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/cod4server/_default.cfg

@ -24,6 +24,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set fs_homepath ${s
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/codserver/_default.cfg

@ -24,6 +24,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 2 +se
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/coduoserver/_default.cfg

@ -24,6 +24,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 2 +se
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/codwawserver/_default.cfg

@ -24,6 +24,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 2 +se
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/csczserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game czero -strictportbind +ip ${ip} -port ${port} +clientport ${clientp
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/csgoserver/_default.cfg

@ -51,6 +51,9 @@ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport $
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/csserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game cstrike -strictportbind +ip ${ip} -port ${port} +clientport ${clien
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/cssserver/_default.cfg

@ -31,6 +31,9 @@ parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clien
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/dabserver/_default.cfg

@ -26,6 +26,9 @@ parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_por
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/dmcserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game dmc -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/dodserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game dod -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/dodsserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/doiserver/_default.cfg

@ -28,6 +28,9 @@ parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/dstserver/_default.cfg

@ -29,6 +29,9 @@ parms="-persistent_storage_root ${persistentstorageroot} -conf_dir ${confdir} -c
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/dysserver/_default.cfg

@ -31,6 +31,9 @@ parms="-game "${serverfiles}/dystopia" -strictportbind -ip ${ip} -port ${port} +
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ecoserver/_default.cfg

@ -18,6 +18,9 @@ fn_parms(){
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/emserver/_default.cfg

@ -31,6 +31,9 @@ parms="-game empires -strictportbind -ip ${ip} -port ${port} +clientport ${clien
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/etlserver/_default.cfg

@ -18,6 +18,9 @@ fn_parms(){
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/fctrserver/_default.cfg

@ -26,6 +26,9 @@ parms="--start-server ${serverfiles}/save1.zip --server-settings ${servercfgfull
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/fofserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game fof -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/gesserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game gesource -strictportbind -ip ${ip} -port ${port} +clientport ${clie
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/gmodserver/_default.cfg

@ -42,6 +42,9 @@ parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickr
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game hl2mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/hldmserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game valve -strictportbind +ip ${ip} -port ${port} +clientport ${clientp
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/hldmsserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game hl1mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/hwserver/_default.cfg

@ -37,6 +37,9 @@ parms="-batchmode -nographics -exec \"host ${port} ${defaultmap} ${loadsave};que
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/insserver/_default.cfg

@ -33,6 +33,9 @@ parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${cl
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/inssserver/_default.cfg

@ -34,6 +34,9 @@ fn_parms(){
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/iosserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game iosoccer -strictportbind -ip ${ip} -port ${port} +clientport ${clie
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/jc2server/_default.cfg

@ -18,6 +18,9 @@ parms=""
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/jc3server/_default.cfg

@ -18,6 +18,9 @@ parms=""
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/kf2server/_default.cfg

@ -24,6 +24,9 @@ parms="\"${defaultmap}?Game=${gamemode}?ConfigSubDir=${servicename} -QueryPort=$
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/kfserver/_default.cfg

@ -30,6 +30,9 @@ parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/l4d2server/_default.cfg

@ -25,6 +25,9 @@ parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${cl
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/l4dserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game left4dead -strictportbind -ip ${ip} -port ${port} +clientport ${cli
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/mcserver/_default.cfg

@ -20,6 +20,9 @@ parms="nogui"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/mtaserver/_default.cfg

@ -19,6 +19,9 @@ parms=""
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/mumbleserver/_default.cfg

@ -19,6 +19,9 @@ parms="-fg -ini ${servercfgfullpath}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ndserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game nucleardawn -strictportbind -ip ${ip} -port ${port} +clientport ${c
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/nmrihserver/_default.cfg

@ -31,6 +31,9 @@ parms="-game nmrih -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ns2cserver/_default.cfg

@ -33,6 +33,9 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ns2server/_default.cfg

@ -37,6 +37,9 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/nsserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game ns -strictportbind +ip ${ip} -port ${port} +clientport ${clientport
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/opforserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game gearbox -strictportbind +ip ${ip} -port ${port} +clientport ${clien
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/pcserver/_default.cfg

@ -18,6 +18,9 @@ parms="--config ${servercfg}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/pstbsserver/_default.cfg

@ -29,6 +29,9 @@ parms="MULTIHOME=${ip}?RANDOM=${randommap}?Port=${port}?QueryPort=${queryport}?M
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg

@ -26,6 +26,9 @@ parms="-game pvkii -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/pzserver/_default.cfg

@ -21,6 +21,9 @@ parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${servicename}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/q2server/_default.cfg

@ -23,6 +23,9 @@ parms="+set dedicated 1 +set ip ${ip} +set port ${port} +exec ${servercfg} +set
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/q3server/_default.cfg

@ -23,6 +23,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 2 +se
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/qlserver/_default.cfg

@ -20,6 +20,9 @@ parms="+exec ${servercfg}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/qwserver/_default.cfg

@ -22,6 +22,9 @@ parms="-port ${port} -game ktx +exec ${servercfg}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ricochetserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game ricochet -strictportbind +ip ${ip} -port ${port} +clientport ${clie
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/roserver/_default.cfg

@ -26,6 +26,9 @@ parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir in
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/rtcwserver/_default.cfg

@ -23,6 +23,9 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${serverfiles} +set dedicated 1 +se
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/rustserver/_default.cfg

@ -50,6 +50,9 @@ parms="-batchmode +server.ip ${ip} +server.port ${port} +server.tickrate ${tickr
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/rwserver/_default.cfg

@ -21,6 +21,9 @@ parms=""
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/sampserver/_default.cfg

@ -22,6 +22,9 @@ parms=""
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/sbotsserver/_default.cfg

@ -26,6 +26,9 @@ parms="Port=${port}?QueryPort=${queryport} -startup_map ${defaultmap} -server_na
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/sbserver/_default.cfg

@ -25,6 +25,9 @@ parms=""
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/sdtdserver/_default.cfg

@ -21,6 +21,9 @@ parms="-logfile ${gamelogdir}/output_log__$(date +%Y-%m-%d__%H-%M-%S).txt -quit
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/sof2server/_default.cfg

@ -23,6 +23,9 @@ parms="+set sv_punkbuster 0 +set dedicated 2 +set net_ip ${ip} +set net_port ${p
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/squadserver/_default.cfg

@ -23,6 +23,9 @@ parms="MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ss3server/_default.cfg

@ -22,6 +22,9 @@ parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/stserver/_default.cfg

@ -28,6 +28,9 @@ parms="-batchmode -nographics -autostart -gameport=${port} -updateport=${querypo
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/svenserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clie
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/terrariaserver/_default.cfg

@ -25,6 +25,9 @@ parms="-config ${servercfgfullpath}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/tf2server/_default.cfg

@ -31,6 +31,9 @@ parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/tfcserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game tfc -strictportbind _ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ts3server/_default.cfg

@ -14,6 +14,9 @@
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/tuserver/_default.cfg

@ -28,6 +28,9 @@ parms="-log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -TowerServerI
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/twserver/_default.cfg

@ -25,6 +25,9 @@ parms="-f ${servercfg}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ut2k4server/_default.cfg

@ -22,6 +22,9 @@ parms="server ${defaultmap}?game=XGame.xDeathMatch -nohomedir ini=${servercfg} l
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ut3server/_default.cfg

@ -33,6 +33,9 @@ parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/ut99server/_default.cfg

@ -22,6 +22,9 @@ parms="server ${defaultmap}.unr ini=${servercfgfullpath}"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/utserver/_default.cfg

@ -26,6 +26,9 @@ parms="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -p
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/vsserver/_default.cfg

@ -25,6 +25,9 @@ parms="-game vs -strictportbind +ip ${ip} -port ${port} +clientport ${clientport
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/wetserver/_default.cfg

@ -18,6 +18,9 @@ fn_parms(){
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/wurmserver/_default.cfg

@ -20,6 +20,9 @@ fn_parms(){
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

3
lgsm/config-default/config-lgsm/zpsserver/_default.cfg

@ -31,6 +31,9 @@ parms="-game zps -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"

2
lgsm/functions/alert_discord.sh

@ -35,7 +35,7 @@ json=$(cat <<EOF
},
{
"name": "Server IP",
"value": "[${extip:-$ip}:${port}](https://www.gametracker.com/server_info/${extip:-$ip}:${port})",
"value": "[${alertip}:${port}](https://www.gametracker.com/server_info/${alertip}:${port})",
"inline": true
},
{

2
lgsm/functions/alert_ifttt.sh

@ -12,7 +12,7 @@ json=$(cat <<EOF
{
"value1": "${servicename}",
"value2": "${alertsubject}",
"value3": "Message\n${alertbody}\n\nGame\n${gamename}\n\nServer name\n${servername}\n\nHostname\n${HOSTNAME}\n\nServer IP\n${ip}:${port}\n\nMore info\n${alerturl}"
"value3": "Message\n${alertbody}\n\nGame\n${gamename}\n\nServer name\n${servername}\n\nHostname\n${HOSTNAME}\n\nServer IP\n${alertip}:${port}\n\nMore info\n${alerturl}"
}
EOF
)

2
lgsm/functions/alert_pushbullet.sh

@ -13,7 +13,7 @@ json=$(cat <<EOF
"channel_tag": "${channeltag}",
"type": "note",
"title": "${alertemoji} ${alertsubject} ${alertemoji}",
"body": "Message\n${alertbody}\n\nGame\n${gamename}\n\nServer name\n${servername}\n\nHostname\n${HOSTNAME}\n\nServer IP\n${ip}:${port}\n\nMore info\n${alerturl}"
"body": "Message\n${alertbody}\n\nGame\n${gamename}\n\nServer name\n${servername}\n\nHostname\n${HOSTNAME}\n\nServer IP\n${alertip}:${port}\n\nMore info\n${alerturl}"
}
EOF
)

2
lgsm/functions/alert_pushover.sh

@ -23,7 +23,7 @@ else
alertpriority="0"
fi
pushoversend=$(${curlpath} -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alertemoji} ${alertsubject} ${alertemoji}" -F message=" <b>Message</b><br>${alertbody}<br><br><b>Game</b><br>${gamename}<br><br><b>Server name</b><br>${servername}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br><b>Server IP</b><br><a href='https://www.gametracker.com/server_info/${extip:-$ip}:${port}'>${extip:-$ip}:${port}</a><br><br><b>More info</b><br><a href='${alerturl}'>${alerturl}</a>" "https://api.pushover.net/1/messages.json" | grep errors)
pushoversend=$(${curlpath} -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alertemoji} ${alertsubject} ${alertemoji}" -F message=" <b>Message</b><br>${alertbody}<br><br><b>Game</b><br>${gamename}<br><br><b>Server name</b><br>${servername}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br><b>Server IP</b><br><a href='https://www.gametracker.com/server_info/${alertip}:${port}'>${alertip}:${port}</a><br><br><b>More info</b><br><a href='${alerturl}'>${alerturl}</a>" "https://api.pushover.net/1/messages.json" | grep errors)
if [ -n "${pushoversend}" ]; then
fn_print_fail_nl "Sending Pushover alert: ${pushoversend}"

2
lgsm/functions/alert_telegram.sh

@ -12,7 +12,7 @@ json=$(cat <<EOF
{
"chat_id": "${telegramchatid}",
"parse_mode": "HTML",
"text": "${alertemoji} <b>${alertsubject}</b> ${alertemoji}\n\n<b>Message</b>\n${alertbody}\n\n<b>Game</b>\n${gamename}\n\n<b>Server name</b>\n${servername}\n\n<b>Hostname</b>\n${HOSTNAME}\n\n<b>Server IP</b>\n<a href='https://www.gametracker.com/server_info/${extip:-$ip}:${port}'>${extip:-$ip}:${port}</a>\n\n<b>More info</b>\n<a href='${alerturl}'>${alerturl}</a>",
"text": "${alertemoji} <b>${alertsubject}</b> ${alertemoji}\n\n<b>Message</b>\n${alertbody}\n\n<b>Game</b>\n${gamename}\n\n<b>Server name</b>\n${servername}\n\n<b>Hostname</b>\n${HOSTNAME}\n\n<b>Server IP</b>\n<a href='https://www.gametracker.com/server_info/${alertip}:${port}'>${alertip}:${port}</a>\n\n<b>More info</b>\n<a href='${alerturl}'>${alerturl}</a>",
"disable_web_page_preview": "yes",
EOF
)

9
lgsm/functions/info_distro.sh

@ -222,6 +222,15 @@ if [ -z "${extip}" ]; then
fi
fi
# Alert IP address
if [ "${displayip}" ]; then
alertip="${displayip}"
elif [ "${extip}" ]; then
alertip="${extip}"
else
alertip="${ip}"
fi
# Steam Master Server - checks if detected by master server
if [ "$(command -v jq 2>/dev/null)" ]; then
if [ "${ip}" ]&&[ "${port}" ]; then

7
lgsm/functions/info_messages.sh

@ -155,13 +155,18 @@ fn_info_message_gameserver(){
echo -e "${blue}Server IP:\t${default}${ip}:${port}"
fi
# External server ip
# Internet ip
if [ -n "${extip}" ]; then
if [ "${ip}" != "${extip}" ]; then
echo -e "${blue}Internet IP:\t${default}${extip}:${port}"
fi
fi
# Display ip
if [ -n "${displayip}" ]; then
echo -e "${blue}Display IP:\t${default}${displayip}:${port}"
fi
# Server password
if [ -n "${serverpassword}" ]; then
echo -e "${blue}Server password:\t${default}${serverpassword}"

Loading…
Cancel
Save