-
Hello thereI'm creating a bot and it works well on a LAN world. But i'm now trying to connect to a realm world and it's not working. Do I need to specify something in the bot properties ? My current bot properties: const bot = mineflayer.createBot({
host: process.argv[2],
port: parseInt(process.argv[3]),
username: process.argv[4],
password: process.argv[5],
}); UpdateI finally succed to connect my bot. The only I changed is that I specified the version property. That's the solution I guess. const bot = mineflayer.createBot({
host: process.argv[2],
port: parseInt(process.argv[3]),
username: process.argv[4],
password: process.argv[5],
version:"1.18.1" // put your version here
}); PS: I get the realm server id thanks to Wireshark |
Beta Was this translation helpful? Give feedback.
Answered by
Fl0ops
Jan 29, 2022
Replies: 1 comment
-
Answered |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fl0ops
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answered