# Deprecated API

## Contents

- Interfaces
- Classes
- Methods
- Constructors

- Deprecated Interfaces
  Interface
  Description
  net.md_5.bungee.api.ProxyConfig
  This class is subject to rapid change between releases

- Deprecated Classes
  Class
  Description
  net.md_5.bungee.api.scheduler.GroupedThreadFactory
  net.md_5.bungee.command.PlayerCommand
  internal use only

- Deprecated Methods
  Method
  Description
  net.md_5.bungee.api.CommandSender.sendMessage(String)
  net.md_5.bungee.api.CommandSender.sendMessages(String...)
  net.md_5.bungee.api.config.ListenerInfo.getDefaultServer()
  replaced by `ListenerInfo.serverPriority`
  net.md_5.bungee.api.config.ListenerInfo.getFallbackServer()
  replaced by `ListenerInfo.serverPriority`
  net.md_5.bungee.api.config.ListenerInfo.getHost()
  BungeeCord can listen via Unix domain sockets
  net.md_5.bungee.api.config.ServerInfo.getAddress()
  BungeeCord can connect via Unix domain sockets
  net.md_5.bungee.api.connection.Connection.disconnect(String)
  net.md_5.bungee.api.connection.Connection.getAddress()
  BungeeCord can accept connections via Unix domain sockets
  net.md_5.bungee.api.connection.PendingConnection.getUUID()
  In favour of `PendingConnection.getUniqueId()`
  net.md_5.bungee.api.connection.ProxiedPlayer.getScoreboard()
  for internal use only, setters will not have the expected effect, will not update client state, and may corrupt proxy state
  net.md_5.bungee.api.connection.ProxiedPlayer.getUUID()
  In favour of `ProxiedPlayer.getUniqueId()`
  net.md_5.bungee.api.event.LoginEvent.getCancelReason()
  use component methods instead
  net.md_5.bungee.api.event.LoginEvent.getCancelReasonComponents()
  use single component methods instead
  net.md_5.bungee.api.event.LoginEvent.setCancelReason(String)
  use component methods instead
  net.md_5.bungee.api.event.LoginEvent.setCancelReason(BaseComponent...)
  use single component methods instead
  net.md_5.bungee.api.event.PreLoginEvent.getCancelReason()
  use component methods instead
  net.md_5.bungee.api.event.PreLoginEvent.getCancelReasonComponents()
  use single component methods instead
  net.md_5.bungee.api.event.PreLoginEvent.setCancelReason(String)
  Use component methods instead
  net.md_5.bungee.api.event.PreLoginEvent.setCancelReason(BaseComponent...)
  use single component methods instead
  net.md_5.bungee.api.event.ServerKickEvent.getKickReason()
  use component methods instead
  net.md_5.bungee.api.event.ServerKickEvent.getKickReasonComponent()
  use single component methods instead
  net.md_5.bungee.api.event.ServerKickEvent.setKickReason(String)
  use component methods instead
  net.md_5.bungee.api.event.ServerKickEvent.setKickReasonComponent(BaseComponent[])
  use single component methods instead
  net.md_5.bungee.api.Favicon.create(String)
  Use #create(java.awt.image.BufferedImage) instead
  net.md_5.bungee.api.plugin.Plugin.getExecutorService()
  internal API. Use `ProxyServer.getScheduler()` instead
  net.md_5.bungee.api.ProxyConfig.getFavicon()
  Use #getFaviconObject instead.
  net.md_5.bungee.api.ProxyConfig.getThrottle()
  net.md_5.bungee.api.ProxyConfig.isIpForward()
  net.md_5.bungee.api.ProxyServer.broadcast(String)
  net.md_5.bungee.api.ProxyServer.getGameVersion()
  net.md_5.bungee.api.ProxyServer.getProtocolVersion()
  net.md_5.bungee.api.ServerPing.getDescription()
  net.md_5.bungee.api.ServerPing.getFavicon()
  net.md_5.bungee.api.ServerPing.setDescription(String)
  net.md_5.bungee.api.ServerPing.setFavicon(String)
  net.md_5.bungee.Util.format(Iterable<?>, String)
  use `String` join methods

- Deprecated Constructors
  Constructor
  Description
  net.md_5.bungee.api.config.ListenerInfo(InetSocketAddress, String, int, int, List<String>, boolean, Map<String, String>, String, boolean, boolean, int, boolean)
  net.md_5.bungee.api.event.ServerConnectEvent(ProxiedPlayer, ServerInfo)
  net.md_5.bungee.api.event.ServerConnectEvent(ProxiedPlayer, ServerInfo, ServerConnectEvent.Reason)
  net.md_5.bungee.api.event.ServerKickEvent(ProxiedPlayer, BaseComponent[], ServerInfo)
  net.md_5.bungee.api.event.ServerKickEvent(ProxiedPlayer, BaseComponent[], ServerInfo, ServerKickEvent.State)
  net.md_5.bungee.api.event.ServerKickEvent(ProxiedPlayer, ServerInfo, BaseComponent[], ServerInfo, ServerKickEvent.State)
  net.md_5.bungee.api.ServerPing(ServerPing.Protocol, ServerPing.Players, String, String)
  net.md_5.bungee.api.ServerPing(ServerPing.Protocol, ServerPing.Players, String, Favicon)