public class PlayerPermissionCheckEventAsync
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
| Modifier and Type | Field and Description |
|---|---|
protected org.bukkit.entity.Player |
player |
| Constructor and Description |
|---|
PlayerPermissionCheckEventAsync(org.bukkit.entity.Player player,
String requestedPermission) |
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
String |
getRequestedPermission() |
boolean |
isAllowed() |
boolean |
isCancelled() |
void |
setAllowed(boolean allowed) |
void |
setCancelled(boolean cancel) |
public PlayerPermissionCheckEventAsync(org.bukkit.entity.Player player,
String requestedPermission)
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.Cancellablepublic org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic static org.bukkit.event.HandlerList getHandlerList()
public boolean isAllowed()
public void setAllowed(boolean allowed)
public String getRequestedPermission()