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

BungeeCord IP forwarding as 3rd auth setting #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucyydotp
Copy link

Displays servers set up to use BungeeCord's IP forwarding. It uses reflection to avoid creating a dependency on spigot.

Considering that a very large portion of servers listed as offline are running behind a bungee, it makes sense to display them separately.

@Bastian
Copy link
Owner

Bastian commented Dec 30, 2021

Thank you for the PR and sorry for the late response! This is a great addition to make the online mode chart more meaningful.

Do you know how reliable this way of detecting a Bungeecord server is? Does the same method exist on Paper server?
Besides that, it would be better to send this as a new bungeecordEnabled field instead of using a third value for the onlineMode field.

@NoahvdAa
Copy link

Paper also has Velocity forwarding, might be a good thing to add aswell

@lucyydotp
Copy link
Author

Do you know how reliable this way of detecting a Bungeecord server is? Does the same method exist on Paper server?

It reads directly from the server's configuration object, so it's reliable. I've never seen it break, and paper does everything in its own file instead of messing with this one so it still works.

Besides that, it would be better to send this as a new bungeecordEnabled field instead of using a third value for the onlineMode field.

I disagree here. From a standalone point of view, the server is neither verifying accounts (as per online mode) or generating a UUID based on the username (as per offline mode), instead just doing whatever the proxy sends over. Making it a third value separates genuine offline mode servers from those using bungeecord, making the data recorded more useful.

@lucyydotp
Copy link
Author

Paper also has Velocity forwarding, might be a good thing to add aswell

Noted, will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants