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

'An internal error occurred in your connection.' - while changing worlds #3529

Closed
RutekGutek opened this issue Dec 15, 2024 Discussed in #3528 · 1 comment
Closed

'An internal error occurred in your connection.' - while changing worlds #3529

RutekGutek opened this issue Dec 15, 2024 Discussed in #3528 · 1 comment

Comments

@RutekGutek
Copy link

Discussed in #3528

Originally posted by RutekGutek December 15, 2024
I was trying to make a bot for specific minecraft server but I got an error.
Every time after the bot logs in with the login command ( bot.chat('/login password'); ) It gets kicked instantly (Normaly after logging in, server should transfer you to lobby (different world))

Code:

const mineflayer = require('mineflayer');

const bot = mineflayer.createBot({
    host: 'ip',  
    port: 25565,        
    username: 'name',
    version: '1.21.2'  
});

bot.on("kicked", (r) => {
    console.log(r);
});

bot.on('messagestr', (message) => {
    console.log(message);
    if (message.includes('Verified')) {
        bot.chat('/login password');
}
});

Kick reason:

image

Do you have any ideas?

@extremeheat
Copy link
Member

This is an issue with the server

@extremeheat extremeheat closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants