Skip to content
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

Draft: Use PluginMessage to allow Velocity to cancel signed chat and commands #1106

Open
wants to merge 2 commits into
base: dev/3.0.0
Choose a base branch
from

Conversation

Joo200
Copy link
Contributor

@Joo200 Joo200 commented Oct 12, 2023

Add some logic to send cancelled signed messages/commands to the backend server.

This is a draft implementation and could be further improved, e.g. by a config option.

There is already an open PR in Paper for this feature: PaperMC/Paper#9828

Note: I removed the version checks in SessionCommandHandler because that handler is only created for versions >= 1.19.3 (see ClientPlaySessionHandler)

SessionCommandHandler is only generated for versions greater 1.19.3
@Joo200 Joo200 marked this pull request as ready for review December 15, 2023 17:35
@Joo200
Copy link
Contributor Author

Joo200 commented Dec 15, 2023

I marked this as Ready. I'm using it on my server in production and it works perfectly fine.

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.

None yet

1 participant