BungeeGuard icon indicating copy to clipboard operation
BungeeGuard copied to clipboard

Unable to retrieve domain hostname

Open entity opened this issue 2 years ago • 1 comments

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

entity avatar Jul 03 '23 09:07 entity

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.

virustotalop avatar Jul 06 '23 04:07 virustotalop