-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
3599-Spigot-4aa5ead-aaf484f
-
Yes
very related: SPIGOT-2636
Basically, both of handshake packet's login (`PlayerLoginEvent`) & status (`ServerListPingEvent`) options embed the server address & port in it, but on the spigot side only `PlayerLoginEvent.getHostname()` exposes this.
I would like for `ServerListPingEvent` to have an equivalent `.getHostname()`
Somehow bungeecord manages a way around this with `ProxyPingEvent.getConnection().getVirtualHost().getHostName()` but I would not like to pull bungeecord in just for this small feature.