diff --git a/lgsm/config-default/config-lgsm/arkserver/_default.cfg b/lgsm/config-default/config-lgsm/arkserver/_default.cfg index fa955486a..efcda0398 100644 --- a/lgsm/config-default/config-lgsm/arkserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/arkserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/arma3server/_default.cfg b/lgsm/config-default/config-lgsm/arma3server/_default.cfg index f192b4281..d38b9da1a 100644 --- a/lgsm/config-default/config-lgsm/arma3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/arma3server/_default.cfg @@ -55,7 +55,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/bb2server/_default.cfg b/lgsm/config-default/config-lgsm/bb2server/_default.cfg index 7b93fc27e..9033fb7bd 100644 --- a/lgsm/config-default/config-lgsm/bb2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bb2server/_default.cfg @@ -45,7 +45,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg index a7804db4b..d54334d0b 100644 --- a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg @@ -32,7 +32,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg index 7a98de379..44947b05e 100644 --- a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg @@ -45,7 +45,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/boserver/_default.cfg b/lgsm/config-default/config-lgsm/boserver/_default.cfg index f190f5800..45e7a9aea 100644 --- a/lgsm/config-default/config-lgsm/boserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/boserver/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/bsserver/_default.cfg b/lgsm/config-default/config-lgsm/bsserver/_default.cfg index 4fadff7c3..8ad4afec2 100644 --- a/lgsm/config-default/config-lgsm/bsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bsserver/_default.cfg @@ -44,7 +44,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/ccserver/_default.cfg b/lgsm/config-default/config-lgsm/ccserver/_default.cfg index e0db6490f..f11cf5ffb 100644 --- a/lgsm/config-default/config-lgsm/ccserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ccserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/cod2server/_default.cfg b/lgsm/config-default/config-lgsm/cod2server/_default.cfg index 4d21afa72..24de88105 100644 --- a/lgsm/config-default/config-lgsm/cod2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod2server/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/cod4server/_default.cfg b/lgsm/config-default/config-lgsm/cod4server/_default.cfg index a909cbf44..709bce36f 100644 --- a/lgsm/config-default/config-lgsm/cod4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod4server/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/codserver/_default.cfg b/lgsm/config-default/config-lgsm/codserver/_default.cfg index 3cd6a8625..38976f9ea 100644 --- a/lgsm/config-default/config-lgsm/codserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codserver/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg index 0cdd89d8f..483c0cc1a 100644 --- a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg index d48c9c8d9..50692a9c8 100644 --- a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/coserver/_default.cfg b/lgsm/config-default/config-lgsm/coserver/_default.cfg index d0cacee0f..70b35d376 100644 --- a/lgsm/config-default/config-lgsm/coserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coserver/_default.cfg @@ -63,7 +63,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/csczserver/_default.cfg b/lgsm/config-default/config-lgsm/csczserver/_default.cfg index 065e7593f..f99126129 100644 --- a/lgsm/config-default/config-lgsm/csczserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csczserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg index a08007b1d..4dfa3e071 100644 --- a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg @@ -63,7 +63,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/csserver/_default.cfg b/lgsm/config-default/config-lgsm/csserver/_default.cfg index df3c6fc7b..6dbbc4653 100644 --- a/lgsm/config-default/config-lgsm/csserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/cssserver/_default.cfg b/lgsm/config-default/config-lgsm/cssserver/_default.cfg index 0e659e037..3ff71028a 100644 --- a/lgsm/config-default/config-lgsm/cssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cssserver/_default.cfg @@ -45,7 +45,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/dabserver/_default.cfg b/lgsm/config-default/config-lgsm/dabserver/_default.cfg index 49c4c7f95..410ea6352 100644 --- a/lgsm/config-default/config-lgsm/dabserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dabserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg index cd2df8463..abcc89626 100644 --- a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/dodserver/_default.cfg b/lgsm/config-default/config-lgsm/dodserver/_default.cfg index 895b5aba8..103e576a4 100644 --- a/lgsm/config-default/config-lgsm/dodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg index fd62ec3c0..be1f96ab3 100644 --- a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/doiserver/_default.cfg b/lgsm/config-default/config-lgsm/doiserver/_default.cfg index 0215bbca3..c44c9d208 100644 --- a/lgsm/config-default/config-lgsm/doiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/doiserver/_default.cfg @@ -42,7 +42,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/dstserver/_default.cfg b/lgsm/config-default/config-lgsm/dstserver/_default.cfg index 53b3f9754..3a362b8ba 100644 --- a/lgsm/config-default/config-lgsm/dstserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dstserver/_default.cfg @@ -43,7 +43,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/emserver/_default.cfg b/lgsm/config-default/config-lgsm/emserver/_default.cfg index e02e4a71c..4cead4da7 100644 --- a/lgsm/config-default/config-lgsm/emserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/emserver/_default.cfg @@ -45,7 +45,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg index 5b7efee63..73d808ae1 100644 --- a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/fofserver/_default.cfg b/lgsm/config-default/config-lgsm/fofserver/_default.cfg index 9979a6a5b..b3bcf38ed 100644 --- a/lgsm/config-default/config-lgsm/fofserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fofserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/gesserver/_default.cfg b/lgsm/config-default/config-lgsm/gesserver/_default.cfg index 49072c3e0..fd8f6036d 100644 --- a/lgsm/config-default/config-lgsm/gesserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gesserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg index b5b794389..a026da8eb 100644 --- a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg @@ -55,7 +55,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg index 3aab25006..ada35dbd5 100644 --- a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg index cc30fc3a6..cb3f12777 100644 --- a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg index 8fb861859..9a17f3212 100644 --- a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/hwserver/_default.cfg b/lgsm/config-default/config-lgsm/hwserver/_default.cfg index c39776582..595297955 100644 --- a/lgsm/config-default/config-lgsm/hwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hwserver/_default.cfg @@ -53,7 +53,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/insserver/_default.cfg b/lgsm/config-default/config-lgsm/insserver/_default.cfg index 5a12ed1b8..987b9a461 100644 --- a/lgsm/config-default/config-lgsm/insserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/insserver/_default.cfg @@ -47,7 +47,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/jc2server/_default.cfg b/lgsm/config-default/config-lgsm/jc2server/_default.cfg index 671cbf497..a3606352e 100644 --- a/lgsm/config-default/config-lgsm/jc2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc2server/_default.cfg @@ -32,7 +32,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/kfserver/_default.cfg b/lgsm/config-default/config-lgsm/kfserver/_default.cfg index d93c6bd8e..87b521694 100644 --- a/lgsm/config-default/config-lgsm/kfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/kfserver/_default.cfg @@ -44,7 +44,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg index 984f7079d..a7705154b 100644 --- a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg index 83aabb66a..a668bc4fd 100644 --- a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/mcserver/_default.cfg b/lgsm/config-default/config-lgsm/mcserver/_default.cfg index 557af9abc..e11dd6477 100644 --- a/lgsm/config-default/config-lgsm/mcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcserver/_default.cfg @@ -34,7 +34,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg index 83d30b42a..6f03e3ec2 100644 --- a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg @@ -33,7 +33,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg index 37e132400..a40788380 100644 --- a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg @@ -33,7 +33,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg index b7249ebee..ad3acdb83 100644 --- a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg @@ -45,7 +45,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg index f0b0c4cf2..2909ccde4 100644 --- a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg @@ -51,7 +51,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/ns2server/_default.cfg b/lgsm/config-default/config-lgsm/ns2server/_default.cfg index b204dfdec..fa06aad20 100644 --- a/lgsm/config-default/config-lgsm/ns2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2server/_default.cfg @@ -51,7 +51,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/opforserver/_default.cfg b/lgsm/config-default/config-lgsm/opforserver/_default.cfg index 80537e85a..b6d343e52 100644 --- a/lgsm/config-default/config-lgsm/opforserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/opforserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/pcserver/_default.cfg b/lgsm/config-default/config-lgsm/pcserver/_default.cfg index bbc522cde..816758f81 100644 --- a/lgsm/config-default/config-lgsm/pcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pcserver/_default.cfg @@ -33,7 +33,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg index 573874f52..699e81977 100644 --- a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/pzserver/_default.cfg b/lgsm/config-default/config-lgsm/pzserver/_default.cfg index aff0303ed..0a4467651 100644 --- a/lgsm/config-default/config-lgsm/pzserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pzserver/_default.cfg @@ -35,7 +35,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/q2server/_default.cfg b/lgsm/config-default/config-lgsm/q2server/_default.cfg index 7f50b416e..13c6af3b6 100644 --- a/lgsm/config-default/config-lgsm/q2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q2server/_default.cfg @@ -37,7 +37,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/q3server/_default.cfg b/lgsm/config-default/config-lgsm/q3server/_default.cfg index 2cec8c7e7..6797a7b65 100644 --- a/lgsm/config-default/config-lgsm/q3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q3server/_default.cfg @@ -37,7 +37,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/qlserver/_default.cfg b/lgsm/config-default/config-lgsm/qlserver/_default.cfg index 65ea9dc52..9467e7d4c 100644 --- a/lgsm/config-default/config-lgsm/qlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qlserver/_default.cfg @@ -37,7 +37,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/qwserver/_default.cfg b/lgsm/config-default/config-lgsm/qwserver/_default.cfg index e0ba92700..6ca33084b 100644 --- a/lgsm/config-default/config-lgsm/qwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qwserver/_default.cfg @@ -36,7 +36,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg index cad8a4d9a..c8f947410 100644 --- a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg @@ -58,7 +58,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/roserver/_default.cfg b/lgsm/config-default/config-lgsm/roserver/_default.cfg index 80fd497c4..1e309606e 100644 --- a/lgsm/config-default/config-lgsm/roserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/roserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/rustserver/_default.cfg b/lgsm/config-default/config-lgsm/rustserver/_default.cfg index 8063eb86b..fca3fd2e6 100644 --- a/lgsm/config-default/config-lgsm/rustserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rustserver/_default.cfg @@ -57,7 +57,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/sbserver/_default.cfg b/lgsm/config-default/config-lgsm/sbserver/_default.cfg index 064156120..752cdadd1 100644 --- a/lgsm/config-default/config-lgsm/sbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg index b6341b9bb..eaf3ded8d 100644 --- a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/squadserver/_default.cfg b/lgsm/config-default/config-lgsm/squadserver/_default.cfg index d301e0ba7..9b1ba5146 100644 --- a/lgsm/config-default/config-lgsm/squadserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/squadserver/_default.cfg @@ -38,7 +38,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/ss3server/_default.cfg b/lgsm/config-default/config-lgsm/ss3server/_default.cfg index 5b288d892..3d536612b 100644 --- a/lgsm/config-default/config-lgsm/ss3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ss3server/_default.cfg @@ -36,7 +36,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/svenserver/_default.cfg b/lgsm/config-default/config-lgsm/svenserver/_default.cfg index 2f40d3829..f4605bf85 100644 --- a/lgsm/config-default/config-lgsm/svenserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/svenserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg index e10f2f8d8..4009f17c7 100644 --- a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/tf2server/_default.cfg b/lgsm/config-default/config-lgsm/tf2server/_default.cfg index 513334c8f..880e4e077 100644 --- a/lgsm/config-default/config-lgsm/tf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/tf2server/_default.cfg @@ -45,7 +45,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg index ec9a66fe4..8e58dc031 100644 --- a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/ts3server/_default.cfg b/lgsm/config-default/config-lgsm/ts3server/_default.cfg index 3d1ff32f9..cd9c9459d 100644 --- a/lgsm/config-default/config-lgsm/ts3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ts3server/_default.cfg @@ -28,7 +28,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/tuserver/_default.cfg b/lgsm/config-default/config-lgsm/tuserver/_default.cfg index 86a950f83..1514efd59 100644 --- a/lgsm/config-default/config-lgsm/tuserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tuserver/_default.cfg @@ -37,7 +37,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg index 463eca14d..c04a94400 100644 --- a/lgsm/config-default/config-lgsm/twserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/twserver/_default.cfg @@ -39,7 +39,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update diff --git a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg index 28f4fd656..9c22aedf9 100644 --- a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg @@ -36,7 +36,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/ut3server/_default.cfg b/lgsm/config-default/config-lgsm/ut3server/_default.cfg index a3130584e..79603057b 100644 --- a/lgsm/config-default/config-lgsm/ut3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut3server/_default.cfg @@ -48,7 +48,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/ut99server/_default.cfg b/lgsm/config-default/config-lgsm/ut99server/_default.cfg index 8f2402f7e..3bf7db705 100644 --- a/lgsm/config-default/config-lgsm/ut99server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut99server/_default.cfg @@ -36,7 +36,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/utserver/_default.cfg b/lgsm/config-default/config-lgsm/utserver/_default.cfg index fb065e641..bf788a57d 100644 --- a/lgsm/config-default/config-lgsm/utserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/utserver/_default.cfg @@ -40,7 +40,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/config-default/config-lgsm/wetserver/_default.cfg b/lgsm/config-default/config-lgsm/wetserver/_default.cfg index 181fadf7f..b80923d49 100644 --- a/lgsm/config-default/config-lgsm/wetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wetserver/_default.cfg @@ -32,7 +32,7 @@ channeltag="" # The chat id is the User or channel name or an integer like so: # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851 telegramalert="off" -telegramapikey="" +telegramtoken="" telegramchatid="" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index c6c90ab76..7157ca1e7 100644 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -9,31 +9,31 @@ local commandaction="Alert" fn_alert_test(){ fn_script_log_info "Sending test alert" - alertsubject="LinuxGSM - Test Alert - ${servername}" - alertbody="LinuxGSM test alert, how you read?" + alertsubject="LinuxGSM Alert- Test - ${servername}" + alertbody="Testing LinuxGSM Alert. No action to be taken." } fn_alert_restart(){ fn_script_log_info "Sending restart alert: ${executable} process not running" - alertsubject="LinuxGSM - Restarted - ${servername}" + alertsubject="LinuxGSM Alert - Restarted - ${servername}" alertbody="${servicename} ${executable} process not running" } fn_alert_restart_query(){ fn_script_log_info "Sending restart alert: ${gsquerycmd}" - alertsubject="LinuxGSM - Restarted - ${servername}" + alertsubject="LinuxGSM Alert- Restarted - ${servername}" alertbody="gsquery.py failed to query: ${gsquerycmd}" } fn_alert_update(){ fn_script_log_info "Sending update alert" - alertsubject="LinuxGSM - Updated - ${servername}" + alertsubject="LinuxGSM Alert- Updated - ${servername}" alertbody="${servicename} received update" } fn_alert_permissions(){ fn_script_log_info "Sending permissions error alert" - alertsubject="LinuxGSM - Error - ${servername}" + alertsubject="LinuxGSM Alert - Error - ${servername}" alertbody="${servicename} has permissions issues." } @@ -66,17 +66,23 @@ elif [ "${pushbulletalert}" != "on" ]&&[ "${function_selfname}" == "command_test fn_script_log_warn "Pushbullet alerts not enabled" elif [ -z "${pushbullettoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then fn_print_error_nl "Pushbullet token not set" + echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet" fn_script_error_warn "Pushbullet token not set" fi -if [ "${telegramalert}" == "on" ]&&[ -n "${telegramapikey}" ]; then +if [ "${telegramalert}" == "on" ]&&[ -n "${telegramtoken}" ]; then alert_telegram.sh elif [ "${telegramalert}" != "on" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then fn_print_warn_nl "Telegram Messages not enabled" fn_script_log_warn "Telegram Messages not enabled" -elif [ -z "${telegramapikey}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then - fn_print_error_nl "Telegram API-key not set. Get one from @botfather" - fn_script_error_warn "Telegram API-key not set. Get one from @botfather" +elif [ -z "${telegramtoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then + fn_print_error_nl "Telegram token not set." + echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram" + fn_script_error_warn "Telegram token not set." +elif [ -z "${telegramchatid}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then + fn_print_error_nl "Telegram chat id not set." + echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram" + fn_script_error_warn "Telegram chat id not set. Get one from @botfather" fi if [ "${discordalert}" == "on" ]&&[ -n "${discordalert}" ]; then diff --git a/lgsm/functions/alert_telegram.sh b/lgsm/functions/alert_telegram.sh index 8a0ec35ef..4f07ed174 100644 --- a/lgsm/functions/alert_telegram.sh +++ b/lgsm/functions/alert_telegram.sh @@ -12,16 +12,15 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" json=$(cat <🚨🚨🚨${alertsubject}🚨🚨🚨\n\n${alertbody}", + "text": "🚨${alertsubject}\n\n${alertbody}", "parse_mode": "HTML", - "disable_notification": true } EOF ) fn_print_dots "Sending Telegram Message" sleep 1 -telegramsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d """$json""" "https://api.telegram.org/bot${telegramapikey}/sendMessage" | grep -Po '(?<="description":").*?(?=")'|uniq) +telegramsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d """$json""" "https://api.telegram.org/bot${telegramtoken}/sendMessage" | grep -Po '(?<="description":").*?(?=")'|uniq) if [ -n "${telegramsend}" ]; then fn_print_fail_nl "Sending Telegram Message: ${telegramsend}"