Solved Server to a string?

Discussion in 'BungeeCord Plugin Development' started by gluebaby, May 15, 2016.

  1. Hello everybody, I am making my first bungee plugin, which is a global report system. I need a way of getting the server that the reported player is on, and convert that to a string. I am very new to this so please take it easy on me :p. (The string I want it is the how the server would show up in /server).
     
  2. Get the proxied player and then get the server and then to get the name use:
    Code (Text):
    server.getInfo().getName()
     
    • Agree Agree x 2
  3. Thanks!
     
    • Like Like x 1