Open prljav opened 4 months ago
I'm pretty sure im doing something wrong, but could anyone help? STDOUT:
connected {"text":"This server has mods that require Forge to be installed on the client. Contact your server admin for more details."} false
code:
var mc = require('minecraft-protocol'); var autoVersionForge = require('minecraft-protocol-forge').autoVersionForge; const bot = mineflayer.createBot({ version: false, host: 'xxx.xxx.xxx.xxx', port: 'xxxx', username: "xxx@xxx.xxx", auth:"microsoft" }) const options = { forgeMods: undefined, channels: undefined } autoVersionForge(bot._client, options) bot.on('connect', function () { console.info('connected') }) bot.on('spawn', function () { console.info('I spawned') }) bot.on('end', (x) =>{console.log(x)}) bot.on('kicked', console.log) console.log('done')
My best guess would be that the client attempts to connect to the server before loading the plugin, which would of course make it not use it.
seems like a dupe of a lot of previous issues, anyone got any ideas? also tried with version false and version 1.20.1(which the server is on) and nothing changed
Same here, if you have Solutions i want it
I'm pretty sure im doing something wrong, but could anyone help? STDOUT:
code:
My best guess would be that the client attempts to connect to the server before loading the plugin, which would of course make it not use it.