Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOTD "passthrough" #119

Open
daniwasonline opened this issue Jan 19, 2022 · 7 comments
Open

MOTD "passthrough" #119

daniwasonline opened this issue Jan 19, 2022 · 7 comments
Assignees
Labels
2.0 Will be implemented in the 2.0 release enhancement New feature or request

Comments

@daniwasonline
Copy link

Is your feature request related to a problem? Please describe.
I can't properly use dynamic MOTD solutions with Infrared.

Describe the solution you'd like
A "passthrough" feature. Infrared would take the MOTD of the backend, and it would then use said MOTD for the frontend proxy.

Describe alternatives you've considered
I've created various scripts and utilities in the past that use the backend server's MOTD for the proxy's configuration. None of these solutions have worked well, due to handicaps with decoding HAProxy-wrapped responses from the backend server.

@daniwasonline daniwasonline added the enhancement New feature or request label Jan 19, 2022
@haveachin
Copy link
Owner

You'd only like the MOTD to passthrough while all other online status properties are overridden?

@daniwasonline
Copy link
Author

Preferably, yes. If not, passing through other status properties can also work.

@haveachin haveachin added the 2.0 Will be implemented in the 2.0 release label Jan 19, 2022
@haveachin haveachin self-assigned this Jan 19, 2022
@GoodLucky777
Copy link

@haveachin Is there way to do this with Bedrock edition?

@haveachin
Copy link
Owner

haveachin commented Feb 24, 2023

No, currently it is not possible to pass the MOTD through in Bedrock. Server list pings are totally different in Bedrock than they are in Java, since Bedrock uses RakNet on top of the UDP protocol to communicate. For whatever reason, Mojang/Microsoft decided that it would be a good idea to use RakNets build in ping mechanism to implement server list pings. The problem now is that the RakNet implementation does not communicate what FQDN was uses to reach the server, which makes it impossible to pass the right MOTD through to the client. So you can only have one MOTD per port due to how the Bedrock protocol works.

@GoodLucky777
Copy link

Although I can only show one MOTD per port in Bedrock, can you add config to set which server's MOTD to passthrough for all FQDNs?

@haveachin
Copy link
Owner

I'll look into adding that

@vniehues
Copy link

I just wanted to "+1" the idea of having a separate motd option.
I'd like to leave everything on default (basically minimum config) but still change the motd :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 Will be implemented in the 2.0 release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants