Skip to content

Conversation

@bemoty
Copy link

@bemoty bemoty commented Nov 11, 2025

Since the ServerConnectedEvent doesn't seem to support sending plugin messages to the newly connected server, it would be helpful to be able to access the new server in ServerPostConnectEvent, where plugin messaging works.

Sorry for the weird formatting changes, I couldn't get my formatter to stop indenting the constructor arguments... the checkstyle seems to pass though...

@Emilxyz
Copy link
Contributor

Emilxyz commented Nov 11, 2025

The "new" server is already available in Player#getCurrentServer() when this event is fired, so I don't think we to need add it to this event

@bemoty
Copy link
Author

bemoty commented Nov 11, 2025

True, not sure how I didn't realize that..

@bemoty bemoty closed this Nov 11, 2025
@bemoty bemoty deleted the feat/server-post-connect branch November 11, 2025 12:16
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.

2 participants