github.com/Cxmrykk/briar-protocol
1.8 / published May 30, 2025 / repository
Serialize and parse minecraft packets in Crystal
Briar Protocol
Currently supporting minecraft 1.8.9
Features:
- Connect to a minecraft server as a client
- Protocol encryption and compression
- Authentication with Microsoft
- Event handler
Usage
First, add the dependency to your shards.yml
dependencies:
briar-protocol:
github: cxmrykk/briar-protocol
branch: 1.8
Please have a look at the following:
- EXAMPLES.md
Goals:
For the current release:
- Server implementation
Deriving Projects:
In the future, I may decide to work on:
- Packet sniffer using the client/server implementation
- High level client library
Long Term:
- Protocol support for the latest version
API
- Angle
- Attribute
- BlockRecord
- Briar
- Chat
- Chunk
- Client
- ClientAuth
- ClientData
- ClientHandler
- Crypt
- Disk
- Events
- ExplosionRecord
- MapIcon
- Metadata
- Nbt
- PacketBuffer
- PacketParser
- Packets
- PlayerList
- Position
- ProtocolState
Protocol State (packet exchange sequence)
- RawPacket
Packet ID with associated data
- Server
- ServerAuth
- ServerHandler
- Slot
- SlotValue
- Statistic
- Title
- WorldBorder