Skip to content

Dungeon Config

Every dungeon has a main config file:

plugins/InstancedDungeons/dungeons/<dungeon_id>/config.yml

The current dungeon format requires:

v: 2.0

Dungeons without this marker are blocked from opening.

The optional ram-analysis.yml is a plugin-level diagnostic file, not a dungeon config. It is created only after an administrator runs /dungeon ram analysis; see RAM Analysis.

Core Fields

dungeon-type: single
tower-stage-type: first
next-dungeon: ""

completion-objective: BOSS
display-name: "Dragon Lair"
template-world: "dragon_template"

min-players: 1
max-players: 5
time-limit: 1800
Field Description
dungeon-type single or tower.
tower-stage-type first, middle, or last. Used only for tower dungeons.
next-dungeon Next dungeon ID for tower transitions.
completion-objective BOSS or TRIGGER.
template-world Source world copied for each instance.
time-limit Run time in seconds.

Spawn and Exit

Spawn and exit are normally set in-game:

/dungeon edit <id>
/dungeon setspawn
/dungeon setexit

Players enter the instance at the dungeon spawn. Players are sent to the exit when they leave, fail, or complete the run.

Announcements

announce-start: false
announce-complete: false
announce-fail: false

announce-start broadcasts when a run starts.

announce-complete broadcasts when a standalone dungeon completes. In towers, this is controlled by the entry dungeon and is broadcast only after the final tower stage completes.

announce-fail broadcasts when a standalone dungeon or whole tower fails.

Tower announcement rule

Tower complete/fail announcements use the entry dungeon's announce-* settings. Middle and last tower stage configs do not control global tower announcements.

Entry Costs

costs:
  money: 1000
  items:
    - type: VANILLA
      item: DIAMOND
      amount: 2

If require-all-players-pay is false, only the leader pays. If it is true, every party member must meet the cost.

Tower rule: only FIRST tower stages may have entry costs.

Protection

allow-block-break: false
allow-block-place: false
allow-fluid-place: false
allow-fluid-take: false
allow-interactions: true
allow-party-pvp: true
allow-fly: false

allow-fly: true leaves flight already granted by a game mode, permission, or another plugin untouched. It never grants flight by itself. false forces flight off for active Survival and Adventure dungeon players and restores their previous flight state when they leave the dungeon. Creative and Spectator modes are exempt.

Trigger objectives and mission blocks can still work when normal interactions are blocked.

Item Restrictions

Free and Pro dungeons can block movement, teleport, combat, and consumable items inside an active instance:

item-restrictions:
  block-elytra: false
  block-ender-pearls: false
  block-chorus-fruit: false
  block-enchanted-golden-apples: false
  block-wind-charges: false
  block-firework-rockets: false
  block-mace: false
  block-trident: false

All restrictions default to false.

Setting Blocked behavior
block-elytra Starting or continuing elytra flight.
block-ender-pearls Throwing an ender pearl and the resulting teleport.
block-chorus-fruit Eating chorus fruit and the resulting teleport.
block-enchanted-golden-apples Consuming enchanted golden apples.
block-wind-charges Using or launching wind charges.
block-firework-rockets Using, launching, or firing firework rockets from a crossbow.
block-mace Using a mace in melee combat.
block-trident Using a trident in melee combat or throwing it.

Restrictions apply only while the player belongs to an active dungeon instance and is physically inside its world. In Free they are configured in the dungeon YAML; Pro also provides the Item Restrictions GUI category.

Missing restriction keys are appended with false without replacing existing dungeon settings.

Death Behavior

lives:
  scope: PLAYER
  amount: 1

death-behavior: ELIMINATE_AS_SPECTATOR
fail-if-all-players-dead: true
Value Meaning
ELIMINATE_AS_SPECTATOR Eliminated players become dungeon spectators.
ELIMINATE_TO_EXIT Eliminated players are sent to the dungeon exit.

scope: PLAYER gives each player their own lives. scope: TEAM makes lives shared by the party.

Timer Bossbar

timer-bossbar:
  enabled: true
  color: GREEN
  style: SOLID
  show-time-left: true

Timer Alerts

timer-alerts:
  10-minutes:
    enabled: true
    sound: BLOCK_NOTE_BLOCK_PLING
  5-minutes:
    enabled: true
    sound: BLOCK_NOTE_BLOCK_PLING
  1-minute:
    enabled: true
    sound: ENTITY_EXPERIENCE_ORB_PICKUP