THANK YOU, I am making a tool right now what uses the domain not IP to get the server, if the server api includes it's IP you just updates my tool thank you
Update
Address:port/info | { "Address": "IP", "GamePort": 30877, "WebPort": 45090, "Description": "Description", "Ping": 0, "OnlinePlayers": 2, "TotalPlayers": 2, "TimeSinceStart": 11790.33674666666, "TimeLeft": 2580209.711576574, "Animals": 6793, "Plants": 543220, "Laws": 1, "WorldSize": "2.07km²", "Version": "0.7.1.2 beta", "EconomyDesc": "0 trades, 0 contracts", "SkillSpecialization": "Low." } |
I think it only returns IP if NAT is enabled
{
"GamePort": 3000,
"WebPort": 83,
"Description": "#######",
"Ping": 0,
"OnlinePlayers": 0,
"TotalPlayers": 4,
"TimeSinceStart": 148772.94474379678,
"TimeLeft": 10219227.188922646,
"Animals": 2430,
"Plants": 100893,
"Laws": 1,
"Leader": "#######",
"WorldSize": "0.52km²",
"Version": "0.7.1.2 beta",
"EconomyDesc": "0 trades, 0 contracts",
"SkillSpecialization": "Medium."
}
See Address is missing, dam I wanted to use that so I didn't need to use a domain to IP service lol
---- Automatically Merged Double Post ----
http://IP:PORT/api/v1/plugins | { "Message": "An error has occurred." } |