Skip to main content

Module minecraft

Module minecraft 

Source
Expand description

Minecraft Java Edition server: the server-list ping (modern and legacy) and the front of login. Rust owns framing, the handshake, ping/pong and every bound; the handler decides the server-list entry and the reason a joining player is disconnected. No game is run.

Modules§

actions
wire
Minecraft Java Edition framing for the Server List Ping and the front of login: VarInt length-prefixed packets, the handshake, status JSON, ping/pong, Login Start, the login Disconnect, and the pre-1.7 legacy ping (0xFE) with its 0xFF kick reply.

Constants§

MAX_IDLE_TIMEOUT_SECS
Longest per-packet deadline a caller may configure.

Functions§

spawn