# InstancedDungeons Configuration
# Created by we_rt
# Target server: Paper 1.21.x / Java 21 / Multiverse-Core 5.5.2+

# Debug mode - Enable for additional console logging
debug: false

# Editor Mode
editor:
  # When true, /dungeon edit teleports the admin to the dungeon template.
  # If the dungeon spawn is configured, the admin is sent to that spawn.
  # Otherwise, the admin is sent to the template world's spawn.
  teleport-to-template-on-edit: false

# Party System Configuration
party:
  # Time in seconds before a party is automatically disbanded if not started
  timeout-seconds: 300

# Exit Confirmation Configuration
# Time in seconds before exit confirmation expires
exit-confirm-timeout: 30

# Instance Limits
instances:
  # Maximum number of active instances across all dungeons.
  # Free edition is always capped at 16, even when this is 0 or higher than 16.
  # 0 = use the free-edition cap.
  max-active-global: 0

# Should inactive instances be deleted if delete-on-completion dungeon fails?
# After how long should undeleted instances be cleared?
auto-cleanup:
  enabled: true
  max-age-hours: 3
  check-interval-minutes: 10

# Plugin Settings
settings:
  # Prefix for all messages
  prefix: "&8[&6Dungeons&8]&r "

  # BossBar Configuration
  bossbar:
    # Update interval in ticks (20 ticks = 1 second)
    update-interval: 20

# Update Checker
update-checker:
  # Enable or disable the automatic update checker on startup
  # Only versions marked for this server/API target are reported.
  enabled: true

# Multiverse-Core Integration
multiverse:
  # Warn in console and to admins when a different Multiverse-Core version
  # than the recommended one is detected. When disabled, the plugin will still
  # work, but it will not show warnings about non-recommended versions.
  warn-on-non-recommended-version: true
