Modules§
- client_
information_ c2s - cookie_
request_ s2c - cookie_
response_ c2s - custom_
payload_ c2s - custom_
payload_ s2c - custom_
report_ details_ s2c - disconnect_
s2c - finish_
configuration_ c2s - finish_
configuration_ s2c - keep_
alive_ c2s - keep_
alive_ s2c - ping_
s2c - pong_
c2s - registry_
data_ s2c - reset_
chat_ s2c - resource_
pack_ c2s - resource_
pack_ pop_ s2c - resource_
pack_ push_ s2c - select_
known_ packs_ c2s - select_
known_ packs_ s2c - server_
links_ s2c - store_
cookie_ s2c - transfer_
s2c - update_
enabled_ features_ s2c - update_
tags_ s2c
Structs§
- Client
Information C2s - Cookie
Request S2c - Request the client to send the cookie with the specified key.
- Cookie
Response C2s - Sent by the client to the server to respond to a
CookieRequestS2cpacket. - Custom
Payload C2s - A custom payload sent from the client to the server. You can read more about custom payloads here.
- Custom
Payload S2c - A custom payload sent from the server to the client. You can read more about custom payloads here.
- Custom
Report Details S2c - Disconnect
S2c - Sent by the server to the client to disconnect them. The reason is displayed to the client.
- Finish
Configuration C2s - Sent by the client to the server to finish the configuration process. This
packet is sent after the server sends a
FinishConfigurationS2cpacket. We should move to the play state after this packet is received. - Finish
Configuration S2c - Sent by the server to the client to finish the configuration process. The
client should send a
FinishConfigurationC2spacket after receiving this packet. - Keep
Alive C2s - Sent by the client to the server as a response to the
KeepAliveS2cpacket. The id is the same as the one sent by the server. if a client does not respond to aKeepAliveS2cpacket within 15 seconds, the server should disconnect the client. - Keep
Alive S2c - Should be sent frequently by the server to the client to keep the connection
alive. The client should respond with a
KeepAliveC2spacket with the same id. If the client does not receive aKeepAliveS2cpacket within 20 seconds, it should disconnect. - PingS2c
- The client should respond with a
PongC2spacket with the same id. - PongC2s
- Registry
Data S2c - Reset
Chat S2c - Sent by the server to the client to reset the chat.
- Resource
Pack C2s - Resource
Pack PopS2c - If uuid is None, all resource packs are removed. Else, only the resource pack with the given uuid is removed.
- Resource
Pack Push S2c - Select
Known Packs C2s - Select
Known Packs S2c - Server
Links S2c - Store
Cookie S2c - Stores a cookie on the client
- Transfer
S2c - Update
Enabled Features S2c - Update
Tags S2c