BungeeCord server online status?

Discussion in 'Spigot Plugin Development' started by YogurtSmudge, Sep 16, 2018.

  1. So I have a Bukkit plugin where a GUI opens up with the available servers and I made a thread because I needed help sending a connection from Bukkit to BungeeCord but I got that figured out.

    Anyway, I'm currently trying to make the lore of each item in the GUI to display the online status of that specific server.

    Is that a connection from Bungee to Bukkit? or from Bukkit to Bungee?

    Also, I'm guessing I would have to input:
    1) Channel
    2) Servername
    3) Status
    That's just what I think I would have to input.

    Please no spoonfeed ty.
     
  2. There are many ways to receive data from the servers over Bukkit, the easiest is probably to use the PluginMessagingChannel providing a json object with all needed information. Checking if a server is online can also be done through sockets.
     
  3. json object? Sorry I'm a bit confused, can you explain in a bit more detail please?
     

Share This Page