Multiple bots
See original GitHub issue- What you want to do (the objective in English): I’m trying to make it so both of my accounts/bots will run /server [realm] at login.
- What you tried (the code):
var bot = mineflayer.createBot({
host: ServerIP,
port: ServerPort,
username: MinecraftEmail1,
password: MinecraftPassword1,
version: "1.8"
});
var bot = mineflayer.createBot({
host: ServerIP,
port: ServerPort,
username: MinecraftEmail2,
password: MinecraftPassword2,
version: "1.8"
});
bot.on('login', function() {
bot.chat("/server [realm]");
console.log("Succesfully logged in at " + ServerName);
});
-
What happened: Only one of the bots used /server realm upon login. The other bot stayed in the hub.
-
What you expected to happen: I expected them both to join the realm.
Yes, both of the bots logged into the server but only one of them joined the realm. I was using mineflayer 2.7.5 when getting this issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
6 Elements of a Multi-Bot Architecture to Overcome NLP and ...
A Multi-bot Approach to Conversational AI helps enterprises build more consistent conversational experiences that can scale easily across the business.
Read more >Multiple Bots - Automation Anywhere aPeople
How to pass control between multiple bots so that processing is real time rather than waiting for the scheduler? We have three bots...
Read more >Run Multiple Bots - Hummingbot Docs
Users can run multiple bots of Hummingbot installed via binary by simply running a new instance to open a new window. Multiple bots...
Read more >Multiple bots? : r/TheTowerGame - Reddit
Multiple bots ? Anyone know if you can have more than 1 active bot? I almost have enough to unlock a second bot....
Read more >The Power of Reusable Automations Across Multiple Bots
Save time. Scale quickly and efficiently with reusable automations. Learn how to use an automation across multiple bots.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here. That should work for you Remember to define
ServerIP
,ServerPort
andServerName
Also to login in offline mode passundefined
as password. NOT'undefined'
NOR"undefined"
. Simplyundefined
without quotesfixed in other issue