Browse Source

update var

pull/4742/head
Daniel Gibbs 3 months ago
parent
commit
39c781380f
  1. 2
      lgsm/modules/alert_discord.sh
  2. 2
      lgsm/modules/alert_gotify.sh
  3. 2
      lgsm/modules/alert_ifttt.sh
  4. 2
      lgsm/modules/alert_pushbullet.sh
  5. 2
      lgsm/modules/alert_pushover.sh
  6. 2
      lgsm/modules/alert_rocketchat.sh
  7. 2
      lgsm/modules/alert_slack.sh
  8. 2
      lgsm/modules/alert_telegram.sh
  9. 2
      lgsm/modules/command_dev_query_raw.sh

2
lgsm/modules/alert_discord.sh

@ -49,7 +49,7 @@ json=$(
}, },
{ {
"name": "Is my Game Server Online?", "name": "Is my Game Server Online?",
"value": "https://ismygameserver.online/${querytype}/${alertip}:${queryport}", "value": "https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}",
"inline": true "inline": true
} }
], ],

2
lgsm/modules/alert_gotify.sh

@ -18,7 +18,7 @@ EOF
if [ -n "${querytype}" ]; then if [ -n "${querytype}" ]; then
json+=$( json+=$(
cat << EOF cat << EOF
Is my Game Server Online?\nhttps://ismygameserver.online/${querytype}/${alertip}:${queryport}\n\n Is my Game Server Online?\nhttps://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}\n\n
EOF EOF
) )
fi fi

2
lgsm/modules/alert_ifttt.sh

@ -19,7 +19,7 @@ EOF
if [ -n "${querytype}" ]; then if [ -n "${querytype}" ]; then
json+=$( json+=$(
cat << EOF cat << EOF
Is my Game Server Online?\nhttps://ismygameserver.online/${querytype}/${alertip}:${queryport}\n\n Is my Game Server Online?\nhttps://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}\n\n
EOF EOF
) )
fi fi

2
lgsm/modules/alert_pushbullet.sh

@ -20,7 +20,7 @@ EOF
if [ -n "${querytype}" ]; then if [ -n "${querytype}" ]; then
json+=$( json+=$(
cat << EOF cat << EOF
Is my Game Server Online?\nhttps://ismygameserver.online/${querytype}/${alertip}:${queryport}\n\n Is my Game Server Online?\nhttps://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}\n\n
EOF EOF
) )
fi fi

2
lgsm/modules/alert_pushover.sh

@ -25,7 +25,7 @@ fi
message=" <b>Server name</b><br>${servername}<br><br><b>Information</b><br>${alertmessage}<br><br><b>Game</b><br>${gamename}<br><br><b>Server IP</b><br>${alertip}:${port}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br>" message=" <b>Server name</b><br>${servername}<br><br><b>Information</b><br>${alertmessage}<br><br><b>Game</b><br>${gamename}<br><br><b>Server IP</b><br>${alertip}:${port}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br>"
if [ -n "${querytype}" ]; then if [ -n "${querytype}" ]; then
message+="<b>Is my Game Server Online?</b><br><a href='https://ismygameserver.online/${querytype}/${alertip}:${queryport}'>Check here</a><br><br>" message+="<b>Is my Game Server Online?</b><br><a href='https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}'>Check here</a><br><br>"
fi fi
if [ -n "${alerturl}" ]; then if [ -n "${alerturl}" ]; then

2
lgsm/modules/alert_rocketchat.sh

@ -70,7 +70,7 @@ if [ -n "${querytype}" ]; then
{ {
"short": false, "short": false,
"title": "Is my Game Server Online?", "title": "Is my Game Server Online?",
"value": "<https://ismygameserver.online/${querytype}/${alertip}:${queryport}|Check here>" "value": "<https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}|Check here>"
}, },
EOF EOF
) )

2
lgsm/modules/alert_slack.sh

@ -94,7 +94,7 @@ if [ -n "${querytype}" ]; then
"type": "section", "type": "section",
"text": { "text": {
"type": "mrkdwn", "type": "mrkdwn",
"text": "*Is my Game Server Online?*\n<https://ismygameserver.online/${querytype}/${alertip}:${queryport}|Check here>" "text": "*Is my Game Server Online?*\n<https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}|Check here>"
} }
}, },
EOF EOF

2
lgsm/modules/alert_telegram.sh

@ -21,7 +21,7 @@ EOF
if [ -n "${querytype}" ]; then if [ -n "${querytype}" ]; then
json+=$( json+=$(
cat << EOF cat << EOF
<b>Is my Game Server Online?</b>\n<a href='https://ismygameserver.online/${querytype}/${alertip}:${queryport}'>Check here</a>\n\n <b>Is my Game Server Online?</b>\n<a href='https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}'>Check here</a>\n\n
EOF EOF
) )
fi fi

2
lgsm/modules/command_dev_query_raw.sh

@ -210,7 +210,7 @@ echo -e "QUERY PORT: ${queryport}"
echo -e "" echo -e ""
echo -e "${lightgreen}Is My Game Server Online?${default}" echo -e "${lightgreen}Is My Game Server Online?${default}"
fn_messages_separator fn_messages_separator
echo -e "Game server status: https://ismygameserver.online/${querytype}/${queryip}:${queryport}" echo -e "Game server status: https://ismygameserver.online/${imgsoquerytype}/${queryip}:${queryport}"
echo -e "" echo -e ""
echo -e "${lightgreen}Gamedig Raw Output${default}" echo -e "${lightgreen}Gamedig Raw Output${default}"
fn_messages_separator fn_messages_separator

Loading…
Cancel
Save