Package net.md_5.bungee.api.event
Class LoginEvent
- All Implemented Interfaces:
Cancellable
Event called to represent a player logging in.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.use component methods insteadDeprecated.use single component methods insteadvoid
setCancelReason
(String cancelReason) Deprecated.use component methods insteadvoid
setCancelReason
(BaseComponent... cancelReason) Deprecated.use single component methods insteadMethods 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.use component methods instead- Parameters:
cancelReason
- reason to be displayed
-
getCancelReasonComponents
Deprecated.use single component methods instead- Returns:
- reason to be displayed
-
setCancelReason
Deprecated.use single component methods instead- Parameters:
cancelReason
- reason to be displayed
-