English description
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.
Demo
I have set up a demo server which you can check the results on.
I have three servers under a Bungee server:
example_server
non_existing_example
hidden_exampleConfig:
blacklist_mode: false
servers:
- example_server
- non_existing_example
check_frequency: 10Result:
MCStatus.live API response
Response
{
"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"
}
]
}Magyar nyelvű leírás
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.
Minta
Készítettem egy minta szervert, ahol megnézhetitek a működést.
Három szerverem van egy Bungee szerver mögött:
example_server
non_existing_example
hidden_exampleKonfig:
blacklist_mode: false
servers:
- example_server
- non_existing_example
check_frequency: 10Eredmény:
MCStatus.live API eredménye
Válasz részlet
{
"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"
}
]
}Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta