feat: support setting up 1.21+ server links#101
Draft
TTtie wants to merge 8 commits intoPGMDev:devfrom
Draft
Conversation
Pablete1234
reviewed
Jan 4, 2026
efe6233 to
8d859e6
Compare
be7b445 to
8d859e6
Compare
18484de to
bd3c33a
Compare
a8c1768 to
af3f27f
Compare
af3f27f to
cb3cd82
Compare
Adds support for setting up server links in pause menu on supported clients (1.21+). Works on both modern, and 1.8-based servers using ViaVersion. Signed-off-by: TTtie <me@tttie.cz>
Avoids blowing things up when ViaVersion isn't present. Signed-off-by: TTtie <me@tttie.cz>
Local artifacts :( Signed-off-by: TTtie <me@tttie.cz>
Co-authored-by: Pablo Herrera <pabloherrerapalacio@gmail.com> Signed-off-by: TTtie <me@tttie.cz>
Signed-off-by: TTtie <me@tttie.cz>
A more proper fix is TBD Signed-off-by: TTtie <me@tttie.cz>
cb3cd82 to
dfda6df
Compare
Refactors the implementation and implements a hook for the FINISH_CONFIGURATION packet in the ViaVersion path to be used as the signal to send server links instead of the PlayerJoinEvent. This should reduce the risk of a race condition resulting in a protocol error occurring, as the client should already expect play-state packets after this. The modern path is untested for the time being due to migration to PacketEvents on the PGM dev branch. Signed-off-by: TTtie <me@tttie.cz>
3438bec to
ea9cae0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for setting up server links in the pause menu on supported clients (1.21+). Works on both modern servers, and 1.8-based servers using ViaVersion.
Since this requires #94 to be merged first, this is marked as a draft to allow for comments, and testing.