NetherPortalsDestabilizeOptions

@Serializable
data class NetherPortalsDestabilizeOptions(var enabled: Boolean = true, var destabilizationChance: Float = 0.5f, var destabilizationRadius: Float = 5000.0f, var destabilizationMessage: String = "<red>Warning: The portal you used was unstable!") : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, destabilizationChance: Float = 0.5f, destabilizationRadius: Float = 5000.0f, destabilizationMessage: String = "<red>Warning: The portal you used was unstable!")

Properties

Link copied to clipboard

The chance that a Nether portal will destabilize when used. 0.0 means no destabilization, 1.0 means always destabilizes.

Link copied to clipboard

Minimessage to display when a portal is destabilized. Set to an empty string to disable the message.

Link copied to clipboard

Destabilization distance in blocks. 5000 means the portal will be created maximally 5000 blocks away from the original location on each axis (X, Z).

Link copied to clipboard
open override var enabled: Boolean

Whether the module is enabled or not. This is used to determine if the module should be loaded and its features activated.