Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7171

Ability to get the IP/hostname players are requesting status of

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor 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.

            Unassigned Unassigned
            mjsir911 Marco Sirabella
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: