SybSafetyFirst
Toggle table of contents
unknown
jvm
Platform filter
jvm
Switch theme
Search in API
SybSafetyFirst
SybSafetyFirst
/
com.sybsuper.sybsafetyfirst.modules
/
NetherPortalsDestabilize
Nether
Portals
Destabilize
class
NetherPortalsDestabilize
:
Module
Members
Constructors
Nether
Portals
Destabilize
Link copied to clipboard
constructor
(
)
Types
Nether
Portals
Destabilize
Options
Link copied to clipboard
@
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
Properties
description
Link copied to clipboard
open
override
val
description
:
String
id
Link copied to clipboard
open
val
id
:
String
name
Link copied to clipboard
open
val
name
:
String
options
Link copied to clipboard
open
override
var
options
:
ModuleOptions
type
Safe
Options
Link copied to clipboard
val
typeSafeOptions
:
<Error class: unknown class>
Functions
current
Enabled
Instance
Link copied to clipboard
open
fun
currentEnabledInstance
(
)
:
Module
?
on
Link copied to clipboard
fun
on
(
event
:
PlayerPortalEvent
)
on
Disable
Link copied to clipboard
open
fun
onDisable
(
)
Called when the module is disabled.
on
Enable
Link copied to clipboard
open
fun
onEnable
(
)
Called when the module is enabled.