Skip to content

Support protocol 770 (minecraft pc 1.21.5 #1385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
RomainNeup opened this issue Mar 26, 2025 · 0 comments · May be fixed by #1386
Open

Support protocol 770 (minecraft pc 1.21.5 #1385

RomainNeup opened this issue Mar 26, 2025 · 0 comments · May be fixed by #1386

Comments

@RomainNeup
Copy link

Is your feature request related to a problem? Please describe.
We need to support the new protocol in order to support the new version

Describe the solution you'd like
Implement the new protocol specifications

Describe alternatives you've considered
N/A

Additional context
Network protocol

  • The client-bound player_chat packet now contains an index increasing for every message sent to the client.
    • The index starts at 0 when logging in (or is reset by configuration phase and the login packet).
    • For every message, the server should increment this value by 1.
    • If this value updates in an unexpected way, the client will disconnect.
    • As the protocol requires that every chat packet reaches the client in produced order, the goal is to enable faster detection of missed/reordered chat messages for custom server developers.
  • The server-bound chat and chat_command_signed packets now contain a checksum byte along with the 'last seen' update.
    • This is a simple hash of the 'last seen' signatures which should be reconstructed by the server, allowing quicker detection of de-synchronized state.
    • This can be passed as 0 to disable the check, for compatibility with protocol translation.
@RomainNeup RomainNeup linked a pull request Mar 26, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant