Replies: 1 comment
-
there is such a code, but I don't know how to use it to enter the server: const mineflayer = require('mineflayer') if (process.argv.length < 4 || process.argv.length > 6) { const bot = mineflayer.createBot({ bot.on('chat', (username, message) => { bot.once('spawn', function () { bot.loadPlugin(autoeat) bot.on('spawn', function() { // Stop clicking.. bot.once("spawn", () => { // The bot eats food automatically and emits these events when it starts eating and stops eating. bot.on("autoeat_started", () => { bot.on("autoeat_stopped", () => { bot.on("health", () => { bot.on('kicked', console.log); |
Beta Was this translation helpful? Give feedback.
-
I ran into such a problem, I can’t find a way anywhere to enter the server by selecting items in the hotbar, then select one of the anarchy modes, then select the server number. How to implement this in mineflayer?
Beta Was this translation helpful? Give feedback.
All reactions