Geyser
Geyser copied to clipboard
Events relating to pings
What feature do you want to see added?
Adding events that get fired when Geyser gets pinged, one example could be a GeyserPingEvent
that gets fired upon getting pinged, and allows for setting/getting the MOTD, player count, or more.
Are there any alternatives?
The only thing closest is only getting and doesn't allow setting.
Definitely my hesitation here is that this event will be fired many times because of the way Bedrock pings work. (In LAN there's a bug where the event might be called many times each time a client pings [~3 seconds]). But, I do think this is valid as it covers an area that Java plugins can't.
Event result caching?
Because this event will happen on many different threads, I don't think that's practical.
Just remembered this was open, I'll close it seeing #3715 was merged.