Bungee Serverlist Ping icon

Bungee Serverlist Ping -----

Extending minecraft ping protocol response with the proxy servers list.



This plugin extends minecraft ping protocol response with the proxy servers list.

Problem
When you have a Proxied server you want to protect the servers with firewall. It makes impossible to ping it so you can't get any status for your website.

Solution
This plugin adds the option to list your player count for each server in the response.

How does it work?
The plugin checks for the status in every 10 seconds which is configurable.
If there are players online it means the server is online, else it pings it.
The plugin adds the name, MOTD, and playercount of every server to the main ping response.

Is every server listed?
By default, yes. However you can blacklist or whitelist servers from appearing. (For example you don't want to show lobbies.)

Who is this plugin for?
Mostly web developers because the need to work with APIs.

Is there any existing API which lists such information?
Sure! Here is a list of a few I found:
MCStatus.live
Minecraft-API.com
MC-API.net

What proxies are supported?
Currently only Bungee and forks like Waterfall.
I have plans for making the plugin for Velocity.

I have set up a demo server which you can check the results on.
I have three servers under a Bungee server:
Code (Text):
example_server
non_existing_example
hidden_example
Config:
Code (YAML):
blacklist_mode : false

servers
:
 - example_server
 - non_existing_example

check_frequency
: 10
Result:
MCStatus.live API response
Code (Text):
{
  "online": true,
  "motd": { ... },
  "players": { ... },
  "version": "BungeeCord 1.8.x-1.20.x",
  "protocol": 765,
  "icon": null,
  "servers": [
    {
      "online": true,
      "name": "example_server",
      "motd": { ... },
      "players": 123
    },
    {
      "online": false,
      "name": "non_existing_example"
    }
  ]
}

Ez a plugin a minecraft ping protokoll válaszát egészíti ki a proxy szerverlistájával.

A probléma
Amikor proxy-zott szervered van, a szervereket tűzfallal véded. Ez viszont nem teszi lehetővé a szerverek pingelését, így nem tudsz státuszt tenni a weboldaladra.

A megoldás
Ez a plugin minden szerver játékosszámát kiküldi az alap státusszal együtt.

Hogyan működik?
A plugin ellenőrzi a státuszt 10 másodpercenként, ami konfigurálható.
Ha van elérhető játékos akkor a szerver biztosan elérhető, különben pingeli.
A plugin minden szerver nevét, MOTD-jét és játékosszámát hozzáteszi az alap ping válaszhoz.

Minden szerver listázva van?
Alapértelmezetten igen. A konfigban azonban szűrhető mely szerverek jelenjenek meg, és melyek ne. (Például a lobby-kat nem akarod megjeleníteni.)

Kiknek készült ez a plugin?
Főleg webfejlesztőknek, mivel API-val kell dolgozni.

Van bármilyen meglévő API ami támogatja ezt?
Persze, itt van egy lista néhányról melyet találtam:
MCStatus.live
Minecraft-API.com
MC-API.net

Mely proxy-k támogatottak?
Jelenleg csak a Bungee és a fejlesztései mint a Waterfall.
Tervben van a Velocity-ra való elkészítés is.

Készítettem egy minta szervert, ahol megnézhetitek a működést.
Három szerverem van egy Bungee szerver mögött:
Code (Text):
example_server
non_existing_example
hidden_example
Konfig:
Code (YAML):
blacklist_mode : false

servers
:
 - example_server
 - non_existing_example

check_frequency
: 10
Eredmény:
MCStatus.live API eredménye
Code (Text):
{
  "online": true,
  "motd": { ... },
  "players": { ... },
  "version": "BungeeCord 1.8.x-1.20.x",
  "protocol": 765,
  "icon": null,
  "servers": [
    {
      "online": true,
      "name": "example_server",
      "motd": { ... },
      "players": 123
    },
    {
      "online": false,
      "name": "non_existing_example"
    }
  ]
}
Resource Information
Author:
----------
Total Downloads: 122
First Release: Feb 25, 2024
Last Update: Feb 28, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings