Bedrock support
Add support for Bedrock edition, this is the only working one for java i've found so far sadly
I can do this eventually, but the current priority is to add full SLP support for all the language implementations (#43). Bedrock uses a different protocol that is UDP based.
Yes, this would be an awesome feature! Keep up the good work!
Any update on this guys?
Not as of now, no.
If I understand correctly, there are two ways of getting the basic information from a Bedrock server:
- Via the Raknet
Unconnected Ping/Unconnected Pongpackets (always available, as it is used by the server list) - Equivalent of the SLP-pakets already supported here for the Java edition. Note for later:- What does the surrounding protocol look like? Is it as simple as sending the Ping packet and the server answers? Or does Raknet need anything else before/after?
- Via the Query protocol and Basic Stat request. Needs to be manually enabled on the server. Also contains similar info to the SLP protocol. Looks more complicated (as already stated above by ldiley) - Example: jarne/QueryLibrary, xPaw/PHP-Minecraft-Query
I am going to try and bodge together a proof of concept for the RakNet Ping packet, maybe it can be directly integrated into our existing protocol detection logic.
@mindsolve and I were discussing Bedrock support in Discord yesterday after your inquiry, @zvikasdongre.
I've been working on the Ruby implementation and should have a pull request submitted within the next couple of days. Using Ruby, I am now able to receive pong replies from Bedrock servers after sending a ping request. However, the data contained within the response still needs to be picked apart, the values need to be stored in the appropriate fields, and a bit more polish is required prior to committing.
@mindsolve also mentioned that he will begin working on the Python version soon. Once we have a working incarnation to use as a reference, it will be easier to port the functionality to some of the other languages.
For protocol support status, please see issue #43.