Explorar el Código

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 hace 2 años
padre
commit
5c33eb33c4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 ""