infrared icon indicating copy to clipboard operation
infrared copied to clipboard

Returns all players who pass infrared to the MOTD

Open 10935336 opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. Returns all players who pass infrared to the MOTD, I guess this would be cool for some monitoring sites like "Minecraft Server List". We just don't want fakeplayer.

Describe the solution you'd like Something like this. {
"domainName": "example.com", "Returns-all-players-who-pass-infrared-in-MOTD": true }

Describe alternatives you've considered I noticed that Prometheus infrared_connected already returns the number of players, maybe we just need to add them up and add them to a "MOTD" return?

Edit: My previous description was not very accurate, modified

10935336 avatar Feb 26 '22 07:02 10935336

So you want to sum the amount of players on your subservers to send it back via the motd?

lhridder avatar Feb 26 '22 12:02 lhridder

So you want to sum the amount of players on your subservers to send it back via the motd?

Yes

10935336 avatar Feb 27 '22 07:02 10935336

Then you’d probably want to look into redisbungee as that’s made to aggregate playercounts, doing this through infrared would require custom software on the backend part

lhridder avatar Feb 27 '22 11:02 lhridder

I don't use bungeecord because I run a lot of forge, fabric, vanilla servers. Maybe we don't need to get the number of players on the backend server, just the number of players who passed the infrared.

10935336 avatar Feb 27 '22 11:02 10935336

I'm working on an API in the rewrite that will be able to give information about the current player counts. But I'm not sure when the first stable release will be.

haveachin avatar Feb 27 '22 14:02 haveachin