Package net.md_5.bungee.api.event
Class PlayerHandshakeEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- net.md_5.bungee.api.event.PlayerHandshakeEvent
-
public class PlayerHandshakeEvent extends Event
Event called to represent a player first making their presence and username known.
-
-
Constructor Summary
Constructors Constructor Description PlayerHandshakeEvent(PendingConnection connection, Handshake handshake)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)PendingConnectiongetConnection()Connection attempting to login.HandshakegetHandshake()The handshake.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PlayerHandshakeEvent
public PlayerHandshakeEvent(PendingConnection connection, Handshake handshake)
-
-
Method Detail
-
getConnection
public PendingConnection getConnection()
Connection attempting to login.
-
getHandshake
public Handshake getHandshake()
The handshake.
-
canEqual
protected boolean canEqual(Object other)
-
-