Nexuiz Server Monitor is a way for you as a server admin add some stats about your server to your webpage, that way your visitors can see what gametype, map etc. your server is running. Below is a very small explanation of the accepted parameters and some usage examples.
Below you can find the parameters the script accepts. All parameters should be passed with the GET method (stats.php?param1=value¶m2=value)
Below you can find examples of usage, all the examples have their respective code and a explanation above the image.
This example does only use one parameter, all the other configurables are set as default.
<img src="http://static.doxer.se/other/nexuiz/stats.php?s=213.203.212.226" alt="Nexuiz Server Monitor" />
This example shows how to use custom background. The background is set to 169-169-169 wich is a dark grey color.
<img src="http://static.doxer.se/other/nexuiz/stats.php?s=213.203.212.226&bg=169,169,169" alt="Nexuiz Server Monitor" />
This example shows how to use custom font color. Font clor is set to 255-69-0 and the background is set to 169-169-169 wich is a dark grey color.
<img src="http://static.doxer.se/other/nexuiz/stats.php?s=213.203.212.226&bg=169,169,169&fc=255,69,0" alt="Nexuiz Server Monitor" />
In this example the name of the server is in dark violet (148-0-211) instead of black.
<img src="http://static.doxer.se/other/nexuiz/stats.php?s=213.203.212.226&namec=148,0,211" alt="Nexuiz Server Monitor" />
Here we have a custom font selected from the list below (PT Sans Caption,7), use the font id as variable to the font parameter. All the fonts are free to use in both commercial & personal projects.
<img src="http://static.doxer.se/other/nexuiz/stats.php?s=213.203.212.226&font=7" alt="Nexuiz Server Monitor" />
If you have some really good free fonts, please email the link to jeremy@doxer.se or post it in the forum post.
Feel free to mix colors and different types of color schemes, if you want you can download the source from sourceforge and add your own features. There is also a forum post about this script. If you think this is a good service, please drop a mail to jeremy@doxer.se or post a comment in the forum. Any bugs should be reported to the bugtracker