command module
Version: v0.0.0-...-caa64cb Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2013 License: Apache-2.0 Imports: 21 Imported by: 0



This is the minimum code that seems to be necessary to connect to a Minecraft server version 1.7.2 from Mojang, but does not much interesting at the moment.


  • connecting servers both in online and offline mode
  • respond KeepAlive messages and send player position updates to remain connected

It does everything that is necessary for a successful online login:

  1. Yggdrasil authentication and token refresh
  2. Mojang session requests
  3. Session key exchange via RSA
  4. AES/CFB8 encryption



Package protocol provides types for all packets as of 1.7.2, as well as functions to encode and decode primitive types, types used in packets and the packets themselves. All packets as of 1.7.2 are implemented, but some of them, especially serverbound packets are untested.


Package net provides functions and classes for connecting and authentication. The type ClientConn provides functions to log in and makes it easy to send and receive protocol messages.


Package NBT is preliminary work on an NBT parser necessary to decode world chunk information sent by the server.


This is a now just a big pile of mess and meant for personal backup mostly.

See also

Minecraft Protocol


Special thanks to:


The Go Gopher

There is no documentation for this package.


Path Synopsis
thank you, Toqueteos!
thank you, Toqueteos!

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL