Some servers require the verification of the Minecraft version before logging in. Therefore, when initializing the server, the "version" specified in the configuration file should be used.
..\src\utils\mcdata.js
export function initBot(username) {
const settingsVersion = settings.minecraft_version;
const options = {
username: username,
host: settings.host,
port: settings.port,
auth: settings.auth,
version: settingsVersion,
}
if (!settingsVersion || settingsVersion === "auto") {
delete options.version;
}
and Some servers have "reconfiguration" requests during the connection process, but mineflayer's physics plugin was missing handlers for this, please refer to Disable physics during configuration packet
It might still end in failure.!
Some servers require the verification of the Minecraft version before logging in. Therefore, when initializing the server, the "version" specified in the configuration file should be used.
and Some servers have "reconfiguration" requests during the connection process, but mineflayer's physics plugin was missing handlers for this, please refer to Disable physics during configuration packet
It might still end in failure.!