Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

Events relating to pings

Open 7man7LMYT opened this issue 2 years ago • 3 comments

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.

7man7LMYT avatar Aug 10 '22 22:08 7man7LMYT

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.

Camotoy avatar Aug 10 '22 22:08 Camotoy

Event result caching?

Konicai avatar Aug 11 '22 00:08 Konicai

Because this event will happen on many different threads, I don't think that's practical.

Camotoy avatar Aug 11 '22 00:08 Camotoy

Just remembered this was open, I'll close it seeing #3715 was merged.

7man7LMYT avatar May 17 '23 23:05 7man7LMYT