haveachin / infrared

An ultra lightweight minecraft reverse proxy and idle placeholder
https://infrared.dev
GNU Affero General Public License v3.0
745 stars 60 forks source link

Option to use the player count/motd from Java server on Bedrock #181

Closed Phoenix616 closed 8 months ago

Phoenix616 commented 1 year ago

Is your feature request related to a problem? Please describe. Currently you will have to hard-code the player count, slots and motd for Bedrock in the config without having the ability to show the correct values

Describe the solution you'd like A way to get the player count from the server. Seeing as most servers will run Geyser on Java servers querying the count and maybe even the motd from either an Infrared Java listener or directly from a Java server.

Describe alternatives you've considered Manually updating the player count in the config or (if that's possible with Infrared API) via a custom plugin.

Additional context Refering to this note in the config:

The Java Edition has a different approach to handling status pings, than the Bedrock Edition. This makes it possible to display a custom message to clients if the domain that they want to connect though has a server configuration behind it.

haveachin commented 8 months ago

Bedrock will no longer be supported by Infrared. Sorry for any inconvenience.