4
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
5c33eb33c4

+ 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 ""