Package net.md_5.bungee.api.event
Class LoginEvent
- All Implemented Interfaces:
Cancellable
Event called to represent a player logging in.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use component methods instead.void
setCancelReason
(String cancelReason) Deprecated.void
setCancelReason
(BaseComponent... cancelReason) Methods inherited from class net.md_5.bungee.api.event.AsyncEvent
completeIntent, postCall, registerIntent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.md_5.bungee.api.plugin.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
LoginEvent
-
-
Method Details
-
getCancelReason
Deprecated.Use component methods instead.- Returns:
- reason to be displayed
-
setCancelReason
Deprecated.- Parameters:
cancelReason
- reason to be displayed
-
setCancelReason
-