Server Status Banner Generator icon

Server Status Banner Generator -----

Create server status banners as an image for use through an API



[​IMG] Consider donating!
It helps me keep on supporting my plugins while keeping them free! Click me!

Looking for places to host your new Minecraft server? Look no further than BisectHosting! (25% off inside!)
[​IMG]
Before being a plugin developer, I've actually used BisectHosting before. Their servers run smoothly (when given enough RAM, of course) and they respond to their support tickets super fast, 24/7. They continued to assist me swiftly own downloading my data and worlds even after my server had expired!

Interested? Then here's a deal for you!
Click the banner or the link below to get a 25% discount off your first month when buying any of their gaming servers!
It also supports my development as well, take it as an alternative way to donate while getting your very own Minecraft server as well!


P.S. Using the link or clicking the banner rather than the code supports me more! (Costs you no extra!)

https://www.bisecthosting.com/loohp

[​IMG]

[​IMG]
Join the discord server here!


About
Create server status banners for use on web pages (or wherever you like), mimicking the style of how it is shown in the multiplayer server list in the Minecraft Client.

Examples
[​IMG]

[​IMG]

[​IMG]

[​IMG]

[​IMG]

Usage
The generator functions by receiving HTTP GET requests through an API

Basic Usage:
Code (Text):
https://api.loohpjames.com/serverbanner.png?ip=<server-ip>
This will create a server status banner with the default dirt background, cached for 5 minutes.

Customization:
You can add a few parameters to the query string to customize the appearance of the banner.

Key (data type) [description]
- width (integer) [Controls the size of the banner, defaults to 1836)
- name (string) [The top most line of text in the banner, defaults to "IP: <server-ip>", if port is not 25565, "IP: <server-ip>:<port>"]
- port (integer) [The port number of the server, defaults to 25565]
- offlinemessage (string) [The message to be shown when the server is unreachable, defaults to "Can't connect to server" in red]
- backgroundurl (string: URL or "transparent") [The background of the banner, defaults to none]
- ping (integer) [The ping in milliseconds used in the ping icon, defaults to 0 (5 bars)]

Note: It is the responsibility of the user to provide a background image with the correct dimensions

Why is the ping always full? This is because whether the ping is good or not from my server is not useful to the end-user so I've decided to have it always maxed.
Resource Information
Author:
----------
Total Downloads: 2,063
First Release: Apr 29, 2021
Last Update: May 14, 2024
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings