---Game Server Stats Demo Page---

This is a demo of the gamestats.inc PHP include that I made after examining three or four different things that didn't completely work right for SoF. Maybe I should call it Frankenstein. On this site it appears as follows, using the server at 71.47.184.73:28910 as an example:

Server Stats
No Server Response! (Possibly OFFLINE)

Simply edit the $gsip and $gsport variables in the gamestats.inc file to match your server's IP and hostport, then place the gamestats.inc file in the same directory as your PHP page and place the require("gamestats.inc"); code where you wish the stats table to appear. By default, it is designed for a dark background. The code is still rough and some symbols don't display correctly, but it serves my needs well enough, so I doubt I'll do anything more with it. Feel free to modify as needed or ask for assistance.

Click to download the gamestats.inc file.
Sorry, there's no readme. I'm lazy!

If you prefer the SoF Things server stats or if your webhost does not allow php scripting on your page, you could use an iframe to display your server stats on your site. Also, if you have the ability to create BB code for your forum, you could make a BB code similar to the one I made for the {DT} forums, which allows a user to display the SoF Things server stats in an iframe in their forum post. Here is an example of the iframe in action for the same server as above to display the stats from SoF Things:

Face it, the SoF Things site is awesome! Anyway, the code for the above iframe is located below. Copy it onto your page where you want it to display and change the IP and hostport to match your server:

Click on the Text Box below to select code. Then Copy and Paste.