Check is server is online



  • If there anyone with a php script or service that is able to check if a eco server is online? and grab it's infomation like the server list in game?



  • Do a get on this:
    http://{serverip}:{port}/info



  • This wont work if the user is unsure if there getting the site right, I wanted something more like you have on the minecraft listing sites and some of the eco sites, where it will say online and offline stuff like that.

    But I forgot about the server it's self that is a fall back option, thanks.



  • Well, you can say it's offline if the request times out.

    If a return was given, make sure to parse to be sure that it is not erroring out or throwing unwanted exceptions, perhaps this can also be a case where an exclamation point can be shown ;)


Log in to reply