ServerUtil

object ServerUtil

Functions

Link copied to clipboard
fun broadcast(message: String)
Link copied to clipboard
fun offlinePlayer(uuid: UUID): Player?
fun offlinePlayer(name: String): Player?
Link copied to clipboard
fun player(uuid: UUID): Player?
fun player(name: String): Player?
Link copied to clipboard
fun players(): List<Player>
Link copied to clipboard
fun task(block: (BukkitTask) -> Unit): BukkitTask
Link copied to clipboard
fun taskAsync(block: (BukkitTask) -> Unit): BukkitTask
Link copied to clipboard
fun taskLater(delay: Int, block: (BukkitTask) -> Unit): BukkitTask
fun taskLater(delay: Long, block: (BukkitTask) -> Unit): BukkitTask
Link copied to clipboard
fun taskLaterAsync(delay: Int, block: (BukkitTask) -> Unit): BukkitTask
fun taskLaterAsync(delay: Long, block: (BukkitTask) -> Unit): BukkitTask
Link copied to clipboard
fun taskTimer(delay: Int, period: Int, block: (BukkitTask) -> Unit): BukkitTask
fun taskTimer(delay: Long, period: Long, block: (BukkitTask) -> Unit): BukkitTask
Link copied to clipboard
fun taskTimerAsync(delay: Int, period: Int, block: (BukkitTask) -> Unit): BukkitTask
fun taskTimerAsync(delay: Long, period: Long, block: (BukkitTask) -> Unit): BukkitTask