Skip to content
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

i cant get to work with realms #3581

Open
1 task
MehmetCanWT opened this issue Feb 10, 2025 · 3 comments
Open
1 task

i cant get to work with realms #3581

MehmetCanWT opened this issue Feb 10, 2025 · 3 comments

Comments

@MehmetCanWT
Copy link

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: #.#.#
  • server: vanilla/spigot/paper #.#.#
  • node: #.#.#

Detailed description of a problem

cant get to work with realms

Your current code

const mineflayer = require('mineflayer')

const bot = mineflayer.createBot({
username: 'mail',
realms: {
// This function is called with an array of Realms the account can join. It should return the one it wants to join.
pickRealm: (realms) => realms[1]
},
auth: 'microsoft' // for offline mode servers, you can set this to 'offline'
})

bot.on('chat', (username, message) => {
if (username === bot.username) return
bot.chat(message)
})

// Log errors and kick reasons:
bot.on('kicked', console.log)
bot.on('error', console.log)
Some code here, replace this
*/


@MehmetCanWT MehmetCanWT added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Feb 10, 2025
@extremeheat
Copy link
Member

If you can't provide more information on the problem this issue will be closed

@extremeheat extremeheat added waiting info from op and removed possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Feb 10, 2025
@MehmetCanWT
Copy link
Author

im trying to run minelayer protocol and mineflayer realms
but i cant make it how do i make my bot join realms or get realms id

@MehmetCanWT
Copy link
Author

If you can't provide more information on the problem this issue will be closed

i get realms id but i cant make bot join realms or something how can i do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants