Przeglądaj źródła

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 lat temu
rodzic
commit
5c33eb33c4
1 zmienionych plików z 2 dodań i 0 usunięć
  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 ""