You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to login, it was working before, not anymore."
I can still login and play the game normally trough the launcher (with the same account).
What did you try yet?
I tried updating the package (#1520)
I tried logging in trough the launcher (it worked)
Your current code
constbot=mineflayer.createBot({host: argv["s"],// minecraft server ipusername: argv["n"],// username or email, switch if you want to change accountsauth: 'microsoft',// for offline mode servers, you can set this to 'offline'// port: 25565, // only set if you need a port that isn't 25565// version: false, // only set if you need a specific version or snapshot (ie: "1.8.9" or "1.16.5"), otherwise it's set automatically// password: '12345678' // set if you want to use password-based auth (may be unreliable). If specified, the `username` must be an email})bindEvents(bot);/*Some code here, replace this*/
Expected behaviour
Logging in to the given server with the given account
Additional context
The error:
Error: Failed to obtain profile data for #########@gmail.com, does the account own minecraft?
at Object.authenticate (C:\Users\#####\Documents\mineflayer_bot\node_modules\minecraft-protocol\src\client\microsoftAuth.js:31:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
The text was updated successfully, but these errors were encountered:
Versions
Detailed description of a problem
I am unable to login, it was working before, not anymore."
I can still login and play the game normally trough the launcher (with the same account).
What did you try yet?
I tried updating the package (#1520)
I tried logging in trough the launcher (it worked)
Your current code
Expected behaviour
Logging in to the given server with the given account
Additional context
The error:
The text was updated successfully, but these errors were encountered: