Class LoginCancelledEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.mrivanplays.ivancord.api.event.LoginCancelledEvent
Represents a event, called when login process is aborted/cancelled
by the logging player or the proxy. In most of the times, the event
is being triggered by the logging player pressing the "Cancel"
button on the client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Represents a cancel reason -
Constructor Summary
ConstructorDescriptionLoginCancelledEvent
(PendingConnection connection, LoginCancelledEvent.CancelReason cancelReason) -
Method Summary
Modifier and TypeMethodDescriptionThe reason of which the event was being triggeredThe pending connection, which aborted their login process
-
Constructor Details
-
LoginCancelledEvent
public LoginCancelledEvent(PendingConnection connection, LoginCancelledEvent.CancelReason cancelReason)
-
-
Method Details
-
getConnection
The pending connection, which aborted their login process -
getCancelReason
The reason of which the event was being triggered
-