Module org.cloudburstmc.api
Class PlayerAsyncPreLoginEvent
java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.player.PlayerEvent
org.cloudburstmc.api.event.player.PlayerAsyncPreLoginEvent
This event is called asynchronously
- Author:
- CreeperFace
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallow()voidvoidscheduleSyncAction(Consumer<Player> action)voidsetKickMessage(String kickMessage)voidsetLoginResult(PlayerAsyncPreLoginEvent.LoginResult loginResult)Methods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
PlayerAsyncPreLoginEvent
-
-
Method Details
-
getLoginData
-
getLoginResult
-
setLoginResult
-
getKickMessage
-
setKickMessage
-
scheduleSyncAction
-
getScheduledActions
-
allow
public void allow() -
disAllow
-
getPlayer
- Overrides:
getPlayerin classPlayerEvent
-