PlayerTeleporter

class PlayerTeleporter(plugin: ImprovedFactionsPlugin, player: Player, titleKey: LocalizationKey, subtitleKey: LocalizationKey, onTeleport: () -> Unit, standStillMs: Long = 5000, playAnimation: Boolean = true, onCancelled: () -> Unit = { player.sendLocalized("base.player-teleport.cancel-message") }) : BukkitRunnable

Constructors

Link copied to clipboard
constructor(plugin: ImprovedFactionsPlugin, player: Player, titleKey: LocalizationKey, subtitleKey: LocalizationKey, onTeleport: () -> Unit, standStillMs: Long = 5000, playAnimation: Boolean = true, onCancelled: () -> Unit = { player.sendLocalized("base.player-teleport.cancel-message") })

Properties

Link copied to clipboard
Link copied to clipboard
open val taskId: Int

Functions

Link copied to clipboard
open override fun cancel()
Link copied to clipboard
open override fun run()
Link copied to clipboard
@NotNull
open fun runTask(@NotNull plugin: @NotNull Plugin): @NotNull BukkitTask
Link copied to clipboard
@NotNull
open fun runTaskAsynchronously(@NotNull plugin: @NotNull Plugin): @NotNull BukkitTask
Link copied to clipboard
@NotNull
open fun runTaskLater(@NotNull plugin: @NotNull Plugin, delay: Long): @NotNull BukkitTask
Link copied to clipboard
@NotNull
open fun runTaskLaterAsynchronously(@NotNull plugin: @NotNull Plugin, delay: Long): @NotNull BukkitTask
Link copied to clipboard
@NotNull
open fun runTaskTimer(@NotNull plugin: @NotNull Plugin, delay: Long, period: Long): @NotNull BukkitTask
Link copied to clipboard
@NotNull
open fun runTaskTimerAsynchronously(@NotNull plugin: @NotNull Plugin, delay: Long, period: Long): @NotNull BukkitTask
Link copied to clipboard