-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minecraft supported version, and command. #561
Comments
There is no need to specify the version in the createClient options. The library will figure out the correct version on its own. That said, if you do explicitly put in the version it must be one of the versions listed under bedrock here - https://prismarinejs.github.io/minecraft-data/ 1.21.50 is currently supported; if you get errors on servers running this then you need to update your dependencies with |
The commend is not sending because you did not send it right also you do not send commands with text is it another packet command_request and you are setting it to offline while setting a flow for no reason |
Slauh, can you give me an example of the correct code? |
Try connecting to the server via the bedrock-protocol Relay (see the example) and logging out what a vanilla client sends to the server when you manually send the command. const relay = new Relay({
logging: true // enable logging to terminal
...(rest of arguments)
})
relay.conLog = console.debug
relay.listen() You can pipe the output of the terminal to a file for easier viewing of the packet logs. |
Hello, i am using the bedrock-protocol library to create a bot for Minecraft Bedrock. However, I encountered an issue while trying to connect to a server running version 1.20.51. The client throws the following error:
Error: Unsupported version 1.20.51
Could you please confirm if this version is supported by the library? If not, could you provide an estimated timeline for its support or suggest a workaround?
Additionally, I would like to know how the bot can execute commands after connecting to the server. I attempted to send a command to the server using the client.queue method, but it does not work—the command is either not sent or not recognized by the server. Below is the example code I am using, but it does not work, and the command is not executed:
I would appreciate clarification on the following points:
Thank you for your time and assistance!
Best regards,
NoHaije So1o.
The text was updated successfully, but these errors were encountered: