Skip to main content

Dungeon Close

Action entry that shuts down an active dungeon instance. All players inside are teleported to the configured exit point.

Configuration

dungeon_closeMap

Configuration for the dungeon close action.

Properties

dungeonInstance

"> Target dungeon instance to close. exitPointWorldLocation

Teleport location for all players after the instance closes. Supports the World Location content editor. closeMessage

"> Message shown when the dungeon closes. Supports PlaceholderAPI.

Behavior

  1. Looks up the active instance for the configured dungeon in the player's current world.
  2. Calls DungeonInstanceService.closeInstance() which teleports all players to exitPoint.
  3. Sends closeMessage to the triggering player.

Example

action:
type: dungeon_close
id: "close_temple"
dungeonInstance: "ancient_temple"
exitPoint:
x: 0
y: 70
z: 0
world: "world"
yaw: 0
pitch: 0
closeMessage: "<red>The dungeon is closing. Teleporting out...</red>"