ExternalBossbarConfig

data class ExternalBossbarConfig(val enabled: Boolean = true, val position: String = "above", val stepY: Int = 19, val gapY: Int = 19, val maxVisible: Int = 7, val title: ExternalBossbarTitle = ExternalBossbarTitle(), val bar: ExternalBossbarBar = ExternalBossbarBar(), val preserveEffects: Boolean = true)(source)

Global bridge for vanilla and other plugins' BossBars. Positive Y is up.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, position: String = "above", stepY: Int = 19, gapY: Int = 19, maxVisible: Int = 7, title: ExternalBossbarTitle = ExternalBossbarTitle(), bar: ExternalBossbarBar = ExternalBossbarBar(), preserveEffects: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "gap-y")
val gapY: Int
Link copied to clipboard
@SerializedName(value = "max-visible")
val maxVisible: Int
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "preserve-effects")
val preserveEffects: Boolean
Link copied to clipboard
@SerializedName(value = "step-y")
val stepY: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun validate()