Skip to content

Commit 5c33eb3

Browse files
committed
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.
1 parent 4f2acdd commit 5c33eb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lgsm/modules/command_dev_query_raw.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ echo -e ""
260260
echo -e "${lightgreen}Steam Master Server Response${default}"
261261
echo -e "=================================================================="
262262
echo -e ""
263+
echo -e "curl -m 3 -s https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=${publicip}"
264+
echo -e ""
263265
echo -e "Response: ${displaymasterserver}"
264266
echo -e ""
265267

0 commit comments

Comments
 (0)