Class LoginRequestEvent
java.lang.Object
org.bukkit.event.Event
com.nickuc.login.api.event.internal.bukkit.BukkitEvent
com.nickuc.login.api.event.internal.bukkit.BukkitCancellableEvent
com.nickuc.login.api.event.internal.bukkit.BukkitLockableEvent
com.nickuc.login.api.event.bukkit.auth.request.LoginRequestEvent
- All Implemented Interfaces:
CancellableEvent
,EventWithPlayer
,LockableEvent
,org.bukkit.event.Cancellable
Event triggered when a login request is initiated for a player.
Read-only for PROXY
implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LoginRequestChangeEvent
createNewActionEvent
(org.bukkit.plugin.Plugin owner, LockableEventAction action) org.bukkit.entity.Player
Returns the player instance.protected void
internalCall
(int id) Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitLockableEvent
callEvt, count, getLock, lock, unlock
Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitCancellableEvent
isCancelled, setCancelled
Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
LoginRequestEvent
public LoginRequestEvent(org.bukkit.entity.Player player)
-
-
Method Details
-
createNewActionEvent
protected LoginRequestChangeEvent createNewActionEvent(org.bukkit.plugin.Plugin owner, LockableEventAction action) - Specified by:
createNewActionEvent
in classBukkitLockableEvent
-
internalCall
protected void internalCall(int id) - Specified by:
internalCall
in classBukkitLockableEvent
-
getPlayer
public org.bukkit.entity.Player getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-