Solved Changing from Connection to ProxiedPlayer

Discussion in 'BungeeCord Plugin Development' started by BiastGaming, May 18, 2016.

Thread Status:
Not open for further replies.
  1. I want to use the player.getServer().getInfo().getName() in an event how would I do this?
    as there is only e.getSender(); which is a connection so how would i change the connection into a proxiedplayer?
     
  2. Check if connection is instanceof ProxiedPlayer and then cast.
     
  3. i think is possible but check if is connected
     
Thread Status:
Not open for further replies.