Package net.ess3.api.events
Class TPARequestEvent
java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.TPARequestEvent
- All Implemented Interfaces:
Cancellable
Fired when a /tpa, /tpaall or /tpahere request is made.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
boolean
void
setCancelled
(boolean cancelled) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TPARequestEvent
-
-
Method Details
-
getHandlerList
-
getRequester
-
getTarget
-
isTeleportHere
public boolean isTeleportHere() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlers
- Specified by:
getHandlers
in classEvent
-