Bläddra i källkod

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 år sedan
förälder
incheckning
5c33eb33c4
1 ändrade filer med 2 tillägg och 0 borttagningar
  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 ""