There is a built-in web server in sphere that you can enable using the following setting in sphere.ini:
Code:
// Use the built in http server
// 0 - disable http server and webpage generation
// 1 - disable http server and enable webpage generation
// 2 - enable http server and webpage generation (default)
UseHttp=1
You can define some more behavior for that webserver using these settings:
Code:
///////////////////////////////////////////////////////////////
//////// Webpage Settings
///////////////////////////////////////////////////////////////
// Note, that you can catch error codes by creating sphere404.htm and so on
// for all HTTP error codes sphere support.
[WEBPAGE 1]
// Determines what html file is used as base for the status page
WebPageSrc=scripts\web\spherestatusbase.html
// Determines where the status page is saved
WebPageFile=scripts\web\status.html
// In seconds, how often the status file is updated
WebPageUpdate=60
// Required PLevel to view this page (0 = anyone, 6 = admins only)
PLevel=0
If you want those html files to look different, then you need some other webserver to fetch and rewrite the content however you desire. Here is a primitive php sample for you to start from (note "10.0.1.100" is the internal IP of the sphereserver, and "athlore" is the name of the shard):
PHP Code:
<?php
print "The following players are in-game right now! If you want to see what they are up to then you need to start playing!<br>";
print "<table width='100%'>";
print "<tr><th colspan=2><center>Sphere</center></th></tr>";
print "<tr><td>";
$url = "http://10.0.1.100/athlore/status.html";
$str = file_get_contents($url);
print $str;
print "</td></tr>";
print "</table>";
?>
If you don't know php, get a book from Amazon...
The web\spherestatusbase.html in that previous example was edited to look like this:
Code:
<table border="1" width="100%">
<tr>
<th><strong>Name</strong></th>
<th><strong>Location</strong></th>
</tr>
<script language="Sphere">CLIENTLIST <tr %LISTCOL%><td>%NAME%</td><td>%REGION.NAME%</td></tr></script>
<tr><td colspan="2"><em>Last updated:</em> %RTIME%</td></tr>
</table>
In that example, you can see that some primitive sphere script can be embedded. It may be possible to do more complex things with it, but I haven't really tried to push that envelope... Good luck!
There is no simple way to query sphereserver to find out what your players are wearing, so that is why people are suggesting triggers to write that sort of detail to a database etc.