Status and networks
How status works#
- With an address: mcHub pings
host:portin the background (a normal Minecraft server list ping) and caches the result. The card shows online or offline, players, the server's limit, MOTD and latency. - With only a proxy-name: the player count comes from the proxy over the BungeeCord plugin channel (
PlayerCount). The proxy cannot say a server is offline, so the card shows the count and no online or offline label. It needs at least one player online to ask the proxy. - Neither: the card shows no status (useful for command cards).
Menus only read the cache, so opening the selector never waits for the network. Pings run on their own threads (network.ping-threads) with a timeout (network.ping-timeout-ms) and repeat every network.refresh-seconds.
BungeeCord and Velocity#
Connecting uses the BungeeCord plugin message channel (Connect), which BungeeCord answers and Velocity answers too. On Velocity the BungeeCord channel must be enabled (it is by default).
SRV records
Pings do not follow DNS SRV records. Write the real host and port in address.
Run /mchub status to see every card's state, players, ping and where the status comes from.
On a single server
Use COMMAND cards (for example warp survival) and portals. Nothing about the proxy is needed.