Uses of Enum Class
com.plotsquared.core.events.TeleportCause
Package
Description
-
Uses of TeleportCause in com.plotsquared.core.events
Modifier and TypeFieldDescriptionstatic final Set<TeleportCause>
TeleportCause.CauseSets.COMMAND
static final Set<TeleportCause>
TeleportCause.CauseSets.PLUGIN
Modifier and TypeMethodDescriptionPlayerTeleportToPlotEvent.getCause()
Get the teleport causestatic TeleportCause
Returns the enum constant of this class with the specified name.static TeleportCause[]
TeleportCause.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionPlayerTeleportToPlotEvent
(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause) PlayerTeleportToPlotEvent: Called when a player teleports to a plot -
Uses of TeleportCause in com.plotsquared.core.player
Modifier and TypeMethodDescriptionvoid
ConsolePlayer.teleport
(Location location, TeleportCause cause) abstract void
PlotPlayer.teleport
(Location location, TeleportCause cause) Teleport this player to a location. -
Uses of TeleportCause in com.plotsquared.core.plot
Modifier and TypeMethodDescriptionvoid
Plot.teleportPlayer
(PlotPlayer<?> player, TeleportCause cause, Consumer<Boolean> resultConsumer) Teleport a player to a plot and send them the teleport message. -
Uses of TeleportCause in com.plotsquared.core.util
Modifier and TypeMethodDescriptionEventDispatcher.callTeleport
(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause)