Server status

Host your own server and communicate with server operators.
5 posts Page 1 of 1 First unread post
MaxyBlack
Deuce
Posts: 5
Joined: Wed Jun 19, 2013 9:11 am


Hi! how can I get default information about my server (number of players, slots, etc..) using php? It's possible ?
StackOverflow
Head Admin / Co-founder
Head Admin / Co-founder
Posts: 216
Joined: Sat Sep 22, 2012 8:13 am


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.
Buffet_of_Lies
Mapper
Mapper
Posts: 402
Joined: Tue Nov 20, 2012 11:25 am


MaxyBlack
Deuce
Posts: 5
Joined: Wed Jun 19, 2013 9:11 am


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 ?
StackOverflow
Head Admin / Co-founder
Head Admin / Co-founder
Posts: 216
Joined: Sat Sep 22, 2012 8:13 am


Make sure you have all the necessary libraries installed.
5 posts Page 1 of 1 First unread post
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 20 guests