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
Hi,
I'm using Mineflayer through Python and it works really great on my computer. I'm using the 'password' field in createBot.
However when setting up the bot on a remote server so it can be online infinetely, it just hangs. The bot will never login to the server.
I'm assuming it's because of Microsoft auth. And tried to remove the 'password' field in order to use code-based auth (Mineflayer gives a code you put into microsoft.com/link, as per some Github issues) but it doesn't work either.
On my server, it hangs indefinitely at "Connecting...". No error or anything. Same with or without password field.
On my computer, it does work with or without password field (when I remove password field, it just continues to work, no code prompt or whatever) so it might be due to my computer being logged into the microsoft account through my browser but the IP of my server never ever connected to the microsoft account (anti-bot policy maybe?).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm using Mineflayer through Python and it works really great on my computer. I'm using the 'password' field in createBot.
However when setting up the bot on a remote server so it can be online infinetely, it just hangs. The bot will never login to the server.
I'm assuming it's because of Microsoft auth. And tried to remove the 'password' field in order to use code-based auth (Mineflayer gives a code you put into microsoft.com/link, as per some Github issues) but it doesn't work either.
Code
On my server, it hangs indefinitely at "Connecting...". No error or anything. Same with or without password field.
On my computer, it does work with or without password field (when I remove password field, it just continues to work, no code prompt or whatever) so it might be due to my computer being logged into the microsoft account through my browser but the IP of my server never ever connected to the microsoft account (anti-bot policy maybe?).
Do anyone have a clue ?
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions