Skip to content

Minecraft/mcbestatus#2

Merged
barluscuda merged 3 commits into
mainfrom
minecraft/mcbestatus
May 13, 2026
Merged

Minecraft/mcbestatus#2
barluscuda merged 3 commits into
mainfrom
minecraft/mcbestatus

Conversation

@barluscuda
Copy link
Copy Markdown
Owner

Summary

This PR adds documentation and improves the Minecraft Bedrock server status implementation.

Changes

  • added minecraft/DOCS.md with package usage and API notes
  • improved Bedrock status response parsing
  • validated Bedrock response structure more strictly
  • return errors for invalid numeric fields instead of silently using 0
  • added parser-focused tests for Bedrock status responses
  • kept the existing live Bedrock status test

Why

The package needed clearer usage documentation and more reliable handling of Bedrock server status responses. The parser changes make malformed responses easier to detect and prevent bad data from being treated as valid.

Testing

  • go test ./minecraft

Notes

  • accidental wenowa files were removed in a follow-up cleanup commit and are not part of the final intended change

@barluscuda barluscuda merged commit 458898a into main May 13, 2026
2 checks passed
@barluscuda barluscuda deleted the minecraft/mcbestatus branch May 13, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant