Page 1 of 1

Server status

Posted: Wed Jun 19, 2013 9:14 am
by MaxyBlack
Hi! how can I get default information about my server (number of players, slots, etc..) using php? It's possible ?

Re: Server status

Posted: Wed Jun 19, 2013 12:46 pm
by StackOverflow
If your server is broadcasted to the master server, you can parse out the public serverlist JSON using json_decode().

http://services.buildandshoot.com/serve ... rsion=0.75

If you aren't using the master server, another option could be to enable the status page and scrape the necessary information off of it.

Re: Server status

Posted: Wed Jun 19, 2013 12:48 pm
by Buffet_of_Lies

Re: Server status

Posted: Wed Jun 19, 2013 2:28 pm
by MaxyBlack
StackOverflow wrote:
If your server is broadcasted to the master server, you can parse out the public serverlist JSON using json_decode().

http://services.buildandshoot.com/serve ... rsion=0.75

If you aren't using the master server, another option could be to enable the status page and scrape the necessary information off of it.
I see status page is the only way. I don't want to publish my server on master server.
but why preview of the map not working ?

Re: Server status

Posted: Wed Jun 19, 2013 2:56 pm
by StackOverflow
Make sure you have all the necessary libraries installed.