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.
This commit is contained in:
Daniel Gibbs 2023-09-19 16:57:09 +01:00
parent 4f2acdd12a
commit 5c33eb33c4
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55

View File

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