Parse and serialize minecraft packets, plus authentication and encryption.
Find a file
2013-01-01 21:51:46 -05:00
lib all clent to server packets have supported data type writers 2013-01-01 20:58:47 -05:00
.gitignore getting encryption request 2012-12-31 20:33:35 -05:00
package.json update package.json 2013-01-01 21:51:46 -05:00
packets.json all packets parsed. closes #8 2013-01-01 20:29:03 -05:00
README.md update README 2013-01-01 21:02:07 -05:00
test.js send keepalive packet. closes #9 2013-01-01 16:08:08 -05:00

minecraft protocol

Parse and serialize minecraft packets, plus authentication and encryption.

Features

  • Parses all packets and emits packet events with packet fields as JavaScript objects.
  • Send a packet by supplying fields as a JavaScript object.
  • Supports authenticating and logging in.
    • Supports encryption enabled
    • Supports encryption disabled (TODO #2)
    • Supports online mode
    • Supports offline mode (TODO #1)
  • Send keep-alive packet at the correct interval.
  • Reasonable amount of test coverage (TODO #3)
  • Optimized for rapidly staying up to date with Minecraft protocol updates.

Minecraft Compatibility

Supports Minecraft version 1.4.6

Try it out so far

MC_EMAIL=you@example.com MC_PASSWORD=your_pass node test.js