Update to mc-monitor 0.18.0 to support NetherNet healthcheck (#679)

This commit is contained in:
Mohamed Karam authored and GitHub committed 2026-09-19 08:21:53 -05:00
1 parent 71fbc302b4
commit 86e3aa9b55
4 files changed
+8 -18

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
#!/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"