PrismarineJS / PrismarineJS/node-minecraft-protocol
[MC 1.20.6 - Protocol 1.49.0] nmp server: Failed to verify username
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.49.0
- server: vanilla/spigot/paper 1.20.6
- node: 20.10.0
Detailed description of a problem
When I'm trying to connect to the server with a client in version 1.20.6 and the server is using minecraft-protocol 1.49.0, I get the follow error in the client :
Current code
DEBUG CreateServer {
'online-mode': true,
motdMsg: { text: 'SleepingServer, waiting for his prince...' },
port: 25565,
maxPlayers: 20,
version: false,
beforePing: [Function: beforePing],
validateChannelProtocol: true,
errorHandler: [Function: errorHandler],
enforceSecureProfile: true
}
Expected behavior
The connection is accepted, and it doesn't failed to verify the username.
Additional context
When I switch the "oneline-mode" to false:
DEBUG CreateServer {
'online-mode': false,
motdMsg: { text: 'SleepingServer, waiting for his prince...' },
port: 25565,
maxPlayers: 20,
version: false,
beforePing: [Function: beforePing],
validateChannelProtocol: true,
errorHandler: [Function: errorHandler],
enforceSecureProfile: false
}
The connection is handle but I got an error on the client side :
Thanks for your help & devotion and this package.
Have a nice day.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the connection failure with minecraft-protocol 1.49.0, Node 20.10.0, and a vanilla, Spigot, or Paper 1.20.6 server using the supplied online-mode configuration. Compare the online-mode and offline-mode behavior; done means a 1.20.6 client can connect in online mode without the username-verification error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100