Sl.Servermonitor/en

From sl.Wiki

Jump to: navigation, search


Image:Flag_en_xs.png This article is currently work in process
example of scrolling monitor
Enlarge
example of scrolling monitor

Contents

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.

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
Hint
Note: you have to put the sl_wrapper.php in the same directory like your page!

Include it to your website

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>

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>
';
?>


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


FAQ - Frequently asked questions

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

Links

Personal tools
In other languages