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

Add InboundConnection#getHandshakeIntent #1493

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

Gerrygames
Copy link
Contributor

This is needed to for example check whether a player was transferred in the PlayerLoginEvent and validate if the transfer was initiated by our backend or externally. Currently there is no proper way to link the ConnectionHandshakeEvent and PlayerLoginEvent without using the reference of e.g. the remote address and risking memory leaks.

@4drian3d 4drian3d merged commit c0fdf20 into PaperMC:dev/3.0.0 Jan 15, 2025
1 check passed
pull bot pushed a commit to WiIIiam278/Velocity that referenced this pull request Jan 15, 2025
* Add InboundConnection#getHandshakeIntent
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.

3 participants