Uses of Enum Class
com.plotsquared.core.events.TeleportCause
Packages that use TeleportCause
Package
Description
-
Uses of TeleportCause in com.plotsquared.core.events
Fields in com.plotsquared.core.events with type parameters of type TeleportCauseModifier and TypeFieldDescriptionstatic final Set<TeleportCause>
TeleportCause.CauseSets.COMMAND
static final Set<TeleportCause>
TeleportCause.CauseSets.PLUGIN
Methods in com.plotsquared.core.events that return TeleportCauseModifier 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.Constructors in com.plotsquared.core.events with parameters of type TeleportCauseModifierConstructorDescriptionPlayerTeleportToPlotEvent
(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
Methods in com.plotsquared.core.player with parameters of type TeleportCauseModifier 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
Methods in com.plotsquared.core.plot with parameters of type TeleportCauseModifier 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
Methods in com.plotsquared.core.util with parameters of type TeleportCauseModifier and TypeMethodDescriptionEventDispatcher.callTeleport
(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause)