Map NetherNet properties and fix healthcheck (#675)

* Map NetherNet properties and add a TCP-aware healthcheck.

TRANSPORT/SERVER_UDP_PORTS/SERVER_IP were ignored; latest BDS also fails the RakNet healthcheck. Leave TRANSPORT unset so pinned RakNet versions keep zip defaults.

* Drop the README hedge about client verification of SERVER_UDP_PORTS.
This commit is contained in:
Jonathan Mendez authored and GitHub committed 2026-09-17 07:40:43 -05:00
1 parent 43e5ef3607
commit 71fbc302b4
5 files changed
+57 -1

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# Only probe NetherNet HTTP when the user asked for it. Otherwise RakNet UDP
# via mc-monitor — including unset TRANSPORT and older VERSION= pins.
SERVER_PORT="${SERVER_PORT:-19132}"
if [[ "${TRANSPORT,,}" == "nethernet" ]]; then
exec curl -fsS -o /dev/null --max-time 5 "http://127.0.0.1:${SERVER_PORT}/v1/join"
fi
exec mc-monitor status-bedrock --host 127.0.0.1 --port "$SERVER_PORT"