node-minecraft-protocol
node-minecraft-protocol copied to clipboard
Internal Exception when joining an NMP server with a 1.7 client
[X ] The FAQ doesn't contain a resolution to my issue
Versions
- minecraft-protocol: 1.20.2
- node: 12.1.0
Detailed description of a problem
When joining a server created with NMP that has version
set to false (to enable multi-version support) with a vanilla 1.7 client, the client gets kicked with the following message:
Current code
import mc from "minecraft-protocol";
const server = mc.createServer({
port: 25565,
motd: "Test",
maxPlayers: 1,
// @ts-ignore
version: false,
});
server.on("login", (user) => user.end("Test"));
Expected behavior
Expected the client to actually join the server
Additional context
Doesn't happen when explicitly setting version
to 1.7.10. Also doesn't happen to other client versions.
Also have a similar issue.
1.7.10 Protocol is nearly same as 1.8 1.7.9 have a different protocol and minecraft-protocol doesnt support it.
Very possible #881 fixes this...