key

abstract val key: String

Gets the key that identifies this world, e.g. "minecraft:the_nether".

Unlike name, this is the same value on Bukkit and modded servers for a given dimension.

Minestom has no namespaced identity for instances, so it falls back to "minestom:", which is not stable across restarts.