Server Status Banner

Host your own server and communicate with server operators.
3 posts Page 1 of 1 First unread post
programmingpony
Deuce
Posts: 3
Joined: Mon Feb 16, 2015 11:34 am


Hey, its me ProgrammingPony (14y old programmer from germany)

I wrote a php file that creates an Image with Informations about your Server.

You can get the php file here

http://www.file-upload.net/download-103 ... r.rar.html

If you want it to work upload it and change a few things:

$font_file = ''; //Enter path to YOUR font file here , mine is
for example '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf'

$server = "aos://1214121006:32887"; // Enter Your IP of the server. Example: aos://xxxxxxxxxxx:32887

If you want custom stuff like other size or other informations, the parameters for example
//imagefttext($im, 15, 0, 10, 50, $green, $font_file, 'Name: ' .$a[$i]['name']);
are
//Size, Rotation, X, Y, Color, Font, Text;

* You can use the following values to display custom informations:
* 'name'
* 'players_current'
* 'players_max'
* 'map'
* 'latency'
* 'game_mode'
* 'country'

If you have done everything you can use the image just enter the url to your script where you would enter the path to the image/use img tags
Code: Select all
[img]http://thorstian.private-testing.thedomibnetworks.net/aosbanner.php[/img]
Image

will create the image. If you want to join with a click on the image add
Code: Select all
[url=aos://1214121006:32887][img]http://thorstian.private-testing.thedomibnetworks.net/aosbanner.php[/img][/url]
But use your server ip!

[url=aos://1214121006:32887]Image[/url]

If you click on this image you can join.
maybe ill make a script on my server later where you only have to send the url and the server does the rest so u have nothing to do...

If you have any trouble or need help mail me: [email protected]

If the inages should not be displayed i changed my files or took the aos Server offline...

[sry im not a good writer im from germany, please mail me im not often online here]
Warp
Green Master Race
Green Master Race
Posts: 704
Joined: Mon May 19, 2014 4:07 pm


Actually, that's really clever. Well done man.
programmingpony
Deuce
Posts: 3
Joined: Mon Feb 16, 2015 11:34 am


Thanks ^.^ ill add a URl so you can use it for every server soon
3 posts Page 1 of 1 First unread post
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 21 guests