Skip to content

QueryServer 0.0.2

Latest

Choose a tag to compare

@NhanAZ NhanAZ released this 11 Oct 05:05
· 1 commit to master since this release
v0.0.2
a57058b

QueryServer 0.0.2

This is the first verified GitHub release of QueryServer for PocketMine-MP API 5. The plugin queries Bedrock server status from the console or its callback API.

Changes

  • Use the documented Bedrock endpoint of the Minecraft Server Status API.
  • Fall back to a UDP ping when the HTTP API fails or reports a server offline. For a hostname without a port, use the Bedrock default port 19132. An explicitly supplied port still selects UDP directly.
  • Validate embedded and explicit ports, and deliver each callback once after the final result.
  • Preserve the project's GPL-3.0-only license and the bundled libpmquery LGPL-3.0-or-later notice.

Verification

The tag workflow passed Composer validation, PHP lint, callback and UDP fixtures, PHPStan at maximum level for the plugin and example consumer, PHAR builds and content checks at source commit a57058bd788483a63078362bd92b072614ee3d54. The published PHAR is the exact tag workflow artifact, SHA-256 d38c535b2446e1b0d7d06ff138657b5c955e2d9804a28d2342157a29b83759a8.

The exact PHAR enabled on an isolated Axolotl-PM 5.49.1 server. A live query play.cubecraft.net command received an offline response from the HTTP API, fell back to UDP port 19132, returned CubeCraft's hostname, and the server exited without errors. The HTTP online branch passed the local callback fixture; a live HTTP online response and a connected Bedrock client were not tested. The manifest declares API 5.0.0 and PHP 8.1 or newer; testing one server release does not certify every 5.x patch.

To roll back this first GitHub release, remove QueryServer.phar from the server's plugins directory and restart. QueryServer does not migrate server data.