Ace Of Spades Server Status Script

I made a PHP script a while back for the purpose of getting the status of a running server

It uses buildandshoot’s API for getting server status, which gets all information on the server. It outputs it in HTML - which allows you to load it into a div or load it in an iframe.

I might make it a JSON API in the future, however I would most likely re-write it in node.js.


favicon.svg


Pyspades-based servers (piqueserver, pyspades, pysnip) already have a status server built in!

What are the advantages of this?

http://stats.aloha.pk:1337/

That’s neat, I need to check it out one of these days now.

Sorry for such a late response, but the purpose would be to allow people to embed the stats in their websites - such as a guild or something would be able to embed the output into a page. The stats in which you are referencing are not necessarily embed-able into a page - as it is it’s own page.

Also I don’t know how to edit posts, so I’ll re-link here for future discovery (changed github usernames):


favicon.svg


Huh, okay! That’s pretty neat. You might want to communicate with the servers API directly for some more info though.

Nonetheless, I have added it as a feature request on Piqueserver, which is the only currently actively developed fork of pyspades/pysnip: Embeddable Status Badge · Issue #186 · piqueserver/piqueserver · GitHub

Of course, yours has the advantage of being able to show when the server is down… We couldn’t do that.