diff --git a/README.md b/README.md index 66e11c6..dde92b9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Parse and serialize minecraft packets, plus authentication and encryption. ## Features + * Supports Minecraft version 1.4.7pre * Parses all packets and emits events with packet fields as JavaScript objects. * Send a packet by supplying fields as a JavaScript object. @@ -23,10 +24,6 @@ Parse and serialize minecraft packets, plus authentication and encryption. * Robust test coverage. See Test Coverage section below. * Optimized for rapidly staying up to date with Minecraft protocol updates. -## Minecraft Compatibility - -Supports Minecraft version 1.4.7pre - ## Usage ### Echo client example @@ -107,13 +104,3 @@ server.on('login', function(client) { 11 tests complete (45 seconds) ``` - -## Updating to a newer protocol version - -In most cases you should only have to do the following: - -1. In `packets.json`: - * Update `protocolVersion` to the correct number. - * Edit the data structure to reflect the new packet layout. -2. Update the "Minecraft Compatibility" section above in this README. -3. Run the test suite to make sure everything still works. See "Testing" above. diff --git a/index.js b/index.js index 9c1c0bb..bdf3153 100644 --- a/index.js +++ b/index.js @@ -15,6 +15,7 @@ module.exports = { Client: Client, Server: Server, ping: require('./lib/ping'), + constants: protocol.constants, }; function createServer(options) {