bedrock-protocol icon indicating copy to clipboard operation
bedrock-protocol copied to clipboard

[Feature] Support Query protocol

Open hvlxh opened this issue 2 years ago • 3 comments

can't just create another socket to send the information of server cuz it will shows 'already using' so better to feature it.

hvlxh avatar Apr 01 '23 16:04 hvlxh

I wasn't aware Bedrock servers implemented the pc query protocol. Is there any reason to use that opposed to doing an unconnected pong, like the vanilla client fetches information?

extremeheat avatar Apr 01 '23 20:04 extremeheat

query can gives more information than ping like plugins, server software name, players list, etc

hvlxh avatar Apr 02 '23 09:04 hvlxh

We don’t appear to implement this in nmp either, per https://github.com/PrismarineJS/node-minecraft-protocol/issues/456. So far no big problems since then, but indeed this is something we could support in the future.

extremeheat avatar Apr 02 '23 16:04 extremeheat