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

Parse and serialize minecraft packets, plus authentication and encryption.

Results 170 node-minecraft-protocol issues
Sort by recently updated
recently updated
newest added

The authenticate function that does ms auth returns a promise that can reject on error. If this occurs in your code the node process will exit due to an unhandledRejection...

Before, when the client doesn't send keepAlive packets, the server ends the connection with the client with the reason 'keepAliveTimeout'. It may be unclear for the user (who sees this...

With chat signing support **Todo** - Verify logic is correct for offline mode **Adds** - new client.signMessage and client.verifyMessage utility methods - binary concatenation function (could possibly fit into protodef)

Currently attempts to join the Realm as expected but can't fully be sure until 1.19 support as Realms are always on the latest version. Opening this PR now for review...

If a server sent a response like the below it would cause an `Uncaught SyntaxError: Unexpected token x in JSON at position x` error. Escaping the newlines fixes this issue...

try mojang, if it fails do microsoft

## Versions - minecraft-protocol: 1.35.1 - server: vanilla 1.12.2 - node: 16.16.0 ## Detailed description of a problem Oficial client with microsoft auth is not connect to 1.12.2 vanilla server...

[ ] The [FAQ](https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/docs/FAQ.md) doesn't contain a resolution to my issue ## Versions - minecraft-protocol: 1.32.1 - server: Vanilla 1.18.2 - node:16.14.2 ## Detailed description of a problem Example code...