Skip to main content

GetIPInfo

Fetches information about a provided player IP address using ProxyCheck.io.

Syntax​

GetIPInfo @player "apiKey"?

Returns​

reference to IPInfo object

Arguments​

NameRequiredTypeDescription
playerYesPlayer value e.g. @player, with EXACTLY 1 player.
apiKeyNoAny text e.g. "Hello, World!"The API key to use for the request. If not provided, the keyless API will be used.

Details​

The keyless API is limited to 100 queries per day, which may not be enough for a big server. Consider providing your own API key from https://proxycheck.io/ if you need more (up to 1,000 requests per day on the free tier).

Possible errors​

  • Failed to fetch IP info: %message%
  • API Error: %message%

On a running server​

Use serhelp GetIPInfo to inspect the reference generated by your installed SER version.