Zum Hauptinhalt springen

temporary_dimension

Temporary Dimension Definition — misc entry.

Entry Information

PropertyValue
Entry IDtemporary_dimension
TypeMisc
ColorOrange
Iconmdi:earth-plus

Description

Manifest entry defining a temporary dimension accessible via a custom command. When a player executes the command with the required permission, a temporary world is created from one of the template worlds and the player is teleported to a random safe location within the spawn zone.

Fields

FieldTypeDescription
commandNameStringCommand name to access this dimension (without slash, e.g. 'nether')
permissionStringPermission required to use the command (e.g. 'temporarydimension.access.nether')
templateWorldsList<String>List of template world names (one will be selected randomly)
spawnZoneSpawnZoneSpawn zone - players will spawn randomly within this area
spawnBlockWhitelistList<Material>Optional whitelist of blocks where players can spawn (empty = any solid block)
blacklistedCommandsList<String>Commands that are blocked while in this dimension (without slash)
onEnterList<Ref<TriggerableEntry>>Triggers executed when a player enters the dimension
onExitList<Ref<TriggerableEntry>>Triggers executed when a player exits the dimension
noPermissionMessageStringMessage shown when player lacks permission (MiniMessage format)
enterMessageStringMessage shown when entering the dimension (MiniMessage format)
exitMessageStringMessage shown when leaving the dimension (MiniMessage format)
commandBlockedMessageStringMessage shown when a command is blocked (MiniMessage format)

Usage Example

- entry: temporary_dimension
name: "Temporary Dimension Definition"
commandName: ""
permission: ""
templateWorlds: []
spawnZone: ""
spawnBlockWhitelist: []
blacklistedCommands: []
onEnter: []
onExit: []
noPermissionMessage: ""
enterMessage: ""
exitMessage: ""
commandBlockedMessage: ""