repositorypackage
0.0.0-20250101091648-7085b38b63d3
Repository: https://github.com/airforce270/mc-srv.git
Documentation: pkg.go.dev
# README
mc-srv
A simple Minecraft server to play around with the protocol.
Implementation status
Server list ping
- Handle handshake packet
- Handle status request packet
- Send status response packet
- Handle ping request packet
- Send ping response packet
Login
- Handle handshake packet (state=2)
- Handle login start packet
- Send encryption request packet
- Handle encryption response packet
- Send login success packet
- Handle login acknowledged packet
Configuration
- Send plugin message configuration packets (not needed)
- Send disconnect packets when needed
- Send finish configuration packet
- Send keep alive packets
- Send ping packets (not needed)
- Send registry data packet
- Send remove resource pack packet
- Send add resource pack packet
- Send feature flags packet
- Send update tags packet
- Handle client information packet
- Store data from client information packet(?)
- Handle serverbound plugin message packet
- Handle acknowledge finish configuration packet
- Handle serverbound keep alive packets
- Disconnect clients if they don't respond to keepalive pings in a reasonable time
- Handle pong packets (not needed)
- Handle resource pack response packets
- Store data from resource pack response packets(?)
Play
- A lot :)