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

Unable to retrieve domain hostname #108

Open
heychazza opened this issue Jul 3, 2023 · 1 comment
Open

Unable to retrieve domain hostname #108

heychazza opened this issue Jul 3, 2023 · 1 comment

Comments

@heychazza
Copy link

Hi there,

I’m the developer behind the largest Minecraft analytics platform, we have a domain tracking feature that tells creators where users come from.

we currently track this via https://github.com/track/plugin/blob/main/bungeecord/src/main/java/net/analyse/plugin/event/PlayerJoinListener.java#L21-L29. This works perfectly for ordinary networks that aren’t running BungeeGuard.

However, we currently face an issue where the hostname returns a strange string with the IP BungeeGuard token etc, which isn’t helpful.

For Example:

All that needs to be returned is the domain, if an API exists I’d be happy to hook into it accordingly.

Thanks

@virustotalop
Copy link

I'm not super familiar with BungeeGuard so there could be some sort of API I am missing but a potential workaround may be running the LoginEvent on LOW event priority since BungeeGuard doesn't specify an event priority so it would just be NORMAL.

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

No branches or pull requests

2 participants