-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fjust created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug
Description
- [Yes] The FAQ doesn't contain a resolution to my issue
Versions
- mineflayer: 4.33.0
Detailed description of a problem
I have a premium Minecraft account and can log into most servers, but when connecting to some servers, Mineflayer throws the following error:
Error: Failed to obtain profile data for [EMAIL], does the account own minecraft? at Object.authenticate (/Users/derex/Documents/GitHub/Minecraft-AFK-Bot/node_modules/.pnpm/minecraft-protocol@1.62.0/node_modules/minecraft-protocol/src/client/microsoftAuth.js:31:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) Connection failed to 104.243.46.174:25590 - Failed to obtain profile data for [EMAIL]
What did you try yet?
- Confirmed the account is premium and works on most other servers.
- Tested with my account on different servers (only happens on some).
- Looked through FAQ and issues but didn’t find a solution.
Your current code
const mineflayer = require('mineflayer')
const bot = mineflayer.createBot({
host: '104.243.46.174',
port: 25590,
username: '', // my premium account
auth: 'microsoft'
})Additional info
See below for a workaround using pm2 library. Featuring CobbleGuard and Server_Protector!
Metadata
Metadata
Assignees
Labels
Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fjust created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug