Skip to content

Store backend command tree per server connection to allow on-demand resending of command set#865

Merged
WouterGritter merged 4 commits into
libdeflatefrom
stateful-backend-command-tree
May 12, 2026
Merged

Store backend command tree per server connection to allow on-demand resending of command set#865
WouterGritter merged 4 commits into
libdeflatefrom
stateful-backend-command-tree

Conversation

@WouterGritter
Copy link
Copy Markdown
Collaborator

@WouterGritter WouterGritter commented Apr 28, 2026

Statefully stores the backend's command tree, so we can send & inject our own commands at a later time.

Functionally this PR does nothing right now, however this is needed to suppress the sending of the /velocity:callback command to the client when no callbacks are registered. With no plugin making use of adventure's click-callback feature, no callbacks will ever be registered, so we can avoid sending this to the client completely. This avoids the ugly auto-complete.

@WouterGritter WouterGritter merged commit 137e6da into libdeflate May 12, 2026
1 check passed
@WouterGritter WouterGritter deleted the stateful-backend-command-tree branch May 12, 2026 14:29
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 this pull request may close these issues.

1 participant