Package-level declarations

Types

Link copied to clipboard
object Base64Item
Link copied to clipboard

Created: 21.07.2023 Author: Tobias Madlberger (Tobias)

Link copied to clipboard
class CliPrinter(logger: Logger)
Link copied to clipboard
class DatabaseLazyUpdate<T>(getCached: () -> T, setLazyUpdate: (value: Boolean) -> Unit, getLazyUpdate: () -> Boolean, updateCached: () -> Unit)
Link copied to clipboard
object FileUtils

FileUtils is a utility class providing file-related operations for Java plugins.

Link copied to clipboard
class LazyUpdate<T>(compute: () -> T)
Link copied to clipboard
class PlayerTeleporter(plugin: ImprovedFactionsPlugin, player: Player, titleKey: LocalizationKey, subtitleKey: LocalizationKey, onTeleport: () -> Unit, standStillMs: Long = 5000, playAnimation: Boolean = true) : BukkitRunnable

Functions

Link copied to clipboard
fun TextComponent.appendIf(condition: Boolean, component: () -> TextComponent): TextComponent
Link copied to clipboard
inline fun <T, R> T.compute(computeBlock: (T) -> R): R
Link copied to clipboard
inline fun <T : Enum<T>> String?.getEnum(): T?

inline fun <T : Enum<T>> ConfigurationSection.getEnum(path: String): T?

Created: 04.08.2023

Link copied to clipboard
fun CommandProcessor.getMeta(): GeneratedCommandMeta?
fun SubCommand.getMeta(): CommandMeta?
Link copied to clipboard
fun String.getOfflinePlayerByName(): OfflinePlayer?
Link copied to clipboard
fun ConfigurationSection.getUnsignedDouble(path: String, default: Double): Double
Link copied to clipboard
fun KClass<*>.isSubtype(className: String): Boolean
Link copied to clipboard
fun Player.toAudience(): Audience
Link copied to clipboard
Link copied to clipboard
fun UUID.toOfflinePlayer(): OfflinePlayer