Explorar el Código

Merge pull request #1901 from lazymind/patch-1

Add proxy support for Telegram alerts via curl
Daniel Gibbs hace 8 años
padre
commit
e26ce7d8a4
Se han modificado 81 ficheros con 330 adiciones y 15 borrados
  1. 4 0
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 4 0
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  3. 5 1
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  4. 5 1
      lgsm/config-default/config-lgsm/bdserver/_default.cfg
  5. 4 0
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  6. 5 1
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  7. 5 1
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  8. 5 1
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  9. 4 0
      lgsm/config-default/config-lgsm/bt1944server/_default.cfg
  10. 5 1
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  11. 5 1
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  12. 5 1
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  13. 5 1
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  14. 5 1
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  15. 5 1
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  16. 4 0
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  17. 4 0
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  18. 5 1
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  19. 4 0
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  20. 4 0
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  21. 4 0
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  22. 4 0
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  23. 4 0
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  24. 4 0
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  25. 4 0
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  26. 4 0
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  27. 4 0
      lgsm/config-default/config-lgsm/etlserver/_default.cfg
  28. 4 0
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  29. 4 0
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  30. 4 0
      lgsm/config-default/config-lgsm/gesserver/_default.cfg
  31. 4 0
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  32. 4 0
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  33. 4 0
      lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  34. 4 0
      lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  35. 4 0
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  36. 4 0
      lgsm/config-default/config-lgsm/insserver/_default.cfg
  37. 4 0
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  38. 4 0
      lgsm/config-default/config-lgsm/jc3server/_default.cfg
  39. 4 0
      lgsm/config-default/config-lgsm/kf2server/_default.cfg
  40. 4 0
      lgsm/config-default/config-lgsm/kfserver/_default.cfg
  41. 4 0
      lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  42. 4 0
      lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  43. 4 0
      lgsm/config-default/config-lgsm/mcserver/_default.cfg
  44. 4 0
      lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  45. 4 0
      lgsm/config-default/config-lgsm/mumbleserver/_default.cfg
  46. 4 0
      lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  47. 4 0
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  48. 4 0
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  49. 4 0
      lgsm/config-default/config-lgsm/opforserver/_default.cfg
  50. 4 0
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  51. 4 0
      lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  52. 4 0
      lgsm/config-default/config-lgsm/pzserver/_default.cfg
  53. 4 0
      lgsm/config-default/config-lgsm/q2server/_default.cfg
  54. 4 0
      lgsm/config-default/config-lgsm/q3server/_default.cfg
  55. 4 0
      lgsm/config-default/config-lgsm/qlserver/_default.cfg
  56. 4 0
      lgsm/config-default/config-lgsm/qwserver/_default.cfg
  57. 4 0
      lgsm/config-default/config-lgsm/ricochetserver/_default.cfg
  58. 4 0
      lgsm/config-default/config-lgsm/roserver/_default.cfg
  59. 4 0
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  60. 4 0
      lgsm/config-default/config-lgsm/rwserver/_default.cfg
  61. 4 0
      lgsm/config-default/config-lgsm/sampserver/_default.cfg
  62. 4 0
      lgsm/config-default/config-lgsm/sbserver/_default.cfg
  63. 4 0
      lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  64. 5 1
      lgsm/config-default/config-lgsm/squadserver/_default.cfg
  65. 4 0
      lgsm/config-default/config-lgsm/ss3server/_default.cfg
  66. 4 0
      lgsm/config-default/config-lgsm/stserver/_default.cfg
  67. 4 0
      lgsm/config-default/config-lgsm/svenserver/_default.cfg
  68. 4 0
      lgsm/config-default/config-lgsm/terrariaserver/_default.cfg
  69. 4 0
      lgsm/config-default/config-lgsm/tf2server/_default.cfg
  70. 4 0
      lgsm/config-default/config-lgsm/tfcserver/_default.cfg
  71. 4 0
      lgsm/config-default/config-lgsm/ts3server/_default.cfg
  72. 4 0
      lgsm/config-default/config-lgsm/tuserver/_default.cfg
  73. 4 0
      lgsm/config-default/config-lgsm/twserver/_default.cfg
  74. 4 0
      lgsm/config-default/config-lgsm/ut2k4server/_default.cfg
  75. 4 0
      lgsm/config-default/config-lgsm/ut3server/_default.cfg
  76. 4 0
      lgsm/config-default/config-lgsm/ut99server/_default.cfg
  77. 4 0
      lgsm/config-default/config-lgsm/utserver/_default.cfg
  78. 4 0
      lgsm/config-default/config-lgsm/wetserver/_default.cfg
  79. 4 0
      lgsm/config-default/config-lgsm/zpsserver/_default.cfg
  80. 1 1
      lgsm/functions/alert_telegram.sh
  81. 0 1
      lgsm/functions/command_validate.sh

+ 4 - 0
lgsm/config-default/config-lgsm/arkserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/arma3server/_default.cfg

@@ -77,9 +77,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 5 - 1
lgsm/config-default/config-lgsm/bb2server/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -125,4 +129,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/bdserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -115,4 +119,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 4 - 0
lgsm/config-default/config-lgsm/bf1942server/_default.cfg

