Package net.md_5.bungee.api.event
Class PostLoginEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- net.md_5.bungee.api.event.AsyncEvent<PostLoginEvent>
-
- net.md_5.bungee.api.event.PostLoginEvent
-
public class PostLoginEvent extends AsyncEvent<PostLoginEvent>
Event called as soon as a connection has aProxiedPlayerand is ready to be connected to a server.
-
-
Constructor Summary
Constructors Constructor Description PostLoginEvent(ProxiedPlayer player, ServerInfo target, Callback<PostLoginEvent> done)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ProxiedPlayergetPlayer()The player involved with this event.ServerInfogetTarget()The server to which the player will initially be connected.inthashCode()voidsetTarget(ServerInfo target)The server to which the player will initially be connected.StringtoString()-
Methods inherited from class net.md_5.bungee.api.event.AsyncEvent
completeIntent, postCall, registerIntent
-
-
-
-
Constructor Detail
-
PostLoginEvent
public PostLoginEvent(ProxiedPlayer player, ServerInfo target, Callback<PostLoginEvent> done)
-
-
Method Detail
-
getPlayer
public ProxiedPlayer getPlayer()
The player involved with this event.
-
getTarget
public ServerInfo getTarget()
The server to which the player will initially be connected.
-
setTarget
public void setTarget(ServerInfo target)
The server to which the player will initially be connected.
-
toString
public String toString()
- Overrides:
toStringin classAsyncEvent<PostLoginEvent>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAsyncEvent<PostLoginEvent>
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classAsyncEvent<PostLoginEvent>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAsyncEvent<PostLoginEvent>
-
-