https://www.spigotmc.org/resources/91843/
Usage Documentation for the Minecraft Server Status Banner Generator API.
This service used InteractiveChatDiscordSrvAddon's ability to read and draw Minecraft assets internally. For more information on how it is done, check out the code over there.
The generator functions by receiving HTTP GET requests through an API.
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.
You can add a few parameters to the query string to customize the appearance of the banner.
Key (data type) [description]
IP: <server-ip>
, if port is not 25565, IP: <server-ip>:<port>
]Can't connect to server
in red]Note: It is the responsibility of the user to provide a background image with the correct dimensions
Why is the ping not measured? This is because whether the ping is good or not from my server is not useful to the end user.
https://api.loohpjames.com/serverbanner.png?ip=mc.loohpjames.com&width=1836
https://api.loohpjames.com/serverbanner.png?ip=play.EarthMC.net&width=1836&name=Example%20Server&ping=500&backgroundurl=https://resources.loohpjames.com/spigot/serverbanner/earthmc.png
https://api.loohpjames.com/serverbanner.png?ip=mc.twdtc.net&width=1836&name=Example%20Server&backgroundurl=https://resources.loohpjames.com/spigot/serverbanner/twdtc.png
https://api.loohpjames.com/serverbanner.png?ip=mc-sbs.com&ping=200&width=1836
https://api.loohpjames.com/serverbanner.png?ip=this.server.does.not.exist&width=1836&name=Unknown%20Server%20Example
Use the link or click the banner below to get a 25% discount off your first month when buying any of their gaming servers!
It also supports my development, 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!)