Package net.md_5.bungee.api.event
Class PreLoginEvent
- All Implemented Interfaces:
Cancellable
Event called to represent a player first making their presence and username
known.
This will NOT contain many attributes relating to the player which are filled
in after authentication with Mojang's servers. Examples of attributes which
are not available include their UUID.
-
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
-
PreLoginEvent
-
-
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
-