diff --git a/.github/workflows/serverlist-validate-game-icons.sh b/.github/workflows/serverlist-validate-game-icons.sh new file mode 100755 index 000000000..ca41892c9 --- /dev/null +++ b/.github/workflows/serverlist-validate-game-icons.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +cd "lgsm/data" || exit + +echo "" +echo "Checking that all the game servers listed in serverlist.csv have a shortname-icon.png file" +for shortname in $(tail -n +2 serverlist.csv | cut -d ',' -f1); do + # check if $shortname-icon.png exists + if [ ! -f "gameicons/${shortname}-icon.png" ]; then + echo "ERROR: gameicons/${shortname}-icon.png does not exist" + exitcode=1 + else + echo "OK: gameicons/${shortname}-icon.png exists" + fi +done + +echo "" +echo "Checking if an unexpected gameicon exists" +for gameicon in $(ls -1 gameicons); do + # check if $gameicon is in serverlist.csv + if ! grep -q "${gameicon%-icon.png}" serverlist.csv; then + echo "ERROR: gameicon ${gameicon} is not in serverlist.csv" + exitcode=1 + else + echo "OK: gameicon ${gameicon} is in serverlist.csv" + fi +done + +echo "" +echo "Checking that the number of gameicons matches the number of servers in serverlist.csv" +gameiconcount="$(ls -1 gameicons | wc -l)" +serverlistcount="$(tail -n +2 serverlist.csv | wc -l)" +if [ "${gameiconcount}" -ne "${serverlistcount}" ]; then + echo "ERROR: game icons (${gameiconcount}) does not match serverlist.csv ($serverlistcount)" + exitcode=1 +else + echo "OK: gameiconcount ($gameiconcount) matches serverlistcount ($serverlistcount)" +fi + +exit ${exitcode} diff --git a/.github/workflows/serverlist-validate.sh b/.github/workflows/serverlist-validate.sh index bc192ec37..0c7634018 100755 --- a/.github/workflows/serverlist-validate.sh +++ b/.github/workflows/serverlist-validate.sh @@ -19,4 +19,20 @@ for csv in $csvlist; do fi done +# Compare all game servers listed in serverlist.csv to $shortname-icon.png files in lgsm/data/gameicons +# if the game server is listed in serverlist.csv then it will have a $shortname-icon.png file + +# loop though shortname in serverlist.csv +echo "" +echo "Checking that all the game servers listed in serverlist.csv have a shortname-icon.png file" +for shortname in $(tail -n +2 serverlist.csv | cut -d ',' -f1); do + # check if $shortname-icon.png exists + if [ ! -f "gameicons/${shortname}-icon.png" ]; then + echo "ERROR: gameicons/${shortname}-icon.png does not exist" + exitcode=1 + else + echo "OK: gameicons/${shortname}-icon.png exists" + fi +done + exit ${exitcode} diff --git a/.github/workflows/serverlist-validate.yml b/.github/workflows/serverlist-validate.yml index 13f7376a1..931329571 100644 --- a/.github/workflows/serverlist-validate.yml +++ b/.github/workflows/serverlist-validate.yml @@ -12,3 +12,6 @@ jobs: - name: Compare Versions run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh + + - name: Validate Game Icons + run: chmod +x .github/workflows/serverlist-validate-game-icons.sh; .github/workflows/serverlist-validate-game-icons.sh diff --git a/lgsm/config-default/config-lgsm/acserver/_default.cfg b/lgsm/config-default/config-lgsm/acserver/_default.cfg index c6aeb7b63..b3ad14caf 100644 --- a/lgsm/config-default/config-lgsm/acserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/acserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ahl2server/_default.cfg b/lgsm/config-default/config-lgsm/ahl2server/_default.cfg index fa8f9fa90..086047093 100644 --- a/lgsm/config-default/config-lgsm/ahl2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ahl2server/_default.cfg @@ -40,6 +40,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -72,7 +75,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ahlserver/_default.cfg b/lgsm/config-default/config-lgsm/ahlserver/_default.cfg index 6b8012b36..fb7725e1f 100644 --- a/lgsm/config-default/config-lgsm/ahlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ahlserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/arkserver/_default.cfg b/lgsm/config-default/config-lgsm/arkserver/_default.cfg index 6e3b466fd..7f38c974f 100644 --- a/lgsm/config-default/config-lgsm/arkserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/arkserver/_default.cfg @@ -38,6 +38,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -70,7 +73,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/arma3server/_default.cfg b/lgsm/config-default/config-lgsm/arma3server/_default.cfg index 8a59a6fb1..f89b751ed 100644 --- a/lgsm/config-default/config-lgsm/arma3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/arma3server/_default.cfg @@ -51,6 +51,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -83,7 +86,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/armarserver/_default.cfg b/lgsm/config-default/config-lgsm/armarserver/_default.cfg index 913447e47..3637f469b 100644 --- a/lgsm/config-default/config-lgsm/armarserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/armarserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/atsserver/_default.cfg b/lgsm/config-default/config-lgsm/atsserver/_default.cfg index 04b795dc5..9d8125a31 100644 --- a/lgsm/config-default/config-lgsm/atsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/atsserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/avserver/_default.cfg b/lgsm/config-default/config-lgsm/avserver/_default.cfg index 45cd149b2..5777198c8 100644 --- a/lgsm/config-default/config-lgsm/avserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/avserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bb2server/_default.cfg b/lgsm/config-default/config-lgsm/bb2server/_default.cfg index 4076878d4..c52c8c540 100644 --- a/lgsm/config-default/config-lgsm/bb2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bb2server/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bbserver/_default.cfg b/lgsm/config-default/config-lgsm/bbserver/_default.cfg index 9932d4ffe..2cfabab9c 100644 --- a/lgsm/config-default/config-lgsm/bbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bbserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bdserver/_default.cfg b/lgsm/config-default/config-lgsm/bdserver/_default.cfg index 7fcdb4e1d..674fabb10 100644 --- a/lgsm/config-default/config-lgsm/bdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bdserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg index d99068522..5bd576b22 100644 --- a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bfvserver/_default.cfg b/lgsm/config-default/config-lgsm/bfvserver/_default.cfg index c6e4b8bb7..66c4ef8fc 100644 --- a/lgsm/config-default/config-lgsm/bfvserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bfvserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg index b17a16f4d..dfe04bcd8 100644 --- a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/boserver/_default.cfg b/lgsm/config-default/config-lgsm/boserver/_default.cfg index 1ede22c39..d6e2b4f4f 100644 --- a/lgsm/config-default/config-lgsm/boserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/boserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/bsserver/_default.cfg b/lgsm/config-default/config-lgsm/bsserver/_default.cfg index d01696170..b5f6017c0 100644 --- a/lgsm/config-default/config-lgsm/bsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bsserver/_default.cfg @@ -45,6 +45,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -77,7 +80,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/btlserver/_default.cfg b/lgsm/config-default/config-lgsm/btlserver/_default.cfg index aeaadea9b..b6cf3da34 100644 --- a/lgsm/config-default/config-lgsm/btlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/btlserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/btserver/_default.cfg b/lgsm/config-default/config-lgsm/btserver/_default.cfg index 636136580..c02b8c6ca 100644 --- a/lgsm/config-default/config-lgsm/btserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/btserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ccserver/_default.cfg b/lgsm/config-default/config-lgsm/ccserver/_default.cfg index 1b8617e11..a8cd9f6d2 100644 --- a/lgsm/config-default/config-lgsm/ccserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ccserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/cdserver/_default.cfg b/lgsm/config-default/config-lgsm/cdserver/_default.cfg index 69e4ee51e..28deeb6e6 100644 --- a/lgsm/config-default/config-lgsm/cdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cdserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ckserver/_default.cfg b/lgsm/config-default/config-lgsm/ckserver/_default.cfg index fe3d56f44..c662f3b04 100644 --- a/lgsm/config-default/config-lgsm/ckserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ckserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/cmwserver/_default.cfg b/lgsm/config-default/config-lgsm/cmwserver/_default.cfg index d0fe00b0d..29df71d95 100644 --- a/lgsm/config-default/config-lgsm/cmwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cmwserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/cod2server/_default.cfg b/lgsm/config-default/config-lgsm/cod2server/_default.cfg index 8f0d889d0..95b76ae1e 100644 --- a/lgsm/config-default/config-lgsm/cod2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod2server/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/cod4server/_default.cfg b/lgsm/config-default/config-lgsm/cod4server/_default.cfg index 6fce7fea3..a93237894 100644 --- a/lgsm/config-default/config-lgsm/cod4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod4server/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/codserver/_default.cfg b/lgsm/config-default/config-lgsm/codserver/_default.cfg index 9929f2626..6263d79b6 100644 --- a/lgsm/config-default/config-lgsm/codserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg index 1719eb8f7..b7c6036b9 100644 --- a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg index c7169f170..0820475f1 100644 --- a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/colserver/_default.cfg b/lgsm/config-default/config-lgsm/colserver/_default.cfg index 4d2f04cd2..63182f515 100644 --- a/lgsm/config-default/config-lgsm/colserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/colserver/_default.cfg @@ -29,6 +29,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -61,7 +64,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/csczserver/_default.cfg b/lgsm/config-default/config-lgsm/csczserver/_default.cfg index a3f49922b..11d0da197 100644 --- a/lgsm/config-default/config-lgsm/csczserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csczserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg index f9d0acf1a..5efdd4942 100644 --- a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg @@ -72,6 +72,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -104,7 +107,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/csserver/_default.cfg b/lgsm/config-default/config-lgsm/csserver/_default.cfg index 87a132f3d..2e53616bd 100644 --- a/lgsm/config-default/config-lgsm/csserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/cssserver/_default.cfg b/lgsm/config-default/config-lgsm/cssserver/_default.cfg index 612aeb0f1..1af41c5fe 100644 --- a/lgsm/config-default/config-lgsm/cssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cssserver/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ctserver/_default.cfg b/lgsm/config-default/config-lgsm/ctserver/_default.cfg index 2c31d5cc6..74bd230c7 100644 --- a/lgsm/config-default/config-lgsm/ctserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ctserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dabserver/_default.cfg b/lgsm/config-default/config-lgsm/dabserver/_default.cfg index 84ea667e4..62e3acf99 100644 --- a/lgsm/config-default/config-lgsm/dabserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dabserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dayzserver/_default.cfg b/lgsm/config-default/config-lgsm/dayzserver/_default.cfg index 01eb4509e..ed9e8783c 100644 --- a/lgsm/config-default/config-lgsm/dayzserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dayzserver/_default.cfg @@ -47,6 +47,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -79,7 +82,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg index f46fe5025..5f56a842c 100644 --- a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dodrserver/_default.cfg b/lgsm/config-default/config-lgsm/dodrserver/_default.cfg index d692fdfa7..555a1a007 100644 --- a/lgsm/config-default/config-lgsm/dodrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodrserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dodserver/_default.cfg b/lgsm/config-default/config-lgsm/dodserver/_default.cfg index b2940a658..61700d621 100644 --- a/lgsm/config-default/config-lgsm/dodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg index 9ff0cfa96..390f87b70 100644 --- a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/doiserver/_default.cfg b/lgsm/config-default/config-lgsm/doiserver/_default.cfg index 1580d58b2..6aa10ee9b 100644 --- a/lgsm/config-default/config-lgsm/doiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/doiserver/_default.cfg @@ -37,6 +37,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -69,7 +72,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dstserver/_default.cfg b/lgsm/config-default/config-lgsm/dstserver/_default.cfg index 4677162c3..d757ea732 100644 --- a/lgsm/config-default/config-lgsm/dstserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dstserver/_default.cfg @@ -38,6 +38,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -70,7 +73,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/dysserver/_default.cfg b/lgsm/config-default/config-lgsm/dysserver/_default.cfg index 907482a36..eb1861c7d 100644 --- a/lgsm/config-default/config-lgsm/dysserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dysserver/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ecoserver/_default.cfg b/lgsm/config-default/config-lgsm/ecoserver/_default.cfg index ae4bfa681..470b43d06 100644 --- a/lgsm/config-default/config-lgsm/ecoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ecoserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/emserver/_default.cfg b/lgsm/config-default/config-lgsm/emserver/_default.cfg index 33fb4f849..1610d0816 100644 --- a/lgsm/config-default/config-lgsm/emserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/emserver/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/etlserver/_default.cfg b/lgsm/config-default/config-lgsm/etlserver/_default.cfg index 034f29c5d..18d6d302f 100644 --- a/lgsm/config-default/config-lgsm/etlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/etlserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ets2server/_default.cfg b/lgsm/config-default/config-lgsm/ets2server/_default.cfg index 215ab2b41..24462bc45 100644 --- a/lgsm/config-default/config-lgsm/ets2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ets2server/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg index 6b03f9a30..d77284d5e 100644 --- a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/fofserver/_default.cfg b/lgsm/config-default/config-lgsm/fofserver/_default.cfg index 41dae637a..1f7ef0168 100644 --- a/lgsm/config-default/config-lgsm/fofserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fofserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg index b170c3436..869628e8c 100644 --- a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg @@ -48,6 +48,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -80,7 +83,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/hcuserver/_default.cfg b/lgsm/config-default/config-lgsm/hcuserver/_default.cfg index 00b0b30c7..225482c69 100644 --- a/lgsm/config-default/config-lgsm/hcuserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hcuserver/_default.cfg @@ -43,6 +43,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -75,7 +78,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg index 8bbf8fdec..cdbbfb168 100644 --- a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg index f78e1542b..f69d56c34 100644 --- a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg index fd854b0c2..0baf4f955 100644 --- a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/hwserver/_default.cfg b/lgsm/config-default/config-lgsm/hwserver/_default.cfg index 853a52078..ea18f00cf 100644 --- a/lgsm/config-default/config-lgsm/hwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hwserver/_default.cfg @@ -46,6 +46,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -78,7 +81,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/insserver/_default.cfg b/lgsm/config-default/config-lgsm/insserver/_default.cfg index 69d095881..b41fb2491 100644 --- a/lgsm/config-default/config-lgsm/insserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/insserver/_default.cfg @@ -42,6 +42,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -74,7 +77,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/inssserver/_default.cfg b/lgsm/config-default/config-lgsm/inssserver/_default.cfg index 117ddbff8..9c23bffa0 100644 --- a/lgsm/config-default/config-lgsm/inssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/inssserver/_default.cfg @@ -45,6 +45,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -77,7 +80,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/iosserver/_default.cfg b/lgsm/config-default/config-lgsm/iosserver/_default.cfg index 365a3dee2..bcc35e483 100644 --- a/lgsm/config-default/config-lgsm/iosserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/iosserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/jc2server/_default.cfg b/lgsm/config-default/config-lgsm/jc2server/_default.cfg index 69bc8018b..caa40d93a 100644 --- a/lgsm/config-default/config-lgsm/jc2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc2server/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/jc3server/_default.cfg b/lgsm/config-default/config-lgsm/jc3server/_default.cfg index 872541961..9c902f476 100644 --- a/lgsm/config-default/config-lgsm/jc3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc3server/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/jk2server/_default.cfg b/lgsm/config-default/config-lgsm/jk2server/_default.cfg index 4313daa58..4d49e4e7e 100644 --- a/lgsm/config-default/config-lgsm/jk2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jk2server/_default.cfg @@ -37,6 +37,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -69,7 +72,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/kf2server/_default.cfg b/lgsm/config-default/config-lgsm/kf2server/_default.cfg index 88fe360be..9ca4a096c 100644 --- a/lgsm/config-default/config-lgsm/kf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/kf2server/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/kfserver/_default.cfg b/lgsm/config-default/config-lgsm/kfserver/_default.cfg index 92cfd258c..4aa128830 100644 --- a/lgsm/config-default/config-lgsm/kfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/kfserver/_default.cfg @@ -40,6 +40,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -72,7 +75,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg index 96c2cc5bc..676a72360 100644 --- a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg index 2b5a64be6..cf1f641ec 100644 --- a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/loserver/_default.cfg b/lgsm/config-default/config-lgsm/loserver/_default.cfg index cc2f7b89a..9a2e90a47 100644 --- a/lgsm/config-default/config-lgsm/loserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/loserver/_default.cfg @@ -39,6 +39,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -71,7 +74,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/mcbserver/_default.cfg b/lgsm/config-default/config-lgsm/mcbserver/_default.cfg index c4d9d5455..586575d10 100644 --- a/lgsm/config-default/config-lgsm/mcbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcbserver/_default.cfg @@ -31,6 +31,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -63,7 +66,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/mcserver/_default.cfg b/lgsm/config-default/config-lgsm/mcserver/_default.cfg index cd2a80849..b6f923ade 100644 --- a/lgsm/config-default/config-lgsm/mcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcserver/_default.cfg @@ -37,6 +37,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -69,7 +72,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/mhserver/_default.cfg b/lgsm/config-default/config-lgsm/mhserver/_default.cfg index 4be0fab64..846aed06e 100644 --- a/lgsm/config-default/config-lgsm/mhserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mhserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg b/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg index cbfbcfb92..a457832cf 100644 --- a/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mohaaserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/momserver/_default.cfg b/lgsm/config-default/config-lgsm/momserver/_default.cfg index 670e7b3a7..c075067f5 100644 --- a/lgsm/config-default/config-lgsm/momserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/momserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg index 3af42ea2b..ff40ffa67 100644 --- a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg @@ -31,6 +31,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -63,7 +66,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ndserver/_default.cfg b/lgsm/config-default/config-lgsm/ndserver/_default.cfg index de3a3aaec..fcf1caffb 100644 --- a/lgsm/config-default/config-lgsm/ndserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ndserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/necserver/_default.cfg b/lgsm/config-default/config-lgsm/necserver/_default.cfg index 4857107c8..993572b34 100644 --- a/lgsm/config-default/config-lgsm/necserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/necserver/_default.cfg @@ -31,6 +31,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -63,7 +66,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg index e3b56f545..f3b740a3b 100644 --- a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg index 2ca53a335..fb4686c1e 100644 --- a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg @@ -43,6 +43,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -75,7 +78,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ns2server/_default.cfg b/lgsm/config-default/config-lgsm/ns2server/_default.cfg index 3ee3a0514..8cca4da81 100644 --- a/lgsm/config-default/config-lgsm/ns2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2server/_default.cfg @@ -43,6 +43,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -75,7 +78,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/nsserver/_default.cfg b/lgsm/config-default/config-lgsm/nsserver/_default.cfg index 7880222fa..c207a0a10 100644 --- a/lgsm/config-default/config-lgsm/nsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nsserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ohdserver/_default.cfg b/lgsm/config-default/config-lgsm/ohdserver/_default.cfg index 25a418edc..58a42d3b3 100644 --- a/lgsm/config-default/config-lgsm/ohdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ohdserver/_default.cfg @@ -38,6 +38,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -70,7 +73,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/onsetserver/_default.cfg b/lgsm/config-default/config-lgsm/onsetserver/_default.cfg index b25cfb60c..b0f0d00bc 100644 --- a/lgsm/config-default/config-lgsm/onsetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/onsetserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/opforserver/_default.cfg b/lgsm/config-default/config-lgsm/opforserver/_default.cfg index a0785a4b6..8ba202b14 100644 --- a/lgsm/config-default/config-lgsm/opforserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/opforserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/pc2server/_default.cfg b/lgsm/config-default/config-lgsm/pc2server/_default.cfg index 1b9a6e6f1..b55447802 100644 --- a/lgsm/config-default/config-lgsm/pc2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/pc2server/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/pcserver/_default.cfg b/lgsm/config-default/config-lgsm/pcserver/_default.cfg index 1d4b15394..2c1514488 100644 --- a/lgsm/config-default/config-lgsm/pcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pcserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/pmcserver/_default.cfg b/lgsm/config-default/config-lgsm/pmcserver/_default.cfg index 430daefbe..57838ad98 100644 --- a/lgsm/config-default/config-lgsm/pmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pmcserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/psserver/_default.cfg b/lgsm/config-default/config-lgsm/psserver/_default.cfg index 9d8fa9383..143a3349d 100644 --- a/lgsm/config-default/config-lgsm/psserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/psserver/_default.cfg @@ -37,6 +37,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -69,7 +72,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg index 7f8adbf5f..0565f806a 100644 --- a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/pvrserver/_default.cfg b/lgsm/config-default/config-lgsm/pvrserver/_default.cfg index 12e089fe0..c84064900 100644 --- a/lgsm/config-default/config-lgsm/pvrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pvrserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/pzserver/_default.cfg b/lgsm/config-default/config-lgsm/pzserver/_default.cfg index a3a5ac340..5a34c04bc 100644 --- a/lgsm/config-default/config-lgsm/pzserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pzserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/q2server/_default.cfg b/lgsm/config-default/config-lgsm/q2server/_default.cfg index 0d899df65..b92c36c38 100644 --- a/lgsm/config-default/config-lgsm/q2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q2server/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/q3server/_default.cfg b/lgsm/config-default/config-lgsm/q3server/_default.cfg index e53fb4285..534bf2429 100644 --- a/lgsm/config-default/config-lgsm/q3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q3server/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/qlserver/_default.cfg b/lgsm/config-default/config-lgsm/qlserver/_default.cfg index 3f28329ac..5d5614a02 100644 --- a/lgsm/config-default/config-lgsm/qlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qlserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/qwserver/_default.cfg b/lgsm/config-default/config-lgsm/qwserver/_default.cfg index 95dea75f8..63d554f27 100644 --- a/lgsm/config-default/config-lgsm/qwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qwserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg index 419825ec1..36845b0a2 100644 --- a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/roserver/_default.cfg b/lgsm/config-default/config-lgsm/roserver/_default.cfg index 4617289fd..1a95add2a 100644 --- a/lgsm/config-default/config-lgsm/roserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/roserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg b/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg index 159b8dfd4..d62dcb048 100644 --- a/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/rustserver/_default.cfg b/lgsm/config-default/config-lgsm/rustserver/_default.cfg index 9a4bfe147..e04577792 100644 --- a/lgsm/config-default/config-lgsm/rustserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rustserver/_default.cfg @@ -47,6 +47,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -79,7 +82,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/rwserver/_default.cfg b/lgsm/config-default/config-lgsm/rwserver/_default.cfg index c714045ca..9a798c66c 100644 --- a/lgsm/config-default/config-lgsm/rwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rwserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sampserver/_default.cfg b/lgsm/config-default/config-lgsm/sampserver/_default.cfg index 448f8c20f..1dbeaaccf 100644 --- a/lgsm/config-default/config-lgsm/sampserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sampserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg index e5fe5b5d8..a5b1aa9a8 100644 --- a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sbserver/_default.cfg b/lgsm/config-default/config-lgsm/sbserver/_default.cfg index 79e447454..6032abe06 100644 --- a/lgsm/config-default/config-lgsm/sbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/scpslserver/_default.cfg b/lgsm/config-default/config-lgsm/scpslserver/_default.cfg index ad2e2f9d5..f00574bd8 100644 --- a/lgsm/config-default/config-lgsm/scpslserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/scpslserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/scpslsmserver/_default.cfg b/lgsm/config-default/config-lgsm/scpslsmserver/_default.cfg index 6c7a7b3ca..bb26d6ca6 100644 --- a/lgsm/config-default/config-lgsm/scpslsmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/scpslsmserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg index b2c8e00f0..61cd85a8a 100644 --- a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg @@ -31,6 +31,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -63,7 +66,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sfcserver/_default.cfg b/lgsm/config-default/config-lgsm/sfcserver/_default.cfg index b566de690..40c5a0c18 100644 --- a/lgsm/config-default/config-lgsm/sfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sfcserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sfserver/_default.cfg b/lgsm/config-default/config-lgsm/sfserver/_default.cfg index 46d0ebf88..4beb002f6 100644 --- a/lgsm/config-default/config-lgsm/sfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sfserver/_default.cfg @@ -34,6 +34,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -66,7 +69,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/sof2server/_default.cfg b/lgsm/config-default/config-lgsm/sof2server/_default.cfg index 6169950c0..59fb8373b 100644 --- a/lgsm/config-default/config-lgsm/sof2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/sof2server/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/solserver/_default.cfg b/lgsm/config-default/config-lgsm/solserver/_default.cfg index 671dcd429..601018529 100644 --- a/lgsm/config-default/config-lgsm/solserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/solserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/squadserver/_default.cfg b/lgsm/config-default/config-lgsm/squadserver/_default.cfg index dbaa3c736..424d81f32 100644 --- a/lgsm/config-default/config-lgsm/squadserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/squadserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/stnserver/_default.cfg b/lgsm/config-default/config-lgsm/stnserver/_default.cfg index 3e5f97c7b..7bf2d7234 100644 --- a/lgsm/config-default/config-lgsm/stnserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/stnserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/stserver/_default.cfg b/lgsm/config-default/config-lgsm/stserver/_default.cfg index 980c4e045..e245c57c0 100644 --- a/lgsm/config-default/config-lgsm/stserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/stserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/svenserver/_default.cfg b/lgsm/config-default/config-lgsm/svenserver/_default.cfg index 7f47091e4..11822d1f1 100644 --- a/lgsm/config-default/config-lgsm/svenserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/svenserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg index 562b0fd9b..0fc6a06b2 100644 --- a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/tf2server/_default.cfg b/lgsm/config-default/config-lgsm/tf2server/_default.cfg index d7d53928b..7d3164e0e 100644 --- a/lgsm/config-default/config-lgsm/tf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/tf2server/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg index 6709767a9..3334509a1 100644 --- a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/tiserver/_default.cfg b/lgsm/config-default/config-lgsm/tiserver/_default.cfg index 994a2574a..dd3e1dd90 100644 --- a/lgsm/config-default/config-lgsm/tiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tiserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ts3server/_default.cfg b/lgsm/config-default/config-lgsm/ts3server/_default.cfg index dc3e7a3fa..36c0d2bae 100644 --- a/lgsm/config-default/config-lgsm/ts3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ts3server/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/tsserver/_default.cfg b/lgsm/config-default/config-lgsm/tsserver/_default.cfg index c9ea3b381..05189f90b 100644 --- a/lgsm/config-default/config-lgsm/tsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tsserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/tuserver/_default.cfg b/lgsm/config-default/config-lgsm/tuserver/_default.cfg index 551ce95f4..086968e98 100644 --- a/lgsm/config-default/config-lgsm/tuserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tuserver/_default.cfg @@ -38,6 +38,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -70,7 +73,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg index d7e84704a..6f9c2adb6 100644 --- a/lgsm/config-default/config-lgsm/twserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/twserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/untserver/_default.cfg b/lgsm/config-default/config-lgsm/untserver/_default.cfg index b250d3284..e76aefba4 100644 --- a/lgsm/config-default/config-lgsm/untserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/untserver/_default.cfg @@ -42,6 +42,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -74,7 +77,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg index dc5d39fd7..709b9855a 100644 --- a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ut3server/_default.cfg b/lgsm/config-default/config-lgsm/ut3server/_default.cfg index 412422257..cdadca663 100644 --- a/lgsm/config-default/config-lgsm/ut3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut3server/_default.cfg @@ -48,6 +48,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -80,7 +83,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/ut99server/_default.cfg b/lgsm/config-default/config-lgsm/ut99server/_default.cfg index 6df4ea539..f4a3d8ecf 100644 --- a/lgsm/config-default/config-lgsm/ut99server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut99server/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/utserver/_default.cfg b/lgsm/config-default/config-lgsm/utserver/_default.cfg index 1ae90d9bb..0ffdd821f 100644 --- a/lgsm/config-default/config-lgsm/utserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/utserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/vhserver/_default.cfg b/lgsm/config-default/config-lgsm/vhserver/_default.cfg index ce90a2b07..084adf50c 100644 --- a/lgsm/config-default/config-lgsm/vhserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vhserver/_default.cfg @@ -45,6 +45,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -77,7 +80,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/vintsserver/_default.cfg b/lgsm/config-default/config-lgsm/vintsserver/_default.cfg index 75288012e..1b64ae29d 100644 --- a/lgsm/config-default/config-lgsm/vintsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vintsserver/_default.cfg @@ -32,6 +32,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -64,7 +67,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/vpmcserver/_default.cfg b/lgsm/config-default/config-lgsm/vpmcserver/_default.cfg index 636f23d9a..09d6bf93f 100644 --- a/lgsm/config-default/config-lgsm/vpmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vpmcserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/vsserver/_default.cfg b/lgsm/config-default/config-lgsm/vsserver/_default.cfg index 257c98963..0195393fd 100644 --- a/lgsm/config-default/config-lgsm/vsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vsserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/wetserver/_default.cfg b/lgsm/config-default/config-lgsm/wetserver/_default.cfg index 153a2b1c5..4c3738909 100644 --- a/lgsm/config-default/config-lgsm/wetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wetserver/_default.cfg @@ -28,6 +28,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -60,7 +63,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/wfserver/_default.cfg b/lgsm/config-default/config-lgsm/wfserver/_default.cfg index 80fbe2037..80ff4ba96 100644 --- a/lgsm/config-default/config-lgsm/wfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wfserver/_default.cfg @@ -33,6 +33,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -65,7 +68,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/wmcserver/_default.cfg b/lgsm/config-default/config-lgsm/wmcserver/_default.cfg index 82a398363..f38976d6e 100644 --- a/lgsm/config-default/config-lgsm/wmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wmcserver/_default.cfg @@ -35,6 +35,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -67,7 +70,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/wurmserver/_default.cfg b/lgsm/config-default/config-lgsm/wurmserver/_default.cfg index e4ef942d5..5405be85a 100644 --- a/lgsm/config-default/config-lgsm/wurmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wurmserver/_default.cfg @@ -72,6 +72,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -104,7 +107,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/zmrserver/_default.cfg b/lgsm/config-default/config-lgsm/zmrserver/_default.cfg index 4de16fd16..1bcd5d4a7 100644 --- a/lgsm/config-default/config-lgsm/zmrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/zmrserver/_default.cfg @@ -36,6 +36,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -68,7 +71,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/config-default/config-lgsm/zpsserver/_default.cfg b/lgsm/config-default/config-lgsm/zpsserver/_default.cfg index 0cb900501..f4497786b 100644 --- a/lgsm/config-default/config-lgsm/zpsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/zpsserver/_default.cfg @@ -41,6 +41,9 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" +# Alert on Start/Stop/Restart +statusalert="off" + # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" discordwebhook="webhook" @@ -73,7 +76,6 @@ pushoveruserkey="userkey" # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" -rocketchattoken="" # Slack Alerts | https://docs.linuxgsm.com/alerts/slack slackalert="off" diff --git a/lgsm/data/gameicons/ac-icon.png b/lgsm/data/gameicons/ac-icon.png new file mode 100644 index 000000000..fcf39841e Binary files /dev/null and b/lgsm/data/gameicons/ac-icon.png differ diff --git a/lgsm/data/gameicons/ahl-icon.png b/lgsm/data/gameicons/ahl-icon.png new file mode 100644 index 000000000..f4e5cb535 Binary files /dev/null and b/lgsm/data/gameicons/ahl-icon.png differ diff --git a/lgsm/data/gameicons/ahl2-icon.png b/lgsm/data/gameicons/ahl2-icon.png new file mode 100644 index 000000000..04d35d040 Binary files /dev/null and b/lgsm/data/gameicons/ahl2-icon.png differ diff --git a/lgsm/data/gameicons/ark-icon.png b/lgsm/data/gameicons/ark-icon.png new file mode 100644 index 000000000..096e7cfbf Binary files /dev/null and b/lgsm/data/gameicons/ark-icon.png differ diff --git a/lgsm/data/gameicons/arma3-icon.png b/lgsm/data/gameicons/arma3-icon.png new file mode 100644 index 000000000..0bb0bc64c Binary files /dev/null and b/lgsm/data/gameicons/arma3-icon.png differ diff --git a/lgsm/data/gameicons/armar-icon.png b/lgsm/data/gameicons/armar-icon.png new file mode 100644 index 000000000..ea79ba088 Binary files /dev/null and b/lgsm/data/gameicons/armar-icon.png differ diff --git a/lgsm/data/gameicons/ats-icon.png b/lgsm/data/gameicons/ats-icon.png new file mode 100644 index 000000000..6495b1073 Binary files /dev/null and b/lgsm/data/gameicons/ats-icon.png differ diff --git a/lgsm/data/gameicons/av-icon.png b/lgsm/data/gameicons/av-icon.png new file mode 100644 index 000000000..4bce455ad Binary files /dev/null and b/lgsm/data/gameicons/av-icon.png differ diff --git a/lgsm/data/gameicons/bb-icon.png b/lgsm/data/gameicons/bb-icon.png new file mode 100644 index 000000000..2c6b7ec88 Binary files /dev/null and b/lgsm/data/gameicons/bb-icon.png differ diff --git a/lgsm/data/gameicons/bb2-icon.png b/lgsm/data/gameicons/bb2-icon.png new file mode 100644 index 000000000..56716418c Binary files /dev/null and b/lgsm/data/gameicons/bb2-icon.png differ diff --git a/lgsm/data/gameicons/bd-icon.png b/lgsm/data/gameicons/bd-icon.png new file mode 100644 index 000000000..93ba9db92 Binary files /dev/null and b/lgsm/data/gameicons/bd-icon.png differ diff --git a/lgsm/data/gameicons/bf1942-icon.png b/lgsm/data/gameicons/bf1942-icon.png new file mode 100644 index 000000000..653ce6a8f Binary files /dev/null and b/lgsm/data/gameicons/bf1942-icon.png differ diff --git a/lgsm/data/gameicons/bfv-icon.png b/lgsm/data/gameicons/bfv-icon.png new file mode 100644 index 000000000..70cae02ee Binary files /dev/null and b/lgsm/data/gameicons/bfv-icon.png differ diff --git a/lgsm/data/gameicons/bmdm-icon.png b/lgsm/data/gameicons/bmdm-icon.png new file mode 100644 index 000000000..4ff37301e Binary files /dev/null and b/lgsm/data/gameicons/bmdm-icon.png differ diff --git a/lgsm/data/gameicons/bo-icon.png b/lgsm/data/gameicons/bo-icon.png new file mode 100644 index 000000000..53f5577d8 Binary files /dev/null and b/lgsm/data/gameicons/bo-icon.png differ diff --git a/lgsm/data/gameicons/bs-icon.png b/lgsm/data/gameicons/bs-icon.png new file mode 100644 index 000000000..712f8d430 Binary files /dev/null and b/lgsm/data/gameicons/bs-icon.png differ diff --git a/lgsm/data/gameicons/bt-icon.png b/lgsm/data/gameicons/bt-icon.png new file mode 100644 index 000000000..d262bf39f Binary files /dev/null and b/lgsm/data/gameicons/bt-icon.png differ diff --git a/lgsm/data/gameicons/btl-icon.png b/lgsm/data/gameicons/btl-icon.png new file mode 100644 index 000000000..615ba7cb9 Binary files /dev/null and b/lgsm/data/gameicons/btl-icon.png differ diff --git a/lgsm/data/gameicons/cc-icon.png b/lgsm/data/gameicons/cc-icon.png new file mode 100644 index 000000000..6249a0f89 Binary files /dev/null and b/lgsm/data/gameicons/cc-icon.png differ diff --git a/lgsm/data/gameicons/cd-icon.png b/lgsm/data/gameicons/cd-icon.png new file mode 100644 index 000000000..dddd49f7c Binary files /dev/null and b/lgsm/data/gameicons/cd-icon.png differ diff --git a/lgsm/data/gameicons/ck-icon.png b/lgsm/data/gameicons/ck-icon.png new file mode 100644 index 000000000..a22d81480 Binary files /dev/null and b/lgsm/data/gameicons/ck-icon.png differ diff --git a/lgsm/data/gameicons/cmw-icon.png b/lgsm/data/gameicons/cmw-icon.png new file mode 100644 index 000000000..627490866 Binary files /dev/null and b/lgsm/data/gameicons/cmw-icon.png differ diff --git a/lgsm/data/gameicons/cod-icon.png b/lgsm/data/gameicons/cod-icon.png new file mode 100644 index 000000000..7af55bf2c Binary files /dev/null and b/lgsm/data/gameicons/cod-icon.png differ diff --git a/lgsm/data/gameicons/cod2-icon.png b/lgsm/data/gameicons/cod2-icon.png new file mode 100644 index 000000000..dfd6ee7de Binary files /dev/null and b/lgsm/data/gameicons/cod2-icon.png differ diff --git a/lgsm/data/gameicons/cod4-icon.png b/lgsm/data/gameicons/cod4-icon.png new file mode 100644 index 000000000..25808b182 Binary files /dev/null and b/lgsm/data/gameicons/cod4-icon.png differ diff --git a/lgsm/data/gameicons/coduo-icon.png b/lgsm/data/gameicons/coduo-icon.png new file mode 100644 index 000000000..c8151fee2 Binary files /dev/null and b/lgsm/data/gameicons/coduo-icon.png differ diff --git a/lgsm/data/gameicons/codwaw-icon.png b/lgsm/data/gameicons/codwaw-icon.png new file mode 100644 index 000000000..10f06601d Binary files /dev/null and b/lgsm/data/gameicons/codwaw-icon.png differ diff --git a/lgsm/data/gameicons/col-icon.png b/lgsm/data/gameicons/col-icon.png new file mode 100644 index 000000000..fbd91f9ef Binary files /dev/null and b/lgsm/data/gameicons/col-icon.png differ diff --git a/lgsm/data/gameicons/cs-icon.png b/lgsm/data/gameicons/cs-icon.png new file mode 100644 index 000000000..5e61337e0 Binary files /dev/null and b/lgsm/data/gameicons/cs-icon.png differ diff --git a/lgsm/data/gameicons/cscz-icon.png b/lgsm/data/gameicons/cscz-icon.png new file mode 100644 index 000000000..490174b30 Binary files /dev/null and b/lgsm/data/gameicons/cscz-icon.png differ diff --git a/lgsm/data/gameicons/csgo-icon.png b/lgsm/data/gameicons/csgo-icon.png new file mode 100644 index 000000000..b9ed6ca4d Binary files /dev/null and b/lgsm/data/gameicons/csgo-icon.png differ diff --git a/lgsm/data/gameicons/css-icon.png b/lgsm/data/gameicons/css-icon.png new file mode 100644 index 000000000..e0f099f8a Binary files /dev/null and b/lgsm/data/gameicons/css-icon.png differ diff --git a/lgsm/data/gameicons/ct-icon.png b/lgsm/data/gameicons/ct-icon.png new file mode 100644 index 000000000..5fb048b56 Binary files /dev/null and b/lgsm/data/gameicons/ct-icon.png differ diff --git a/lgsm/data/gameicons/dab-icon.png b/lgsm/data/gameicons/dab-icon.png new file mode 100644 index 000000000..fac2aaf24 Binary files /dev/null and b/lgsm/data/gameicons/dab-icon.png differ diff --git a/lgsm/data/gameicons/dayz-icon.png b/lgsm/data/gameicons/dayz-icon.png new file mode 100644 index 000000000..de66c6112 Binary files /dev/null and b/lgsm/data/gameicons/dayz-icon.png differ diff --git a/lgsm/data/gameicons/dmc-icon.png b/lgsm/data/gameicons/dmc-icon.png new file mode 100644 index 000000000..0d3dad709 Binary files /dev/null and b/lgsm/data/gameicons/dmc-icon.png differ diff --git a/lgsm/data/gameicons/dod-icon.png b/lgsm/data/gameicons/dod-icon.png new file mode 100644 index 000000000..49e963392 Binary files /dev/null and b/lgsm/data/gameicons/dod-icon.png differ diff --git a/lgsm/data/gameicons/dodr-icon.png b/lgsm/data/gameicons/dodr-icon.png new file mode 100644 index 000000000..db4313719 Binary files /dev/null and b/lgsm/data/gameicons/dodr-icon.png differ diff --git a/lgsm/data/gameicons/dods-icon.png b/lgsm/data/gameicons/dods-icon.png new file mode 100644 index 000000000..455a25b8c Binary files /dev/null and b/lgsm/data/gameicons/dods-icon.png differ diff --git a/lgsm/data/gameicons/doi-icon.png b/lgsm/data/gameicons/doi-icon.png new file mode 100644 index 000000000..bd1329216 Binary files /dev/null and b/lgsm/data/gameicons/doi-icon.png differ diff --git a/lgsm/data/gameicons/dst-icon.png b/lgsm/data/gameicons/dst-icon.png new file mode 100644 index 000000000..25b41366c Binary files /dev/null and b/lgsm/data/gameicons/dst-icon.png differ diff --git a/lgsm/data/gameicons/dys-icon.png b/lgsm/data/gameicons/dys-icon.png new file mode 100644 index 000000000..bab210283 Binary files /dev/null and b/lgsm/data/gameicons/dys-icon.png differ diff --git a/lgsm/data/gameicons/eco-icon.png b/lgsm/data/gameicons/eco-icon.png new file mode 100644 index 000000000..c3f995e69 Binary files /dev/null and b/lgsm/data/gameicons/eco-icon.png differ diff --git a/lgsm/data/gameicons/em-icon.png b/lgsm/data/gameicons/em-icon.png new file mode 100644 index 000000000..2c98840b2 Binary files /dev/null and b/lgsm/data/gameicons/em-icon.png differ diff --git a/lgsm/data/gameicons/etl-icon.png b/lgsm/data/gameicons/etl-icon.png new file mode 100644 index 000000000..d81c43fb5 Binary files /dev/null and b/lgsm/data/gameicons/etl-icon.png differ diff --git a/lgsm/data/gameicons/ets2-icon.png b/lgsm/data/gameicons/ets2-icon.png new file mode 100644 index 000000000..11779d255 Binary files /dev/null and b/lgsm/data/gameicons/ets2-icon.png differ diff --git a/lgsm/data/gameicons/fctr-icon.png b/lgsm/data/gameicons/fctr-icon.png new file mode 100644 index 000000000..421235343 Binary files /dev/null and b/lgsm/data/gameicons/fctr-icon.png differ diff --git a/lgsm/data/gameicons/fof-icon.png b/lgsm/data/gameicons/fof-icon.png new file mode 100644 index 000000000..c9e17c4ff Binary files /dev/null and b/lgsm/data/gameicons/fof-icon.png differ diff --git a/lgsm/data/gameicons/gmod-icon.png b/lgsm/data/gameicons/gmod-icon.png new file mode 100644 index 000000000..00ba856c8 Binary files /dev/null and b/lgsm/data/gameicons/gmod-icon.png differ diff --git a/lgsm/data/gameicons/hcu-icon.png b/lgsm/data/gameicons/hcu-icon.png new file mode 100644 index 000000000..f265a5853 Binary files /dev/null and b/lgsm/data/gameicons/hcu-icon.png differ diff --git a/lgsm/data/gameicons/hl2dm-icon.png b/lgsm/data/gameicons/hl2dm-icon.png new file mode 100644 index 000000000..5bf5720ac Binary files /dev/null and b/lgsm/data/gameicons/hl2dm-icon.png differ diff --git a/lgsm/data/gameicons/hldm-icon.png b/lgsm/data/gameicons/hldm-icon.png new file mode 100644 index 000000000..2a9779640 Binary files /dev/null and b/lgsm/data/gameicons/hldm-icon.png differ diff --git a/lgsm/data/gameicons/hldms-icon.png b/lgsm/data/gameicons/hldms-icon.png new file mode 100644 index 000000000..37e2a20b8 Binary files /dev/null and b/lgsm/data/gameicons/hldms-icon.png differ diff --git a/lgsm/data/gameicons/hw-icon.png b/lgsm/data/gameicons/hw-icon.png new file mode 100644 index 000000000..0894332e3 Binary files /dev/null and b/lgsm/data/gameicons/hw-icon.png differ diff --git a/lgsm/data/gameicons/ins-icon.png b/lgsm/data/gameicons/ins-icon.png new file mode 100644 index 000000000..30cfaaf35 Binary files /dev/null and b/lgsm/data/gameicons/ins-icon.png differ diff --git a/lgsm/data/gameicons/inss-icon.png b/lgsm/data/gameicons/inss-icon.png new file mode 100644 index 000000000..0109dd07c Binary files /dev/null and b/lgsm/data/gameicons/inss-icon.png differ diff --git a/lgsm/data/gameicons/ios-icon.png b/lgsm/data/gameicons/ios-icon.png new file mode 100644 index 000000000..d53577676 Binary files /dev/null and b/lgsm/data/gameicons/ios-icon.png differ diff --git a/lgsm/data/gameicons/jc2-icon.png b/lgsm/data/gameicons/jc2-icon.png new file mode 100644 index 000000000..782edabc3 Binary files /dev/null and b/lgsm/data/gameicons/jc2-icon.png differ diff --git a/lgsm/data/gameicons/jc3-icon.png b/lgsm/data/gameicons/jc3-icon.png new file mode 100644 index 000000000..3c1cfff29 Binary files /dev/null and b/lgsm/data/gameicons/jc3-icon.png differ diff --git a/lgsm/data/gameicons/jk2-icon.png b/lgsm/data/gameicons/jk2-icon.png new file mode 100644 index 000000000..8c480a205 Binary files /dev/null and b/lgsm/data/gameicons/jk2-icon.png differ diff --git a/lgsm/data/gameicons/kf-icon.png b/lgsm/data/gameicons/kf-icon.png new file mode 100644 index 000000000..516bf8d6f Binary files /dev/null and b/lgsm/data/gameicons/kf-icon.png differ diff --git a/lgsm/data/gameicons/kf2-icon.png b/lgsm/data/gameicons/kf2-icon.png new file mode 100644 index 000000000..5e3a57c6e Binary files /dev/null and b/lgsm/data/gameicons/kf2-icon.png differ diff --git a/lgsm/data/gameicons/l4d-icon.png b/lgsm/data/gameicons/l4d-icon.png new file mode 100644 index 000000000..319f644f8 Binary files /dev/null and b/lgsm/data/gameicons/l4d-icon.png differ diff --git a/lgsm/data/gameicons/l4d2-icon.png b/lgsm/data/gameicons/l4d2-icon.png new file mode 100644 index 000000000..9a9a3d68b Binary files /dev/null and b/lgsm/data/gameicons/l4d2-icon.png differ diff --git a/lgsm/data/gameicons/lo-icon.png b/lgsm/data/gameicons/lo-icon.png new file mode 100644 index 000000000..17aa10b31 Binary files /dev/null and b/lgsm/data/gameicons/lo-icon.png differ diff --git a/lgsm/data/gameicons/mc-icon.png b/lgsm/data/gameicons/mc-icon.png new file mode 100644 index 000000000..ad6904d9c Binary files /dev/null and b/lgsm/data/gameicons/mc-icon.png differ diff --git a/lgsm/data/gameicons/mcb-icon.png b/lgsm/data/gameicons/mcb-icon.png new file mode 100644 index 000000000..963422030 Binary files /dev/null and b/lgsm/data/gameicons/mcb-icon.png differ diff --git a/lgsm/data/gameicons/mh-icon.png b/lgsm/data/gameicons/mh-icon.png new file mode 100644 index 000000000..1f1621f15 Binary files /dev/null and b/lgsm/data/gameicons/mh-icon.png differ diff --git a/lgsm/data/gameicons/mohaa-icon.png b/lgsm/data/gameicons/mohaa-icon.png new file mode 100644 index 000000000..0acd3dcf3 Binary files /dev/null and b/lgsm/data/gameicons/mohaa-icon.png differ diff --git a/lgsm/data/gameicons/mom-icon.png b/lgsm/data/gameicons/mom-icon.png new file mode 100644 index 000000000..317b6010a Binary files /dev/null and b/lgsm/data/gameicons/mom-icon.png differ diff --git a/lgsm/data/gameicons/mta-icon.png b/lgsm/data/gameicons/mta-icon.png new file mode 100644 index 000000000..25f89c9d8 Binary files /dev/null and b/lgsm/data/gameicons/mta-icon.png differ diff --git a/lgsm/data/gameicons/nd-icon.png b/lgsm/data/gameicons/nd-icon.png new file mode 100644 index 000000000..dbc6a6891 Binary files /dev/null and b/lgsm/data/gameicons/nd-icon.png differ diff --git a/lgsm/data/gameicons/nec-icon.png b/lgsm/data/gameicons/nec-icon.png new file mode 100644 index 000000000..27ba109ea Binary files /dev/null and b/lgsm/data/gameicons/nec-icon.png differ diff --git a/lgsm/data/gameicons/nmrih-icon.png b/lgsm/data/gameicons/nmrih-icon.png new file mode 100644 index 000000000..02631268f Binary files /dev/null and b/lgsm/data/gameicons/nmrih-icon.png differ diff --git a/lgsm/data/gameicons/ns-icon.png b/lgsm/data/gameicons/ns-icon.png new file mode 100644 index 000000000..bb59c4a0e Binary files /dev/null and b/lgsm/data/gameicons/ns-icon.png differ diff --git a/lgsm/data/gameicons/ns2-icon.png b/lgsm/data/gameicons/ns2-icon.png new file mode 100644 index 000000000..4894b0fa4 Binary files /dev/null and b/lgsm/data/gameicons/ns2-icon.png differ diff --git a/lgsm/data/gameicons/ns2c-icon.png b/lgsm/data/gameicons/ns2c-icon.png new file mode 100644 index 000000000..c519b771d Binary files /dev/null and b/lgsm/data/gameicons/ns2c-icon.png differ diff --git a/lgsm/data/gameicons/ohd-icon.png b/lgsm/data/gameicons/ohd-icon.png new file mode 100644 index 000000000..85ccded14 Binary files /dev/null and b/lgsm/data/gameicons/ohd-icon.png differ diff --git a/lgsm/data/gameicons/onset-icon.png b/lgsm/data/gameicons/onset-icon.png new file mode 100644 index 000000000..598455658 Binary files /dev/null and b/lgsm/data/gameicons/onset-icon.png differ diff --git a/lgsm/data/gameicons/opfor-icon.png b/lgsm/data/gameicons/opfor-icon.png new file mode 100644 index 000000000..3ff940ea1 Binary files /dev/null and b/lgsm/data/gameicons/opfor-icon.png differ diff --git a/lgsm/data/gameicons/pc-icon.png b/lgsm/data/gameicons/pc-icon.png new file mode 100644 index 000000000..f115231dd Binary files /dev/null and b/lgsm/data/gameicons/pc-icon.png differ diff --git a/lgsm/data/gameicons/pc2-icon.png b/lgsm/data/gameicons/pc2-icon.png new file mode 100644 index 000000000..8a20b75c8 Binary files /dev/null and b/lgsm/data/gameicons/pc2-icon.png differ diff --git a/lgsm/data/gameicons/pmc-icon.png b/lgsm/data/gameicons/pmc-icon.png new file mode 100644 index 000000000..c58cb7aed Binary files /dev/null and b/lgsm/data/gameicons/pmc-icon.png differ diff --git a/lgsm/data/gameicons/ps-icon.png b/lgsm/data/gameicons/ps-icon.png new file mode 100644 index 000000000..afe81e823 Binary files /dev/null and b/lgsm/data/gameicons/ps-icon.png differ diff --git a/lgsm/data/gameicons/pvkii-icon.png b/lgsm/data/gameicons/pvkii-icon.png new file mode 100644 index 000000000..bf518f6c8 Binary files /dev/null and b/lgsm/data/gameicons/pvkii-icon.png differ diff --git a/lgsm/data/gameicons/pvr-icon.png b/lgsm/data/gameicons/pvr-icon.png new file mode 100644 index 000000000..f471bd5d0 Binary files /dev/null and b/lgsm/data/gameicons/pvr-icon.png differ diff --git a/lgsm/data/gameicons/pz-icon.png b/lgsm/data/gameicons/pz-icon.png new file mode 100644 index 000000000..63218d100 Binary files /dev/null and b/lgsm/data/gameicons/pz-icon.png differ diff --git a/lgsm/data/gameicons/q2-icon.png b/lgsm/data/gameicons/q2-icon.png new file mode 100644 index 000000000..e57d4917d Binary files /dev/null and b/lgsm/data/gameicons/q2-icon.png differ diff --git a/lgsm/data/gameicons/q3-icon.png b/lgsm/data/gameicons/q3-icon.png new file mode 100644 index 000000000..7d111da1e Binary files /dev/null and b/lgsm/data/gameicons/q3-icon.png differ diff --git a/lgsm/data/gameicons/ql-icon.png b/lgsm/data/gameicons/ql-icon.png new file mode 100644 index 000000000..5b0e5ceff Binary files /dev/null and b/lgsm/data/gameicons/ql-icon.png differ diff --git a/lgsm/data/gameicons/qw-icon.png b/lgsm/data/gameicons/qw-icon.png new file mode 100644 index 000000000..c5a65f4ca Binary files /dev/null and b/lgsm/data/gameicons/qw-icon.png differ diff --git a/lgsm/data/gameicons/ricochet-icon.png b/lgsm/data/gameicons/ricochet-icon.png new file mode 100644 index 000000000..da9b2a309 Binary files /dev/null and b/lgsm/data/gameicons/ricochet-icon.png differ diff --git a/lgsm/data/gameicons/ro-icon.png b/lgsm/data/gameicons/ro-icon.png new file mode 100644 index 000000000..027c0f662 Binary files /dev/null and b/lgsm/data/gameicons/ro-icon.png differ diff --git a/lgsm/data/gameicons/rtcw-icon.png b/lgsm/data/gameicons/rtcw-icon.png new file mode 100644 index 000000000..d0fb797a7 Binary files /dev/null and b/lgsm/data/gameicons/rtcw-icon.png differ diff --git a/lgsm/data/gameicons/rust-icon.png b/lgsm/data/gameicons/rust-icon.png new file mode 100644 index 000000000..484777503 Binary files /dev/null and b/lgsm/data/gameicons/rust-icon.png differ diff --git a/lgsm/data/gameicons/rw-icon.png b/lgsm/data/gameicons/rw-icon.png new file mode 100644 index 000000000..58d4a949b Binary files /dev/null and b/lgsm/data/gameicons/rw-icon.png differ diff --git a/lgsm/data/gameicons/samp-icon.png b/lgsm/data/gameicons/samp-icon.png new file mode 100644 index 000000000..d20d3faf7 Binary files /dev/null and b/lgsm/data/gameicons/samp-icon.png differ diff --git a/lgsm/data/gameicons/sb-icon.png b/lgsm/data/gameicons/sb-icon.png new file mode 100644 index 000000000..3baf0a116 Binary files /dev/null and b/lgsm/data/gameicons/sb-icon.png differ diff --git a/lgsm/data/gameicons/sbots-icon.png b/lgsm/data/gameicons/sbots-icon.png new file mode 100644 index 000000000..c897b3cce Binary files /dev/null and b/lgsm/data/gameicons/sbots-icon.png differ diff --git a/lgsm/data/gameicons/scpsl-icon.png b/lgsm/data/gameicons/scpsl-icon.png new file mode 100644 index 000000000..2872a7841 Binary files /dev/null and b/lgsm/data/gameicons/scpsl-icon.png differ diff --git a/lgsm/data/gameicons/scpslsm-icon.png b/lgsm/data/gameicons/scpslsm-icon.png new file mode 100644 index 000000000..2872a7841 Binary files /dev/null and b/lgsm/data/gameicons/scpslsm-icon.png differ diff --git a/lgsm/data/gameicons/sdtd-icon.png b/lgsm/data/gameicons/sdtd-icon.png new file mode 100644 index 000000000..04c8f87f8 Binary files /dev/null and b/lgsm/data/gameicons/sdtd-icon.png differ diff --git a/lgsm/data/gameicons/sf-icon.png b/lgsm/data/gameicons/sf-icon.png new file mode 100644 index 000000000..8685b4ad5 Binary files /dev/null and b/lgsm/data/gameicons/sf-icon.png differ diff --git a/lgsm/data/gameicons/sfc-icon.png b/lgsm/data/gameicons/sfc-icon.png new file mode 100644 index 000000000..5f866bd77 Binary files /dev/null and b/lgsm/data/gameicons/sfc-icon.png differ diff --git a/lgsm/data/gameicons/sof2-icon.png b/lgsm/data/gameicons/sof2-icon.png new file mode 100644 index 000000000..7da4f30c1 Binary files /dev/null and b/lgsm/data/gameicons/sof2-icon.png differ diff --git a/lgsm/data/gameicons/sol-icon.png b/lgsm/data/gameicons/sol-icon.png new file mode 100644 index 000000000..e2589b0ed Binary files /dev/null and b/lgsm/data/gameicons/sol-icon.png differ diff --git a/lgsm/data/gameicons/squad-icon.png b/lgsm/data/gameicons/squad-icon.png new file mode 100644 index 000000000..adc1464f8 Binary files /dev/null and b/lgsm/data/gameicons/squad-icon.png differ diff --git a/lgsm/data/gameicons/st-icon.png b/lgsm/data/gameicons/st-icon.png new file mode 100644 index 000000000..67ca7ade6 Binary files /dev/null and b/lgsm/data/gameicons/st-icon.png differ diff --git a/lgsm/data/gameicons/stn-icon.png b/lgsm/data/gameicons/stn-icon.png new file mode 100644 index 000000000..8bb7b1e3a Binary files /dev/null and b/lgsm/data/gameicons/stn-icon.png differ diff --git a/lgsm/data/gameicons/sven-icon.png b/lgsm/data/gameicons/sven-icon.png new file mode 100644 index 000000000..a46d41261 Binary files /dev/null and b/lgsm/data/gameicons/sven-icon.png differ diff --git a/lgsm/data/gameicons/terraria-icon.png b/lgsm/data/gameicons/terraria-icon.png new file mode 100644 index 000000000..8f0a253e7 Binary files /dev/null and b/lgsm/data/gameicons/terraria-icon.png differ diff --git a/lgsm/data/gameicons/tf2-icon.png b/lgsm/data/gameicons/tf2-icon.png new file mode 100644 index 000000000..3f5474ba9 Binary files /dev/null and b/lgsm/data/gameicons/tf2-icon.png differ diff --git a/lgsm/data/gameicons/tfc-icon.png b/lgsm/data/gameicons/tfc-icon.png new file mode 100644 index 000000000..f04580e2c Binary files /dev/null and b/lgsm/data/gameicons/tfc-icon.png differ diff --git a/lgsm/data/gameicons/ti-icon.png b/lgsm/data/gameicons/ti-icon.png new file mode 100644 index 000000000..0c6e126dd Binary files /dev/null and b/lgsm/data/gameicons/ti-icon.png differ diff --git a/lgsm/data/gameicons/ts-icon.png b/lgsm/data/gameicons/ts-icon.png new file mode 100644 index 000000000..271c5bc70 Binary files /dev/null and b/lgsm/data/gameicons/ts-icon.png differ diff --git a/lgsm/data/gameicons/ts3-icon.png b/lgsm/data/gameicons/ts3-icon.png new file mode 100644 index 000000000..1a71ba0ca Binary files /dev/null and b/lgsm/data/gameicons/ts3-icon.png differ diff --git a/lgsm/data/gameicons/tu-icon.png b/lgsm/data/gameicons/tu-icon.png new file mode 100644 index 000000000..80ea98bab Binary files /dev/null and b/lgsm/data/gameicons/tu-icon.png differ diff --git a/lgsm/data/gameicons/tw-icon.png b/lgsm/data/gameicons/tw-icon.png new file mode 100644 index 000000000..cd8ccd809 Binary files /dev/null and b/lgsm/data/gameicons/tw-icon.png differ diff --git a/lgsm/data/gameicons/unt-icon.png b/lgsm/data/gameicons/unt-icon.png new file mode 100644 index 000000000..bd8d94915 Binary files /dev/null and b/lgsm/data/gameicons/unt-icon.png differ diff --git a/lgsm/data/gameicons/ut-icon.png b/lgsm/data/gameicons/ut-icon.png new file mode 100644 index 000000000..8c81e418a Binary files /dev/null and b/lgsm/data/gameicons/ut-icon.png differ diff --git a/lgsm/data/gameicons/ut2k4-icon.png b/lgsm/data/gameicons/ut2k4-icon.png new file mode 100644 index 000000000..3494d31fb Binary files /dev/null and b/lgsm/data/gameicons/ut2k4-icon.png differ diff --git a/lgsm/data/gameicons/ut3-icon.png b/lgsm/data/gameicons/ut3-icon.png new file mode 100644 index 000000000..1713a3531 Binary files /dev/null and b/lgsm/data/gameicons/ut3-icon.png differ diff --git a/lgsm/data/gameicons/ut99-icon.png b/lgsm/data/gameicons/ut99-icon.png new file mode 100644 index 000000000..5ebe6c09c Binary files /dev/null and b/lgsm/data/gameicons/ut99-icon.png differ diff --git a/lgsm/data/gameicons/vh-icon.png b/lgsm/data/gameicons/vh-icon.png new file mode 100644 index 000000000..e74f2604d Binary files /dev/null and b/lgsm/data/gameicons/vh-icon.png differ diff --git a/lgsm/data/gameicons/vints-icon.png b/lgsm/data/gameicons/vints-icon.png new file mode 100644 index 000000000..f6e6748c0 Binary files /dev/null and b/lgsm/data/gameicons/vints-icon.png differ diff --git a/lgsm/data/gameicons/vpmc-icon.png b/lgsm/data/gameicons/vpmc-icon.png new file mode 100644 index 000000000..95d3e0f8a Binary files /dev/null and b/lgsm/data/gameicons/vpmc-icon.png differ diff --git a/lgsm/data/gameicons/vs-icon.png b/lgsm/data/gameicons/vs-icon.png new file mode 100644 index 000000000..0817c14eb Binary files /dev/null and b/lgsm/data/gameicons/vs-icon.png differ diff --git a/lgsm/data/gameicons/wet-icon.png b/lgsm/data/gameicons/wet-icon.png new file mode 100644 index 000000000..e24d585a9 Binary files /dev/null and b/lgsm/data/gameicons/wet-icon.png differ diff --git a/lgsm/data/gameicons/wf-icon.png b/lgsm/data/gameicons/wf-icon.png new file mode 100644 index 000000000..21b6a98cc Binary files /dev/null and b/lgsm/data/gameicons/wf-icon.png differ diff --git a/lgsm/data/gameicons/wmc-icon.png b/lgsm/data/gameicons/wmc-icon.png new file mode 100644 index 000000000..ebdbae8d6 Binary files /dev/null and b/lgsm/data/gameicons/wmc-icon.png differ diff --git a/lgsm/data/gameicons/wurm-icon.png b/lgsm/data/gameicons/wurm-icon.png new file mode 100644 index 000000000..248b42618 Binary files /dev/null and b/lgsm/data/gameicons/wurm-icon.png differ diff --git a/lgsm/data/gameicons/zmr-icon.png b/lgsm/data/gameicons/zmr-icon.png new file mode 100644 index 000000000..d6c61b1d4 Binary files /dev/null and b/lgsm/data/gameicons/zmr-icon.png differ diff --git a/lgsm/data/gameicons/zps-icon.png b/lgsm/data/gameicons/zps-icon.png new file mode 100644 index 000000000..e37f37280 Binary files /dev/null and b/lgsm/data/gameicons/zps-icon.png differ diff --git a/lgsm/modules/alert.sh b/lgsm/modules/alert.sh index b8b668ef4..785c7ae20 100644 --- a/lgsm/modules/alert.sh +++ b/lgsm/modules/alert.sh @@ -28,95 +28,203 @@ fn_alert_log() { } fn_alert_test() { - fn_script_log_info "Sending test alert" - alertsubject="Alert - ${selfname} - Test" + fn_script_log_info "Sending alert: Testing LinuxGSM Alert. No action to be taken" + alertaction="Tested" alertemoji="๐Ÿšง" alertsound="1" - alerturl="not enabled" - alertbody="Testing LinuxGSM Alert. No action to be taken." + alertmessage="Testing ${selfname} LinuxGSM Alert. No action to be taken." + # Green + alertcolourhex="#cdcd00" + alertcolourdec="13487360" } -fn_alert_restart() { - fn_script_log_info "Sending alert: Restarted: ${executable} not running" - alertsubject="Alert - ${selfname} - Restarted" +# Running command manually +fn_alert_stopped() { + fn_script_log_info "Sending alert: ${selfname} has stopped" + alertaction="Stopped" + alertemoji="โŒ" + alertsound="1" + alertmessage="${selfname} has been stopped." + # Red + alertcolourhex="#cd0000" + alertcolourdec="13434880" +} + +fn_alert_started() { + fn_script_log_info "Sending alert: ${selfname} has started" + alertaction="Started" + alertemoji="โœ”๏ธ" + alertsound="1" + alertmessage="${selfname} has been started." + # Green + alertcolourhex="#00cd00" + alertcolourdec="52480" +} + +fn_alert_restarted() { + fn_script_log_info "Sending alert: ${selfname} has restarted" + alertaction="Restarted" + alertemoji="๐Ÿ—˜" + alertsound="1" + alertmessage="${selfname} has been restarted." + # Green + alertcolourhex="#00cd00" + alertcolourdec="52480" +} + +# Failed monitor checks +fn_alert_monitor_session() { + fn_script_log_info "Sending alert: ${selfname} is not running. Game server has been restarted" + alertaction="Restarted" alertemoji="๐Ÿšจ" alertsound="2" - alerturl="not enabled" - alertbody="${selfname} ${executable} not running" + alertmessage="${selfname} is not running. Game server has been restarted." + # Red + alertcolourhex="#cd0000" + alertcolourdec="13434880" } -fn_alert_restart_query() { - fn_script_log_info "Sending alert: Restarted: ${selfname}" - alertsubject="Alert - ${selfname} - Restarted" +fn_alert_monitor_query() { + fn_script_log_info "Sending alert: Unable to query ${selfname}. Game server has been restarted" + alertaction="Restarted" alertemoji="๐Ÿšจ" alertsound="2" - alerturl="not enabled" - alertbody="Unable to query: ${selfname}" + alertmessage="Unable to query ${selfname}. Game server has been restarted." + # Red + alertcolourhex="#cd0000" + alertcolourdec="13434880" } +# Update alerts fn_alert_update() { - fn_script_log_info "Sending alert: Updated" - alertsubject="Alert - ${selfname} - Updated" - alertemoji="๐ŸŽฎ" + fn_script_log_info "Sending alert: ${selfname} has received a game server update: ${localbuild}" + alertaction="Updated" + alertemoji="๐ŸŽ‰" alertsound="1" - alerturl="not enabled" - alertbody="${gamename} received update: ${remotebuildversion}" + alertmessage="${selfname} has received a game server update: ${localbuild}." + # Green + alertcolourhex="#00cd00" + alertcolourdec="52480" } fn_alert_check_update() { - fn_script_log_info "Sending alert: Update available" - alertsubject="Alert - ${selfname} - Update available" - alertemoji="๐ŸŽฎ" + fn_script_log_info "Sending alert: ${gamename} update available: ${remotebuildversion}" + alertaction="Checked for Update" + alertemoji="๐ŸŽ‰" + alertsound="1" + alertmessage="${gamename} update available: ${remotebuildversion}" + # Blue + alertcolourhex="#1e90ff" + alertcolourdec="2003199" +} + +fn_alert_update_linuxgsm() { + fn_script_log_info "Sending alert: ${selfname} has received an LinuxGSM update" + alertaction="Updated" + alertemoji="๐ŸŽ‰" alertsound="1" - alerturl="not enabled" - alertbody="${gamename} update available: ${remotebuildversion}" + alertbody="${gamename} update available" + alertmessage="${selfname} has received an LinuxGSM update and been restarted." + # Green + alertcolourhex="#00cd00" + alertcolourdec="52480" } -fn_alert_update_restart() { - fn_script_log_info "Sending alert: Restarted" - alertsubject="Alert - ${selfname} - Restarted" - alertemoji="๐ŸŽฎ" +fn_alert_backup() { + fn_script_log_info "Sending alert: ${selfname} has been backed up" + alertaction="Backed Up" + alertemoji="๐Ÿ“‚" alertsound="1" - alerturl="not enabled" - alertbody="${gamename} received update: ${remotebuildversion} and required restarting" + alertmessage="${selfname} has been backed up." + # Green + alertcolourhex="#00cd00" + alertcolourdec="52480" } fn_alert_permissions() { - fn_script_log_info "Sending alert: Permissions error" - alertsubject="Alert - ${selfname}: Permissions error" + fn_script_log_info "Sending alert: ${selfname} has permissions issues" + alertaction="Checked Permissions" alertemoji="โ—" alertsound="2" - alerturl="not enabled" - alertbody="${selfname} has permissions issues" + alertmessage="${selfname} has permissions issues." + # Red + alertcolourhex="#cd0000" + alertcolourdec="13434880" } fn_alert_config() { - fn_script_log_info "Sending alert: New _default.cfg" - alertsubject="Alert - ${selfname} - New _default.cfg" - alertemoji="๐ŸŽฎ" + fn_script_log_info "Sending alert: ${selfname} has received a new _default.cfg" + alertaction="Updated _default.cfg" + alertemoji="๐ŸŽ‰" + alertsound="1" + alertmessage="${selfname} has received a new _default.cfg." + # Blue + alertcolourhex="#1e90ff" + alertcolourdec="2003199" +} + +fn_alert_wipe() { + fn_script_log_info "Sending alert: ${selfname} has been wiped" + alertaction="Wiped" + alertemoji="๐Ÿงน" alertsound="1" - alerturl="not enabled" - alertbody="${selfname} has received a new _default.cfg. Check file for changes." + alertmessage="${selfname} has been wiped." + # Green + alertcolourhex="#00cd00" + alertcolourdec="52480" } +fn_alert_info() { + fn_script_log_info "Sending alert: ${selfname} info" + alerttitle="LinuxGSM Alert - ${selfname} - Info" + alertaction="Queried" + alertemoji="๐Ÿ“„" + alertsound="1" + alertmessage="${selfname} info." + # Blue + alertcolourhex="#1e90ff" + alertcolourdec="2003199" +} + +# Images +alerticon="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/gameicons/${shortname}-icon.png" + if [ "${alert}" == "permissions" ]; then fn_alert_permissions -elif [ "${alert}" == "restart" ]; then - fn_alert_restart -elif [ "${alert}" == "restartquery" ]; then - fn_alert_restart_query +elif [ "${alert}" == "monitor-session" ]; then + fn_alert_monitor_session +elif [ "${alert}" == "monitor-query" ]; then + fn_alert_monitor_query elif [ "${alert}" == "test" ]; then fn_alert_test elif [ "${alert}" == "update" ]; then fn_alert_update elif [ "${alert}" == "check-update" ]; then fn_alert_check_update -elif [ "${alert}" == "update-restart" ]; then - fn_alert_update_restart elif [ "${alert}" == "config" ]; then fn_alert_config +elif [ "${alert}" == "wipe" ]; then + fn_alert_wipe +elif [ "${alert}" == "info" ]; then + fn_alert_info +elif [ "${alert}" == "started" ]; then + fn_alert_started +elif [ "${alert}" == "stopped" ]; then + fn_alert_stopped +elif [ "${alert}" == "restarted" ]; then + fn_alert_restarted +elif [ "${alert}" == "update-linuxgsm" ]; then + fn_alert_update_linuxgsm +elif [ "${alert}" == "backup" ]; then + fn_alert_backup +else + fn_print_fail_nl "Missing alert type" + fn_script_log_fatal "Missing alert type" + core_exit.sh fi +alerttitle="${alertemoji} ${alertaction} - ${servername} ${alertemoji}" + # Generate alert log. fn_alert_log @@ -220,7 +328,7 @@ if [ "${rocketchatalert}" == "on" ] && [ -n "${rocketchatalert}" ]; then elif [ "${rocketchatalert}" != "on" ] && [ "${commandname}" == "TEST-ALERT" ]; then fn_print_warn_nl "Rocketchat alerts not enabled" fn_script_log_warn "Rocketchat alerts not enabled" -elif [ -z "${rocketchattoken}" ] && [ "${commandname}" == "TEST-ALERT" ]; then +elif [ -z "${rocketchatwebhook}" ] && [ "${commandname}" == "TEST-ALERT" ]; then fn_print_error_nl "Rocketchat token not set" #echo -e "* https://docs.linuxgsm.com/alerts/slack" fn_script_error "Rocketchat token not set" diff --git a/lgsm/modules/alert_discord.sh b/lgsm/modules/alert_discord.sh index f3a79416a..54cf8a348 100644 --- a/lgsm/modules/alert_discord.sh +++ b/lgsm/modules/alert_discord.sh @@ -7,47 +7,141 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsoninfo=$( cat << EOF { - "username":"LinuxGSM", - "avatar_url":"https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", - "file":"content", - "embeds": [{ - "color": "2067276", - "author": { - "name": "${alertemoji} ${alertsubject} ${alertemoji}", - "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg" - }, - "title": "${servername}", - "description": "${alertbody} \n More info: ${alerturl}", - "url": "", - "type": "content", - "thumbnail": {}, - "fields": [ - { - "name": "Game", - "value": "${gamename}", - "inline": true - }, - { - "name": "Server IP", - "value": "[${alertip}:${port}](https://www.gametracker.com/server_info/${alertip}:${port})", - "inline": true - }, - { - "name": "Hostname", - "value": "${HOSTNAME}", - "inline": true - } - ] - }] + "username": "LinuxGSM", + "avatar_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "file": "content", + "embeds": [ + { + "author": { + "name": "LinuxGSM Alert", + "url": "", + "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg" + }, + "title": "${alerttitle}", + "url": "", + "description": "", + "color": "${alertcolourdec}", + "type": "content", + "thumbnail": { + "url": "${alerticon}" + }, + "fields": [ + { + "name": "Server Name", + "value": "${servername}" + }, + { + "name": "Information", + "value": "${alertmessage}" + }, + { + "name": "Game", + "value": "${gamename}", + "inline": true + }, + { + "name": "Server IP", + "value": "\`${alertip}:${port}\`", + "inline": true + }, + { + "name": "Hostname", + "value": "${HOSTNAME}", + "inline": true + }, + { + "name": "More info", + "value": "${alerturl}", + "inline": true + }, + { + "name": "Server Time", + "value": "$(date)", + "inline": true + } + ], + "footer": { + "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "text": "Sent by LinuxGSM ${version}" + } + } + ] +} +EOF +) + +jsonnoinfo=$( + cat << EOF +{ + "username": "LinuxGSM", + "avatar_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "file": "content", + "embeds": [ + { + "author": { + "name": "LinuxGSM Alert", + "url": "", + "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg" + }, + "title": "${alerttitle}", + "url": "", + "description": "", + "color": "${alertcolourdec}", + "type": "content", + "thumbnail": { + "url": "${alerticon}" + }, + "fields": [ + { + "name": "Server Name", + "value": "${servername}" + }, + { + "name": "Information", + "value": "${alertmessage}" + }, + { + "name": "Game", + "value": "${gamename}", + "inline": true + }, + { + "name": "Server IP", + "value": "\`${alertip}:${port}\`", + "inline": true + }, + { + "name": "Hostname", + "value": "${HOSTNAME}", + "inline": true + }, + { + "name": "Server Time", + "value": "$(date)", + "inline": true + } + ], + "footer": { + "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "text": "Sent by LinuxGSM ${version}" + } + } + ] } EOF ) fn_print_dots "Sending Discord alert" +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + discordsend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" "${discordwebhook}") if [ -n "${discordsend}" ]; then diff --git a/lgsm/modules/alert_email.sh b/lgsm/modules/alert_email.sh index 0aca09fef..6833d9670 100644 --- a/lgsm/modules/alert_email.sh +++ b/lgsm/modules/alert_email.sh @@ -10,9 +10,9 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_print_dots "Sending Email alert: ${email}" if [ -n "${emailfrom}" ]; then - mail -s "${alertsubject}" -r "${emailfrom}" "${email}" < "${alertlog}" + mail -s "${alerttitle}" -r "${emailfrom}" "${email}" < "${alertlog}" else - mail -s "${alertsubject}" "${email}" < "${alertlog}" + mail -s "${alerttitle}" "${email}" < "${alertlog}" fi exitcode=$? if [ "${exitcode}" == "0" ]; then diff --git a/lgsm/modules/alert_gotify.sh b/lgsm/modules/alert_gotify.sh index 27e4d3439..2ab6e9eb7 100644 --- a/lgsm/modules/alert_gotify.sh +++ b/lgsm/modules/alert_gotify.sh @@ -7,18 +7,33 @@ module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsoninfo=$( cat << EOF { - "title": "${alertemoji} ${alertsubject} ${alertemoji}", - "message": "Server name\n${servername}\n\nMessage\n${alertbody}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}", + "title": "${alerttitle}", + "message": "Server Name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}\n\nServer Time\n$(date)", "priority": 5 } EOF ) -fn_print_dots "Sending Gotify alert" +jsonnoinfo=$( + cat << EOF +{ + "title": "${alerttitle}", + "message": "Server Name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nServer Time\n$(date)", + "priority": 5 +} +EOF +) +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + +fn_print_dots "Sending Gotify alert" gotifysend=$(curl --connect-timeout 10 -sSL "${gotifywebhook}/message"?token="${gotifytoken}" -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)") if [ -n "${gotifysend}" ]; then diff --git a/lgsm/modules/alert_ifttt.sh b/lgsm/modules/alert_ifttt.sh index c1ccfc9cb..77932569b 100644 --- a/lgsm/modules/alert_ifttt.sh +++ b/lgsm/modules/alert_ifttt.sh @@ -7,16 +7,32 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsoninfo=$( cat << EOF { "value1": "${selfname}", - "value2": "${alertemoji} ${alertsubject} ${alertemoji}", - "value3": "Message: \n${alertbody}\n\nGame: \n${gamename}\n\nServer name: \n${servername}\n\nHostname: \n${HOSTNAME}\n\nServer IP: \n${alertip}:${port}\n\nMore info: \n${alerturl}" + "value2": "${alerttitle}", + "value3": "Server Name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}\n\nServer Time\n$(date)" } EOF ) +jsonnoinfo=$( + cat << EOF +{ + "value1": "${selfname}", + "value2": "${alerttitle}", + "value3": "Server Name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nServer Time\n$(date)" +} +EOF +) + +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + fn_print_dots "Sending IFTTT alert" iftttsend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" "https://maker.ifttt.com/trigger/${iftttevent}/with/key/${ifttttoken}" | grep "Bad Request") diff --git a/lgsm/modules/alert_pushbullet.sh b/lgsm/modules/alert_pushbullet.sh index 3bcd6141b..dedd43268 100644 --- a/lgsm/modules/alert_pushbullet.sh +++ b/lgsm/modules/alert_pushbullet.sh @@ -7,19 +7,36 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsoninfo=$( cat << EOF { "channel_tag": "${channeltag}", "type": "note", - "title": "${alertemoji} ${alertsubject} ${alertemoji}", - "body": "Server name\n${servername}\n\nMessage\n${alertbody}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}" + "title": "${alerttitle}", + "body": "Server Name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}\n\nServer Time\n$(date)" } EOF ) +jsonnoinfo=$( + cat << EOF +{ + "channel_tag": "${channeltag}", + "type": "note", + "title": "${alerttitle}", + "body": "Server Name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nServer Time\n$(date)" +} +EOF +) + +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + fn_print_dots "Sending Pushbullet alert" -pushbulletsend=$(curl --connect-timeout 10 -sSL -u """${pushbullettoken}"":" -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" "https://api.pushbullet.com/v2/pushes" | grep "error_code") +pushbulletsend=$(curl --connect-timeout 10 -sSL -H "Access-Token: ${pushbullettoken}" -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" "https://api.pushbullet.com/v2/pushes" | grep "error_code") if [ -n "${pushbulletsend}" ]; then fn_print_fail_nl "Sending Pushbullet alert: ${pushbulletsend}" diff --git a/lgsm/modules/alert_pushover.sh b/lgsm/modules/alert_pushover.sh index 35229094a..c436a4a91 100644 --- a/lgsm/modules/alert_pushover.sh +++ b/lgsm/modules/alert_pushover.sh @@ -22,7 +22,11 @@ else alertpriority="0" fi -pushoversend=$(curl --connect-timeout 10 -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alertemoji} ${alertsubject} ${alertemoji}" -F message=" Server name
${servername}

