Kaynağa Gözat

feat: add curl command to query Steam Master Server

Add a curl command to query the Steam Master Server for server addresses. This allows retrieving server information using the GetServersAtAddress API endpoint provided by Steam.
Daniel Gibbs 2 yıl önce
ebeveyn
işleme
5c33eb33c4
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      lgsm/modules/command_dev_query_raw.sh

+ 2 - 0
lgsm/modules/command_dev_query_raw.sh

@@ -260,6 +260,8 @@ echo -e ""
 echo -e "${lightgreen}Steam Master Server Response${default}"
 echo -e "=================================================================="
 echo -e ""
+echo -e "curl -m 3 -s https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=${publicip}"
+echo -e ""
 echo -e "Response: ${displaymasterserver}"
 echo -e ""