Bungeecord get IP from Spigot

Discussion in 'Spigot Plugin Development' started by Resta2, Jan 9, 2020.

  1. How to get the IP of bungeecord from child server?
    I mean get the main IP address where proxy hosted from Bukkit/Spigot server (if bungeecord = true)
  2. Had the same problem a while ago -
    Solved this by having the IP of the BungeeCord server specified in each child server's config.
    A better/more generic way would be to have a BungeeCord plugin which registers the Bungee server to a database. Meaning on every startup the Bungee server will store it's IP into a database which then can be accessed by the other servers.