1

Topic: [TOOL] Server status picture tool.

Hi, i made a tool to be able to show status of a server on homepages - it's pretty easy to use and everyone can use it.
Just use the url:

http://widget.kottnet.net/teestat/stats.php?ip=(serverip)&port=(serverport)

and change the (serverip) and (serverport) to your servers ip and port, examples:



Example on how to use on homepage:

<html>
<head>
<body bgcolor="Silver"> <!--Image background is transparent, use any background you want-->
</head>
<body>
<img src=http://widget.kottnet.net/teestat/stats.php?ip=94.100.19.47&port=8303>
</body>
</html>

View example - will show status for server 93.100.19.47:8303

---

Example on how to use on forums:

[img]http://http://widget.kottnet.net/teestat/stats.php?ip=94.100.19.47&port=8303[/img]

http://widget.kottnet.net/teestat/stats.php?ip=94.100.19.47&amp;port=8303

Enjoy ~/anti-clan

2 (edited by MertenNor 2009-05-20 14:37:09)

Re: [TOOL] Server status picture tool.

cool smile
My Servers:
http://widget.kottnet.net/teestat/stats.php?ip=81.166.222.185&amp;port=8303

http://widget.kottnet.net/teestat/stats.php?ip=81.166.222.185&amp;port=8304

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

3

Re: [TOOL] Server status picture tool.

Really nice! And good that it is available for all servers!

Here one of my servers:

http://widget.kottnet.net/stats.php?ip=81.89.111.217&amp;port=8303

But maybe you can improve the look! It's good that reserved slots aren't counted as normal slots.

And here the same server with Statee:

http://81.89.111.217/include/statsgraph.php/server/1/1/stat.jpg

4 (edited by Daniel 2009-05-20 15:00:09)

Re: [TOOL] Server status picture tool.

unlimreal wrote:

Really nice! And good that it is available for all servers!

Here one of my servers:

http://widget.kottnet.net/teestat/stats.php?ip=81.89.111.217&amp;port=8303

But maybe you can improve the look! It's good that reserved slots aren't counted as normal slots.

And here the same server with Statee:

http://81.89.111.217/include/statsgraph.php/server/1/1/stat.jpg

Actually, its weird that reserved slots dont count, they should do lol.

I don't use any background because if you want to use it on your homepage it might not fit into it at all, i can probaly make options to add your own background picture and change text-color in future if it will be requested.

edit: and i didn't have any picture to use tongue

5

Re: [TOOL] Server status picture tool.

I use the reserved slots only for my serveradmins.. Other people needn't know that they are there big_smile

A option would be great!

6

Re: [TOOL] Server status picture tool.

Cool!
I like it more then Statee because i like the design!
I dont like so many pictures and bla bla...
So it is really clearly!

7

Re: [TOOL] Server status picture tool.

Really awesome man.

lordskelethom - want to reach me quickly? https://discord.gg/teeworlds

8 (edited by Daniel 2009-05-23 14:38:00)

Re: [TOOL] Server status picture tool.

More stuff to come smile

http://widget.kottnet.net/teestat/monitor/qi6on6-player.png
---
http://widget.kottnet.net/teestat/monitor/antirace-player.png

As you can see, qi 6on6 is much more popular than anticlan raceserver xD

9

Re: [TOOL] Server status picture tool.

Daniel wrote:

More stuff to come smile

http://widget.kottnet.net/teestat/monitor/qi6on6-player.png

Cool, i have a suggestion, you should show if the server is protected by a password or not.

lordskelethom - want to reach me quickly? https://discord.gg/teeworlds

10

Re: [TOOL] Server status picture tool.

lordskelethom wrote:
Daniel wrote:

More stuff to come smile

http://widget.kottnet.net/teestat/monitor/qi6on6-player.png

Cool, i have a suggestion, you should show if the server is protected by a password or not.

If someone cares to make a lock-icon i could add it in pretty easily.

11 (edited by LordSk 2009-05-23 14:53:41)

Re: [TOOL] Server status picture tool.

http://mrs29.hosteur.com/~golfdu/charte/icone_cadena.png ?

I just searched this one but i can make another if you want.

lordskelethom - want to reach me quickly? https://discord.gg/teeworlds

12

Re: [TOOL] Server status picture tool.

I think orginal tw-style lock icon would be best, i only have mspaint on this computer so i can't fix it tongue
That picture wont load for me anyway.

13

Re: [TOOL] Server status picture tool.

Daniel wrote:

More stuff to come
some
some
As you can see, qi 6on6 is much more popular than anticlan raceserver xD

How you done this images ?

Ha, i'm too cool for it!

14

Re: [TOOL] Server status picture tool.

Daniel wrote:

I think orginal tw-style lock icon would be best, i only have mspaint on this computer so i can't fix it tongue
That picture wont load for me anyway.

Here it is:
http://img3.imagebanana.com/img/1g58bndu/lockicon.png

15

Re: [TOOL] Server status picture tool.

When i paste the link in my homepage , there is no image o.o
the code is
<img alt="server"
src="http://stats.teesites.net/stats.php?ip=93.129.6.38&amp;amp;port=8303%22" />

Sry for my bad english , im german smile

16 (edited by fazt-squirrel 2009-06-12 18:39:55)

Re: [TOOL] Server status picture tool.

Jay wrote:

When i paste the link in my homepage , there is no image o.o
the code is
<img alt="server"
src="http://widget.kottnet.net/teestat/stats.php?ip=93.129.6.38&amp;amp;port=8303%22" />

try this tongue
<img alt="server"
src="http://widget.kottnet.net/teestat/stats.php?ip=93.129.6.38&port=8303" />

17

Re: [TOOL] Server status picture tool.

Put "alt" attribute after "src". This may not fix the problem, but it is cleaner coding.

<? php echo "Magix"; ?>
------------------------------------------------
Tee-City <--------- The one Teeworlds site to rule them all!

18

Re: [TOOL] Server status picture tool.

i like this tool because you don't need php for it. I only can wite a bit in html but if no clue about php. so its awesome to have sth. like this wink

by `aka~ Destiny'
Teeworlds-Server: www.destinyhas.gotdns.com:8302

19

Re: [TOOL] Server status picture tool.

Try to look TeeWorlds czech fansite sometimes. In the bottom, there is offline picture or online picture with details about each czech servers. I made it alone with GIMP and PHP smile

Goodbye all. Account inactive since March 2011.

20 (edited by MertenNor 2009-07-02 13:44:45)

Re: [TOOL] Server status picture tool.

Daniel wrote:

More stuff to come smile

http://widget.kottnet.net/teestat/monitor/qi6on6-player.png
---
http://widget.kottnet.net/teestat/monitor/antirace-player.png

As you can see, qi 6on6 is much more popular than anticlan raceserver xD

wen is this getting out tongue
it looks awesome ! good work

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

21

Re: [TOOL] Server status picture tool.

Nice!

Could you make it to output as xml? By maybe adding &format=xml to the url smile

22 (edited by Daniel 2009-07-02 14:28:53)

Re: [TOOL] Server status picture tool.

eigan wrote:

Nice!

Could you make it to output as xml? By maybe adding &format=xml to the url smile

Don't really know much about xml x.x, but don't really get it what you mean?
You mean plain text output or what?

@MertenNor:
I planned on making a little server monitoring site where you can see when your server has most players, what maps are most popular etc
But i dropped it since i didn't want to code a register/login thingy and link a server with an account etc since it takes loads of time.

Some examples of everything i made:
http://widget.kottnet.net/teestat/monitor/qi6on6.png                (server monitor thingay)
http://widget.kottnet.net/teestat/monit … player.png     (player monitor)
http://widget.kottnet.net/teestat/monit … ce-map.png      (map monitor)(empty mapname = server was down)
http://widget.kottnet.net/teestat/monitor/lol.png                       (master server monitor)


I might pick the project up and finish it someday, dunno.

23 (edited by lxde 2009-07-04 12:28:00)

Re: [TOOL] Server status picture tool.

It's a very nice tool, in my opinion.

I think, Eigan means something like

<serverstat>
     <name>[NOR] Norwegian Hub</name>
     <ip>81.166.222.185</ip>
     <port>8304</port>
     <mapname>run_into_the_hell</mapname>
     <gametype>RACE</gametype>
     <players>3</players>
     <maxplayers>16</maxplayers>
</serverstat>

(Just for example).
Maybe you could add also the feature to output it as JSON (JavaScript Object Notation).
This format is useful for processing it with JavaScript in the Webbrowser.
It would look somehow like this:

{
  "name" : "[NOR] Norwegian Hub",
  "ip"      : "81.166.222.185",
  "port" : "8304",
  "mapname" : "run_into_the_hell",
  "players"      : "3",
  "maxplayers" : "16"
  }

At the end, it would also be useful to output the server listed queried from the master server.

24

Re: [TOOL] Server status picture tool.

Yep lxde, thats what i was thinking smile
JSON would be nice too.

Daniel, check out XML examples at wiki http://en.wikipedia.org/wiki/Simple_API_for_XML

25 (edited by Daniel 2009-07-02 17:44:54)

Re: [TOOL] Server status picture tool.

Like this?
http://widget.kottnet.net/teestat/stats … &xml=1

(cba reading about XML atm..)