Resource icon

Script GeoIp v0.1.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Feel free to take the skript and make it better, and repost as your own, just make sure you link to this thread. :emoji_slight_smile:
I have a different GeoIP script I might post soon. It is based off of yours, but I didn't directly use or take from yours. Thanks for the example, though.
 
  • Like
Reactions: tim740
upload_2018-7-14_2-50-14.png

The Script isn't working anymore, sadly.
To those who still use this, i updated it for you:

function geoIp(p: player) :: texts:
set {_url} to "http://ip-api.com/json/%{_p}'s ip%"
set {_ut::*} to content of json value's "city", "country", "countryCode", "isp", "regionName" and "timezone" from text "%line 1 from url {_url}%"
return {_ut::*}
 
Last edited: