w-gao / py-mcpe-stats

A tool to get basic information from Minecraft: Bedrock Edition servers.
MIT License
16 stars 5 forks source link

Bedrock Software #7

Open cheditx opened 2 years ago

cheditx commented 2 years ago

Don’t work with bedrock software, with pocketmine work perfectly, please fix it!

cheditx commented 2 years ago

Sorry, i just tried mcstats and with this work, but… don’t show the player list why…

w-gao commented 2 years ago

Hi @zChrix, thanks for the report.

The mcquery tool uses the query protocol to fetch detailed server information including player lists, which, unfortunately, is not supported and/or enabled by all server software (e.g.: the official Bedrock server).

This project, mcstats, tries to send and process the first few packets to the target server as would the game itself would do when it fetches for the server status in game (i.e.: when you see the server name and player count on the servers page). This means that mcstats will work as long as the server is running, but there isn't as much information returned with this approach, so we can't do much here.

cheditx commented 2 years ago

Oh ok, thanks, bedrock software is so bad😂