Sl.Servermonitor/en
From sl.Wiki
Contents |
[edit]
sl.Servermonitor
The sl.Servermonitor is a tool for serveroperators, to show their serverstate on their website, the users/visitors of this website can also join with one click (sl.Gamelauncher needed) this server.
[edit]
Requirements
There are some requirements necessary for running the sl.Servermonitor on your website:
- PHP/FTP: This server needs PHP and you need access via FTP.
- sl.Wrapper: It's "API" which is also necessary
| Note: you have to put the sl_wrapper.php in the same directory like your page! |
[edit]
Include it to your website
[edit]
Embedding via HTML
for simple HTML you just have to copy this code into your website
<script language="javascript" src="http://et.splatterladder.com/export/servermon.js.php?ip=213.202.210.55:27960"> </script>
[edit]
Embedding via PHP
To embedd the sl.Servermonitor via PHP you have to do this: (thanks to drapp|fake*BB* for this advice)
<?php echo "<script language=\"javascript\" src=\"http://et.splatterladder.com/export/servermon.js.php?ip=83.142.85.186:40000\"></script>"; ?>
Or:
<?php echo ' <script language="javascript" src="http://et.splatterladder.com/export/servermon.js.php?ip=213.202.210.55:27960"></script> '; ?>
[edit]
Embedding in SL-Claninfo
If you want to have the servermonitor in your splatterladder claninfo, then you just need the IP-address of your server, example:
[servermonitor=et]213.202.210.55:27960[/servermonitor]
That's all, you don't need the sl.Wrapper in this case
[edit]
FAQ - Frequently asked questions
[edit]
Q: It shows always "loading", what does it mean?
- A: In the most cases it just means that the sl.Wrapper is missing or in the wrong directory
[edit]
Links
- the original CSS-file for the servermonitor (needed if you want to adjust the style to your website)
- dthe sl.Servermonitor FAQs in the sl.Forums (detailed documentation, due the wiki is still in progress)

