# Uses of Interface
net.md_5.bungee.api.connection.ProxiedPlayer

Packages that use ProxiedPlayer
Package
Description
net.md_5.bungee.api
net.md_5.bungee.api.config
net.md_5.bungee.api.connection
net.md_5.bungee.api.event

- ## Uses of ProxiedPlayer in net.md_5.bungee.api

  Methods in net.md_5.bungee.api that return ProxiedPlayer
  Modifier and Type
  Method
  Description
  `abstract ProxiedPlayer`
  ProxyServer.`getPlayer(String name)`
  Gets a connected player via their unique username.
  `abstract ProxiedPlayer`
  ProxyServer.`getPlayer(UUID uuid)`
  Gets a connected player via their UUID
  Methods in net.md_5.bungee.api that return types with arguments of type ProxiedPlayer
  Modifier and Type
  Method
  Description
  `abstract Collection<ProxiedPlayer>`
  ProxyServer.`getPlayers()`
  Return all players currently connected.
  `abstract Collection<ProxiedPlayer>`
  ProxyServer.`matchPlayer(String match)`
  Attempts to match any players with the given name, and returns a list of all possible matches.
  Methods in net.md_5.bungee.api with parameters of type ProxiedPlayer
  Modifier and Type
  Method
  Description
  `ServerInfo`
  AbstractReconnectHandler.`getServer(ProxiedPlayer player)`
  `ServerInfo`
  ReconnectHandler.`getServer(ProxiedPlayer player)`
  Gets the initial server name for a connecting player.
  `protected abstract ServerInfo`
  AbstractReconnectHandler.`getStoredServer(ProxiedPlayer player)`
  `Title`
  Title.`send(ProxiedPlayer player)`
  Send this title configuration to the specified player.
  `void`
  ReconnectHandler.`setServer(ProxiedPlayer player)`
  Save the server of this player before they disconnect so it can be retrieved later.

- ## Uses of ProxiedPlayer in net.md_5.bungee.api.config

  Methods in net.md_5.bungee.api.config that return types with arguments of type ProxiedPlayer
  Modifier and Type
  Method
  Description
  `Collection<ProxiedPlayer>`
  ServerInfo.`getPlayers()`
  Get the set of all players on this server.

- ## Uses of ProxiedPlayer in net.md_5.bungee.api.connection

  Subinterfaces of ProxiedPlayer in net.md_5.bungee.api.connection
  Modifier and Type
  Interface
  Description
  `interface`
  `ConnectedPlayer`
  Represents a player physically connected to the world hosted on this server.

- ## Uses of ProxiedPlayer in net.md_5.bungee.api.event

  Methods in net.md_5.bungee.api.event that return ProxiedPlayer
  Modifier and Type
  Method
  Description
  `ProxiedPlayer`
  CustomClickEvent.`getPlayer()`
  Player who clicked.
  `ProxiedPlayer`
  PlayerDisconnectEvent.`getPlayer()`
  Player disconnecting.
  `ProxiedPlayer`
  PostLoginEvent.`getPlayer()`
  The player involved with this event.
  `ProxiedPlayer`
  ServerConnectedEvent.`getPlayer()`
  Player whom the server is for.
  `ProxiedPlayer`
  ServerConnectEvent.`getPlayer()`
  Player connecting to a new server.
  `@NonNull ProxiedPlayer`
  ServerDisconnectEvent.`getPlayer()`
  Player disconnecting from a server.
  `ProxiedPlayer`
  ServerKickEvent.`getPlayer()`
  Player being kicked.
  `ProxiedPlayer`
  ServerSwitchEvent.`getPlayer()`
  Player whom the server is for.
  `ProxiedPlayer`
  SettingsChangedEvent.`getPlayer()`
  Player who changed the settings.
  Constructors in net.md_5.bungee.api.event with parameters of type ProxiedPlayer
  Modifier
  Constructor
  Description
  ``
  `CustomClickEvent(ProxiedPlayer player, String id, com.google.gson.JsonElement data)`
  Creates a new `CustomClickEvent` instance.
  ``
  `PlayerDisconnectEvent(ProxiedPlayer player)`
  Creates a new `PlayerDisconnectEvent` instance.
  ``
  `PostLoginEvent(ProxiedPlayer player, ServerInfo target, Callback<PostLoginEvent> done)`
  ``
  `ServerConnectedEvent(ProxiedPlayer player, Server server)`
  Creates a new `ServerConnectedEvent` instance.
  ``
  `ServerConnectEvent(ProxiedPlayer player, ServerInfo target)`
  Deprecated.
  ``
  `ServerConnectEvent(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason)`
  Deprecated.
  ``
  `ServerConnectEvent(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason, ServerConnectRequest request)`
  ``
  `ServerDisconnectEvent(@NonNull ProxiedPlayer player, @NonNull ServerInfo target)`
  Creates a new `ServerDisconnectEvent` instance.
  ``
  `ServerKickEvent(ProxiedPlayer player, BaseComponent[] kickReasonComponent, ServerInfo cancelServer)`
  Deprecated.
  ``
  `ServerKickEvent(ProxiedPlayer player, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, ServerKickEvent.State state)`
  Deprecated.
  ``
  `ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, ServerKickEvent.State state)`
  Deprecated.
  ``
  `ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent reason, ServerInfo cancelServer, ServerKickEvent.State state)`
  ``
  `ServerSwitchEvent(ProxiedPlayer player, ServerInfo from)`
  Creates a new `ServerSwitchEvent` instance.
  ``
  `SettingsChangedEvent(ProxiedPlayer player)`
  Creates a new `SettingsChangedEvent` instance.