feat: Steam and Minecraft game server checks #104

Merged
Sebi merged 1 commits from feat/game-checks into main 2026-11-22 17:53:37 +00:00
Owner

Stacked on #103.

  • Steam (A2S_INFO): what the Steam server browser asks; answers the challenge newer servers send. Covers Source and most Steam-listed games (CS2, Rust, ARK, Valheim, …).
  • Minecraft: Java Edition server list ping (TCP) and Bedrock Edition RakNet unconnected ping (UDP).
  • Optional minimum free slots; a full server fails with "19 of 20 slots taken".
  • Silent server → "no answer from the game server"; another protocol on the port → "not a Minecraft server" right away instead of waiting for a packet that never comes.

No new dependencies: the three protocols are small and implemented directly. Network guard for TCP and UDP.

Tests: protocol-accurate test servers (A2S with challenge, Java status, Bedrock pong), silent and foreign-protocol ports. Checked once by hand against public Java and Bedrock servers (both up, ~250–480 ms).

Closes #96

🤖 Generated with Claude Code

https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3

Stacked on #103. - **Steam (A2S_INFO):** what the Steam server browser asks; answers the challenge newer servers send. Covers Source and most Steam-listed games (CS2, Rust, ARK, Valheim, …). - **Minecraft:** Java Edition server list ping (TCP) and Bedrock Edition RakNet unconnected ping (UDP). - Optional **minimum free slots**; a full server fails with "19 of 20 slots taken". - Silent server → "no answer from the game server"; another protocol on the port → "not a Minecraft server" right away instead of waiting for a packet that never comes. No new dependencies: the three protocols are small and implemented directly. Network guard for TCP and UDP. **Tests:** protocol-accurate test servers (A2S with challenge, Java status, Bedrock pong), silent and foreign-protocol ports. Checked once by hand against public Java and Bedrock servers (both up, ~250–480 ms). Closes #96 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi added this to the M11 Uptime Kuma parity milestone 2026-11-22 15:56:50 +00:00
Sebi changed target branch from feat/protocol-checks to main 2026-11-22 17:53:10 +00:00
Sebi added 1 commit 2026-11-22 17:53:10 +00:00
feat: Steam and Minecraft game server checks
ci / lint (pull_request) Successful in 5m44s
ci / build (pull_request) Successful in 5m8s
ci / image (pull_request) Successful in 4m43s
ci / test (pull_request) Successful in 17m9s
36301ed146
Steam servers are asked for A2S_INFO like the server browser does,
answering the challenge newer servers send. Minecraft Java Edition gets
the server list ping, Bedrock Edition a RakNet unconnected ping. A
minimum of free slots can be required. The protocols are implemented
directly; tested against protocol-accurate test servers and once by
hand against public Java and Bedrock servers.

Closes #96

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi merged commit a78f93de31 into main 2026-11-22 17:53:37 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#104