Blockland Forums > General Discussion
Server status image generator | New poll
(1/6) > >>
Hammereditor5:
Today, I got bored and decided to take a break from coding HammerHost. So I thought that it would be a nice idea to program something that dynamically generates an image, which displays the status of a Blockland server.
I ended up using a Java program to draw and rasterize the images, which communicates with the existing Node.js web server at my site.

How to use:

The URL to the generation script is this:
http://www.hammereditor.net/servStatusImg?ipAddr={IP address here}&port={Port here}

You basically replace the IP address (red) and the port (green) with the IP and port of the desired Blockland server. Easy, isn't it?

Example:
http://www.hammereditor.net/servStatusImg?ipAddr=23.229.71.172&port=30400
...results in:


Edit: Wow, I have 354 total page loads already.
Edit: At 3/2/14 9:52:35 PM forum time, 1026 images total have been served.
Jakobblockhead:
nice
Hammereditor5:

--- Quote from: Jakobblockhead on March 01, 2014, 11:00:44 PM ---nice

--- End quote ---
By the way, sorry about the blurry icons.
Also, I made the program count the number of page loads. If this becomes popular enough, I'll also add other stats, such as the gamemode, uptime, and average player count.
Jakobblockhead:

--- Quote from: Hammereditor5 on March 01, 2014, 11:03:14 PM ---Also, I made the program count the number of page loads. If this becomes popular enough, I'll also add other stats, such as the gamemode, uptime, and average player count.

--- End quote ---

why not just do that in the first place?
Renekar:
Navigation
Message Index
Next page

Go to full version