node-minecraft-protocol-forge icon indicating copy to clipboard operation
node-minecraft-protocol-forge copied to clipboard

Not even loading the plugin?

Open prljav opened this issue 9 months ago • 2 comments

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: "[email protected]",
        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.

prljav avatar May 07 '24 16:05 prljav

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

prljav avatar May 08 '24 05:05 prljav

Same here, if you have Solutions i want it

Felix-Jonathan avatar Jun 21 '24 11:06 Felix-Jonathan