@@ -54,9 +54,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 5 - 1
lgsm/config-default/config-lgsm/bmdmserver/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -125,4 +129,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/boserver/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -118,4 +122,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/bsserver/_default.cfg

@@ -66,9 +66,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -124,4 +128,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 4 - 0
lgsm/config-default/config-lgsm/bt1944server/_default.cfg

@@ -59,9 +59,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 5 - 1
lgsm/config-default/config-lgsm/ccserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -120,4 +124,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/cod2server/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"
@@ -107,4 +111,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/cod4server/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"
@@ -107,4 +111,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/codserver/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"
@@ -107,4 +111,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/coduoserver/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"
@@ -107,4 +111,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 5 - 1
lgsm/config-default/config-lgsm/codwawserver/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"
@@ -107,4 +111,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 4 - 0
lgsm/config-default/config-lgsm/csczserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/csgoserver/_default.cfg

@@ -86,9 +86,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 5 - 1
lgsm/config-default/config-lgsm/csserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -120,4 +124,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 4 - 0
lgsm/config-default/config-lgsm/cssserver/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/dabserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/dmcserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/dodserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/dodsserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/doiserver/_default.cfg

@@ -64,9 +64,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/dstserver/_default.cfg

@@ -65,9 +65,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/emserver/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/etlserver/_default.cfg

@@ -54,9 +54,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/fctrserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/fofserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/gesserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/gmodserver/_default.cfg

@@ -78,9 +78,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/hldmserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/hldmsserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/hwserver/_default.cfg

@@ -75,9 +75,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/insserver/_default.cfg

@@ -69,9 +69,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/jc2server/_default.cfg

@@ -54,9 +54,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/jc3server/_default.cfg

@@ -54,9 +54,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/kf2server/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/kfserver/_default.cfg

@@ -66,9 +66,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/l4d2server/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/l4dserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/mcserver/_default.cfg

@@ -56,9 +56,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/mtaserver/_default.cfg

@@ -55,9 +55,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/mumbleserver/_default.cfg

@@ -55,9 +55,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/nmrihserver/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/ns2cserver/_default.cfg

@@ -69,9 +69,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/ns2server/_default.cfg

@@ -73,9 +73,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/opforserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/pcserver/_default.cfg

@@ -55,9 +55,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/pzserver/_default.cfg

@@ -57,9 +57,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/q2server/_default.cfg

@@ -59,9 +59,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/q3server/_default.cfg

@@ -59,9 +59,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/qlserver/_default.cfg

@@ -59,9 +59,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/qwserver/_default.cfg

@@ -58,9 +58,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/ricochetserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/roserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/rustserver/_default.cfg

@@ -86,9 +86,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/rwserver/_default.cfg

@@ -57,9 +57,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/sampserver/_default.cfg

@@ -58,9 +58,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/sbserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/sdtdserver/_default.cfg

@@ -57,9 +57,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 5 - 1
lgsm/config-default/config-lgsm/squadserver/_default.cfg

@@ -60,9 +60,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"
@@ -119,4 +123,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

+ 4 - 0
lgsm/config-default/config-lgsm/ss3server/_default.cfg

@@ -58,9 +58,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/stserver/_default.cfg

@@ -64,9 +64,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/svenserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/terrariaserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/tf2server/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/tfcserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/ts3server/_default.cfg

@@ -50,9 +50,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/tuserver/_default.cfg

@@ -64,9 +64,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/twserver/_default.cfg

@@ -61,9 +61,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 4 - 0
lgsm/config-default/config-lgsm/ut2k4server/_default.cfg

@@ -58,9 +58,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/ut3server/_default.cfg

@@ -69,9 +69,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/ut99server/_default.cfg

@@ -58,9 +58,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/utserver/_default.cfg

@@ -62,9 +62,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/wetserver/_default.cfg

@@ -54,9 +54,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
 maxbackups="4"

+ 4 - 0
lgsm/config-default/config-lgsm/zpsserver/_default.cfg

@@ -67,9 +67,13 @@ pushoveralert="off"
 pushovertoken="accesstoken"
 
 # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need 
+# any custom string in curl - simple ignore this parameter.
 telegramalert="off"
 telegramtoken="accesstoken"
 telegramchatid=""
+curlcustomstring=""
 
 ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
 updateonstart="off"

+ 1 - 1
lgsm/functions/alert_telegram.sh

@@ -19,7 +19,7 @@ EOF
 
 fn_print_dots "Sending Telegram alert"
 sleep 0.5
-telegramsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" | grep "error_code")
+telegramsend=$(${curlpath} -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" ${curlcustomstring} | grep "error_code")
 
 if [ -n "${telegramsend}" ]; then
 	fn_print_fail_nl "Sending Telegram alert: ${telegramsend}"

+ 0 - 1
lgsm/functions/command_validate.sh

@@ -9,7 +9,6 @@ local commandaction="Validate"
 local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
 fn_validation(){
-	appid="${1}"
 	echo ""
 	echo -e "	* Validating may overwrite some customised files."
 	echo -en "	* https://developer.valvesoftware.com/wiki/SteamCMD#Validate"