PrismarineJS / PrismarineJS/node-minecraft-protocol

Internal Exception when joining an NMP server with a 1.7 client

Open
#808 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.4k
Forks
290
Avg merge
4d 8h
Merged PRs (30d)
7

Description

[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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the FAQ.md guidance and the mc.createServer entry point shown in the report. Reproduce the setup with version set to false and a vanilla 1.7 client, then compare it with the explicit 1.7.10 configuration. Done means the vanilla 1.7 client joins successfully without regressing other client versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.