Added support for plugins to get the current server a player is on.
This commit is contained in:
parent
608ca78be1
commit
393562ff5a
@ -127,6 +127,11 @@ public class UserConnection extends GenericConnection implements CommandSender
|
||||
}
|
||||
}
|
||||
|
||||
public String getServer()
|
||||
{
|
||||
return server.name;
|
||||
}
|
||||
|
||||
public SocketAddress getAddress()
|
||||
{
|
||||
return socket.getRemoteSocketAddress();
|
||||
|
Loading…
Reference in New Issue
Block a user