Package net.md_5.bungee.api.event
Class ServerConnectedEvent
- java.lang.Object
- 
- net.md_5.bungee.api.plugin.Event
- 
- net.md_5.bungee.api.event.ServerConnectedEvent
 
 
- 
 public class ServerConnectedEvent extends Event Not to be confused withServerConnectEvent, this event is called once a connection to a server is fully operational, and is about to hand over control of the session to the player. It is useful if you wish to send information to the server before the player logs in.
- 
- 
Constructor SummaryConstructors Constructor Description ServerConnectedEvent(ProxiedPlayer player, Server server)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ProxiedPlayergetPlayer()Player whom the server is for.ServergetServer()The server itself.inthashCode()StringtoString()
 
- 
- 
- 
Constructor Detail- 
ServerConnectedEventpublic ServerConnectedEvent(ProxiedPlayer player, Server server) 
 
- 
 - 
Method Detail- 
getPlayerpublic ProxiedPlayer getPlayer() Player whom the server is for.
 - 
getServerpublic Server getServer() The server itself.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-