Message
${alertbody}

Game
${gamename}

Server IP
${alertip}:${port}

Hostname
${HOSTNAME}

More info
${alerturl}" "https://api.pushover.net/1/messages.json" | grep errors) +if [ -z "${alerturl}" ]; then + pushoversend=$(curl --connect-timeout 10 -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alerttitle}" -F message=" Server name
${servername}

Information
${alertmessage}

Game
${gamename}

Server IP
${alertip}:${port}

Hostname
${HOSTNAME}

Server Time
$(date)" "https://api.pushover.net/1/messages.json" | grep errors) +else + pushoversend=$(curl --connect-timeout 10 -sS -F token="${pushovertoken}" -F user="${pushoveruserkey}" -F html="1" -F sound="${alertsound}" -F priority="${alertpriority}" -F title="${alerttitle}" -F message=" Server name
${servername}

Information
${alertmessage}

Game
${gamename}

Server IP
${alertip}:${port}

Hostname
${HOSTNAME}

More info
${alerturl}

Server Time
$(date)" "https://api.pushover.net/1/messages.json" | grep errors) +fi if [ -n "${pushoversend}" ]; then fn_print_fail_nl "Sending Pushover alert: ${pushoversend}" diff --git a/lgsm/modules/alert_rocketchat.sh b/lgsm/modules/alert_rocketchat.sh index f6e410ef8..329111494 100644 --- a/lgsm/modules/alert_rocketchat.sh +++ b/lgsm/modules/alert_rocketchat.sh @@ -7,28 +7,55 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsoninfo=$( cat << EOF { "alias": "LinuxGSM", - "text": "*${alertemoji} ${alertsubject} ${alertemoji}* \n *${servername}* \n ${alertbody} \n More info: ${alerturl}", + "text": "*${alerttitle}*", "attachments": [ { + "title": "", + "color": "${alertcolourhex}", + "author_name": "LinuxGSM Alert", + "author_link": "https://linuxgsm.com", + "author_icon": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "thumb_url": "${alerticon}", + "text": "", "fields": [ { - "short": true, - "title": "Game:", + "short": false, + "title": "Server Name", + "value": "${servername}" + }, + { + "short": false, + "title": "Information", + "value": "${alertmessage}" + }, + { + "short": false, + "title": "Game", "value": "${gamename}" }, { - "short": true, - "title": "Server IP:", + "short": false, + "title": "Server IP", "value": "${alertip}:${port}" }, { - "short": true, - "title": "Hostname:", + "short": false, + "title": "Hostname", "value": "${HOSTNAME}" + }, + { + "short": false, + "title": "More info", + "value": "${alerturl}" + }, + { + "short": false, + "title": "Server Time", + "value": "$(date)" } ] } @@ -37,8 +64,65 @@ json=$( EOF ) -fn_print_dots "Sending Rocketchat alert" +jsonnoinfo=$( + cat << EOF +{ + "alias": "LinuxGSM", + "text": "*${alerttitle}*", + "attachments": [ + { + "title": "", + "color": "${alertcolourhex}", + "author_name": "LinuxGSM Alert", + "author_link": "https://linuxgsm.com", + "author_icon": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "thumb_url": "${alerticon}", + "text": "", + "fields": [ + { + "short": false, + "title": "Server Name", + "value": "${servername}" + }, + { + "short": false, + "title": "Information", + "value": "${alertmessage}" + }, + { + "short": false, + "title": "Game", + "value": "${gamename}" + }, + { + "short": false, + "title": "Server IP", + "value": "${alertip}:${port}" + }, + { + "short": false, + "title": "Hostname", + "value": "${HOSTNAME}" + }, + { + "short": false, + "title": "Server Time", + "value": "$(date)" + } + ] + } + ] +} +EOF +) +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + +fn_print_dots "Sending Rocketchat alert" rocketchatsend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" "${rocketchatwebhook}") if [ -n "${rocketchatsend}" ]; then diff --git a/lgsm/modules/alert_slack.sh b/lgsm/modules/alert_slack.sh index f83df9510..728a564e0 100644 --- a/lgsm/modules/alert_slack.sh +++ b/lgsm/modules/alert_slack.sh @@ -7,61 +7,179 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsonnoinfo=$( cat << EOF { - "attachments": [ - { - "color": "#36a64f", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "*LinuxGSM Alert*" - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "*${alertemoji} ${alertsubject}* \n ${alertbody}" - } - }, - { - "type": "divider" - }, - { - "type": "section", - "fields": [ - { - "type": "mrkdwn", - "text": "*Game:* \n ${gamename}" - }, - { - "type": "mrkdwn", - "text": "*Server IP:* \n ${alertip}:${port}" - }, - { - "type": "mrkdwn", - "text": "*Server Name:* \n ${servername}" - } - ] - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Hostname: ${HOSTNAME} / More info: ${alerturl}" - } - } - ] - } - ] + "attachments": [ + { + "color": "${alertcolourhex}", + "blocks": [ + { + "type": "header", + "text": { + "type": "mrkdwn", + "text": "${alerttitle}", + "emoji": true + } + }, + { + "type": "divider" + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Server Name*\n${servername}" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Information*\n${alertmessage}" + } + }, + { + "type": "section", + "fields": [ + { + "type": "mrkdwn", + "text": "*Game*\n${gamename}" + }, + { + "type": "mrkdwn", + "text": "*Server IP*\n\`${alertip}:${port}\`" + }, + { + "type": "mrkdwn", + "text": "*Hostname*\n${HOSTNAME}" + }, + { + "type": "mrkdwn", + "text": "*Server Time*\n$(date)" + } + ], + "accessory": { + "type": "image", + "image_url": "${alerticon}", + "alt_text": "cute cat" + } + }, + { + "type": "context", + "elements": [ + { + "type": "image", + "image_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "alt_text": "LinuxGSM icon" + }, + { + "type": "plain_text", + "text": "Sent by LinuxGSM ${version}", + "emoji": true + } + ] + } + ] + } + ] } EOF ) +jsoninfo=$( + cat << EOF +{ + "attachments": [ + { + "color": "${alertcolourhex}", + "blocks": [ + { + "type": "header", + "text": { + "type": "mrkdwn", + "text": "${alerttitle}", + "emoji": true + } + }, + { + "type": "divider" + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Server Name*\n${servername}" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Information*\n${alertmessage}" + } + }, + { + "type": "section", + "fields": [ + { + "type": "mrkdwn", + "text": "*Game*\n${gamename}" + }, + { + "type": "mrkdwn", + "text": "*Server IP*\n\`${alertip}:${port}\`" + }, + { + "type": "mrkdwn", + "text": "*Hostname*\n${HOSTNAME}" + }, + { + "type": "mrkdwn", + "text": "*Server Time*\n$(date)" + } + ], + "accessory": { + "type": "image", + "image_url": "${alerticon}", + "alt_text": "cute cat" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Server Time*\n${alertmessage}" + } + }, + { + "type": "context", + "elements": [ + { + "type": "image", + "image_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg", + "alt_text": "LinuxGSM icon" + }, + { + "type": "plain_text", + "text": "Sent by LinuxGSM ${version}", + "emoji": true + } + ] + } + ] + } + ] +} +EOF +) + +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + fn_print_dots "Sending Slack alert" slacksend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" "${slackwebhook}") diff --git a/lgsm/modules/alert_telegram.sh b/lgsm/modules/alert_telegram.sh index d2e72346a..3b3ec9912 100644 --- a/lgsm/modules/alert_telegram.sh +++ b/lgsm/modules/alert_telegram.sh @@ -7,17 +7,34 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -json=$( +jsoninfo=$( cat << EOF { "chat_id": "${telegramchatid}", "parse_mode": "HTML", - "text": "${alertemoji} ${alertsubject} ${alertemoji}\n\nServer name\n${servername}\n\nMessage\n${alertbody}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}", + "text": "${alerttitle}\n\nServer name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nMore info\n${alerturl}\n\nServer Time\n$(date)", "disable_web_page_preview": "yes" } EOF ) +jsonnoinfo=$( + cat << EOF +{ + "chat_id": "${telegramchatid}", + "parse_mode": "HTML", + "text": "${alerttitle}\n\nServer name\n${servername}\n\nInformation\n${alertmessage}\n\nGame\n${gamename}\n\nServer IP\n${alertip}:${port}\n\nHostname\n${HOSTNAME}\n\nServer Time\n$(date)", + "disable_web_page_preview": "yes" +} +EOF +) + +if [ -z "${alerturl}" ]; then + json="${jsonnoinfo}" +else + json="${jsoninfo}" +fi + fn_print_dots "Sending Telegram alert" telegramsend=$(curl --connect-timeout 10 -sSL -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)" ${curlcustomstring} "https://${telegramapi}/bot${telegramtoken}/sendMessage" | grep "error_code") diff --git a/lgsm/modules/check_last_update.sh b/lgsm/modules/check_last_update.sh index 02d17c975..166d80a17 100644 --- a/lgsm/modules/check_last_update.sh +++ b/lgsm/modules/check_last_update.sh @@ -20,6 +20,8 @@ if [ -f "${lockdir}/last-updated.lock" ] && [ "${status}" != "0" ]; then if [ ! -f "${lockdir}/${selfname}-last-started.lock" ] || [ "${laststart}" -lt "${lastupdate}" ]; then fn_print_info "${selfname} has not been restarted since last update" fn_script_log_info "${selfname} has not been restarted since last update" + alert="update" + alert.sh command_restart.sh fn_firstcommand_reset fi diff --git a/lgsm/modules/command_backup.sh b/lgsm/modules/command_backup.sh index fac5dc38b..55981e19e 100644 --- a/lgsm/modules/command_backup.sh +++ b/lgsm/modules/command_backup.sh @@ -138,6 +138,8 @@ fn_backup_compression() { fn_print_ok_eol fn_print_ok_nl "Completed: ${backupname}.tar.gz, total size $(du -sh "${backupdir}/${backupname}.tar.gz" | awk '{print $1}')" fn_script_log_pass "Backup created: ${backupname}.tar.gz, total size $(du -sh "${backupdir}/${backupname}.tar.gz" | awk '{print $1}')" + alert="backup" + alert.sh fi } diff --git a/lgsm/modules/command_monitor.sh b/lgsm/modules/command_monitor.sh index d4d88bd56..51a1e99bf 100644 --- a/lgsm/modules/command_monitor.sh +++ b/lgsm/modules/command_monitor.sh @@ -154,7 +154,7 @@ fn_monitor_check_update_source() { fn_print_ok "Checking update: " fn_print_ok_eol_nl fn_script_log_info "Checking update: Monitor is restarting ${selfname} to apply update" - alert="update-restart" + alert="update" alert.sh command_restart.sh core_exit.sh @@ -207,7 +207,7 @@ fn_monitor_check_session() { fn_print_error "Checking session: " fn_print_fail_eol_nl fn_script_log_fail "Checking session: FAIL" - alert="restart" + alert="monitor-session" alert.sh fn_script_log_info "Checking session: Monitor is restarting ${selfname}" command_restart.sh @@ -319,7 +319,7 @@ fn_monitor_query() { fn_print_fail_eol_nl fn_script_log_warn "Querying port: ${querymethod}: ${queryip}:${queryport} : ${queryattempt} : FAIL" # Send alert if enabled. - alert="restartquery" + alert="monitor-query" alert.sh command_restart.sh fn_firstcommand_reset diff --git a/lgsm/modules/command_start.sh b/lgsm/modules/command_start.sh index 364733ea2..345ede786 100644 --- a/lgsm/modules/command_start.sh +++ b/lgsm/modules/command_start.sh @@ -176,6 +176,13 @@ fn_start_tmux() { fn_print_ok "${servername}" fn_script_log_pass "Started ${servername}" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "START" ]; then + alert="started" + alert.sh + elif [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "RESTART" ]; then + alert="restarted" + alert.sh + fi fi rm -f "${lgsmlogdir:?}/.${selfname}-tmux-error.tmp" 2> /dev/null echo -en "\n" diff --git a/lgsm/modules/command_stop.sh b/lgsm/modules/command_stop.sh index 1567252f9..3e503a4f5 100644 --- a/lgsm/modules/command_stop.sh +++ b/lgsm/modules/command_stop.sh @@ -23,6 +23,10 @@ fn_stop_graceful_ctrlc() { fn_print_ok "Graceful: CTRL+c: ${seconds}: " fn_print_ok_eol_nl fn_script_log_pass "Graceful: CTRL+c: OK: ${seconds} seconds" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "STOP" ]; then + alert="stopped" + alert.sh + fi break fi fn_sleep_time_1 @@ -51,6 +55,10 @@ fn_stop_graceful_cmd() { fn_print_ok "Graceful: sending \"${1}\": ${seconds}: " fn_print_ok_eol_nl fn_script_log_pass "Graceful: sending \"${1}\": OK: ${seconds} seconds" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "STOP" ]; then + alert="stopped" + alert.sh + fi break fi fn_sleep_time_1 @@ -80,6 +88,10 @@ fn_stop_graceful_goldsrc() { fn_print_ok "Graceful: sending \"quit\": ${seconds}: " fn_print_ok_eol_nl fn_script_log_pass "Graceful: sending \"quit\": OK: ${seconds} seconds" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "STOP" ]; then + alert="stopped" + alert.sh + fi } # telnet command for sdtd graceful shutdown. @@ -152,6 +164,10 @@ fn_stop_graceful_sdtd() { fn_print_ok "Graceful: telnet: ${telnetip}:${telnetport} : " fn_print_ok_eol_nl fn_script_log_pass "Graceful: telnet: ${telnetip}:${telnetport} : ${seconds} seconds" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "STOP" ]; then + alert="stopped" + alert.sh + fi break fi fn_sleep_time_1 @@ -195,6 +211,10 @@ fn_stop_graceful_avorion() { fn_print_ok "Graceful: /save /stop: ${seconds}: " fn_print_ok_eol_nl fn_script_log_pass "Graceful: /save /stop: OK: ${seconds} seconds" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "STOP" ]; then + alert="stopped" + alert.sh + fi break fi fn_sleep_time_1 @@ -246,6 +266,10 @@ fn_stop_tmux() { if [ "${status}" == "0" ]; then fn_print_ok_nl "${servername}" fn_script_log_pass "Stopped ${servername}" + if [ "${statusalert}" == "on" ] && [ "${firstcommandname}" == "STOP" ]; then + alert="stopped" + alert.sh + fi else fn_print_fail_nl "Unable to stop ${servername}" fn_script_log_fail "Unable to stop ${servername}" diff --git a/lgsm/modules/command_wipe.sh b/lgsm/modules/command_wipe.sh index d20bd0d3e..378dae0ec 100644 --- a/lgsm/modules/command_wipe.sh +++ b/lgsm/modules/command_wipe.sh @@ -167,6 +167,8 @@ if [ -n "$(find "${serveridentitydir}" -type f -name "*.map")" ] || [ -n "$(find fn_wipe_random_seed fn_print_complete_nl "${wipetype}" fn_script_log_pass "${wipetype}" + alert="wipe" + alert.sh exitbypass=1 command_start.sh fn_firstcommand_reset @@ -175,6 +177,8 @@ if [ -n "$(find "${serveridentitydir}" -type f -name "*.map")" ] || [ -n "$(find fn_wipe_random_seed fn_print_complete_nl "${wipetype}" fn_script_log_pass "${wipetype}" + alert="wipe" + alert.sh fi else fn_print_ok_nl "Wipe not required" diff --git a/lgsm/modules/info_messages.sh b/lgsm/modules/info_messages.sh index c959df307..121341878 100644 --- a/lgsm/modules/info_messages.sh +++ b/lgsm/modules/info_messages.sh @@ -48,22 +48,26 @@ fn_info_message_password_strip() { # used with alertlog fn_info_message_head() { echo -e "" - echo -e "${bold}${lightyellow}Alert Summary${default}" + echo -e "LinuxGSM Alert Summary" fn_messages_separator - echo -e "Message" - echo -e "${alertbody}" + echo -e "" + echo -e "Server name" + echo -e "${servername}" + echo -e "" + echo -e "Information" + echo -e "${alertmessage}" echo -e "" echo -e "Game" echo -e "${gamename}" echo -e "" - echo -e "Server name" - echo -e "${servername}" + echo -e "Server IP" + echo -e "${alertip}:${port}" echo -e "" echo -e "Hostname" echo -e "${HOSTNAME}" echo -e "" - echo -e "Server IP" - echo -e "${ip}:${port}" + echo -e "Server Time" + echo -e "$(date)" } fn_info_message_distro() { @@ -75,6 +79,7 @@ fn_info_message_distro() { # Arch: x86_64 # Kernel: 5.4.0-65-generic # Hostname: server + # Environment: kvm # Uptime: 16d, 5h, 18m # tmux: tmux 3.0a # glibc: 2.31 @@ -88,6 +93,7 @@ fn_info_message_distro() { echo -e "${lightblue}Arch:\t${default}${arch}" echo -e "${lightblue}Kernel:\t${default}${kernel}" echo -e "${lightblue}Hostname:\t${default}${HOSTNAME}" + echo -e "${lightblue}Environment:\t${default}${virtualenvironment}" echo -e "${lightblue}Uptime:\t${default}${days}d, ${hours}h, ${minutes}m" echo -e "${lightblue}tmux:\t${default}${tmuxv}" echo -e "${lightblue}glibc:\t${default}${glibcversion}"