Hi, I'm trying to setup a bridge bot using an alt for my guild, however the alt is a microsoft account rather than a mojang account. In MinecraftManager.js
I've changed auth: 'mojang'
to auth: 'microsoft'
as below/
createBotConnection() {
return mineflayer.createBot({
host: config.server.host,
port: config.server.port,
username: config.minecraft.username,
password: config.minecraft.password,
version: false,
auth: 'microsoft',
})
}
\hypixel-discord-chat-bridge-master\node_modules\minecraft-protocol\src\client\microsoftAuth.js:27
if (err.details) throw new Error(`Unable to authenticate with Xbox Live: ${JSON.stringify(err.details)}`)
^
Error: Unable to authenticate with Xbox Live: {"statusCode":401,"reason":"UNAUTHORIZED"}
at \hypixel-discord-chat-bridge-master\node_modules\minecraft-protocol\src\client\microsoftAuth.js:27:30
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at async module.exports (\hypixel-discord-chat-bridge-master\node_modules\minecraft-protocol\src\client\microsoftAuth.js:25:25)
I've tested with my main (mojang) account and it works perfectly, but I'd rather not use that for a chat bridge.
Any help you could give would be greatly appreciated, thanks in advance :)