Parse and serialize minecraft packets, plus authentication and encryption.
Find a file
2013-01-01 20:58:47 -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 getting encryption request 2012-12-31 20:33:35 -05:00
packets.json all packets parsed. closes #8 2013-01-01 20:29:03 -05:00
README.md more packets, update readme 2013-01-01 16:01:43 -05:00
test.js send keepalive packet. closes #9 2013-01-01 16:08:08 -05:00

minecraft protocol

Parse minecraft This project simply provides protocol support. You'll want to use a higher level library to write bots.

Hopefully eventually we can merge mineflayer with this project.

Features

  • (TODO #8) Parse all packets and emit packet events with packet fields as JavaScript objects.
  • Send a packet by supplying fields as a JavaScript object.
  • (TODO #9) Send keep-alive packet at the correct interval.
  • Supports encryption, no encryption (TODO #2), online, and offline (TODO #1) modes.
  • 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