on_realm_stop
fun on_realm_stop(behaviour: RealmStop.() -> Unit)RealmStop.() -> Uniton_realm_stop { val why = message ?: "The realm is switching off." World.players.forEach { player -> player.message(if (restarting) "$why Back in a moment." else why) }}Properties
Section titled “Properties”restarting
Section titled “restarting”val restarting: Booleanmessage
Section titled “message”val message: String?