Browse Source

gameappid

feature/alerts-refactor
Daniel Gibbs 4 years ago
parent
commit
a82e426013
  1. 1
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  2. 2
      lgsm/functions/alert.sh

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

@ -144,6 +144,7 @@ sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="740"
gameappid="730"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""

2
lgsm/functions/alert.sh

@ -128,7 +128,7 @@ query_gamedig.sh
# Images
if [ -n "${appid}" ]; then
alertimage="https://steamcdn-a.akamaihd.net/steam/apps/${appid}/header.jpg"
alertimage="https://steamcdn-a.akamaihd.net/steam/apps/${gameappid}/header.jpg"
else
alertimage="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/gameheaders/${shortname}-header.jpg"
fi

Loading…
Cancel
Save