# InstancedDungeons Messages Configuration

# General Messages
prefix: "&8[&6Dungeons&8]&r "
no-permission: "&cYou don't have permission to use this command!"
no-permission-open: "&cYou don't have permission to create a party for this dungeon!"
no-permission-join: "&cYou don't have permission to join this dungeon!"
unknown-command: "&cUnknown command! Use /dungeon help"
player-only: "&cOnly players can use this command!"

# Dungeon Messages
dungeon-not-found: "&cDungeon not found!"
dungeon-started: "&aThe dungeon has started! Good luck!"
dungeon-started-info:
  - "&8&m--------------------------------------------------"
  - "&eDungeon: &f%dungeon%"
  - "&7Type: &f%dungeon_type% &8| &7Objective: &f%completion_objective%"
  - "&7Lives: &f%lives_amount% &7per &f%lives_scope% &8| &7Elimination: &f%death_behavior%"
  - "&8&m--------------------------------------------------"
dungeon-completed: "&a&lDUNGEON COMPLETED! &7Congratulations!"
dungeon-failed-time-up: "&c&lTIME'S UP! &7The dungeon has failed."
dungeon-failed-all-players-dead: "&c&lDEFEAT! &7All players have died."
dungeon-failed-all-players-left: "&c&lABANDONED! &7All players have left."
dungeon-failed-team-lives-depleted: "&c&lDEFEAT! &7Your team has no lives left."
dungeon-failed-tower-transition-failed: "&c&lTOWER FAILED! &7The next tower stage could not be prepared."
tower-stage-completed: "&a&lSTAGE COMPLETE! &7Completed tower stage: &e%dungeon%"
tower-next-stage-countdown: "&dNext tower stage &e%dungeon% &dstarts in &e%seconds% &dseconds."
tower-completed: "&a&lTOWER COMPLETED! &7You completed the final stage: &e%dungeon%"
stage-mission-completed: "&aMission completed: &e%mission%"
stage-gate-opened: "&aGate opened for stage &e%stage%&a!"
stage-progress-next: "&dNext stage unlocked: &e%stage%"
stage-all-cleared: "&aAll configured stages are cleared."
stage-locked-previous: "&cUnlock the previous stage first."
stage-key-accepted: "&aStage key accepted! &e%current%&7/&e%required%"
stage-leader-only-action: "&cOnly the party leader can use this mission action."
stage-economy-unavailable: "&cMoney payment missions require Vault and an economy plugin."
stage-not-enough-money: "&cYou do not have enough money for this mission."
stage-missing-items: "&cYou are missing required items for this mission."
stage-sacrifice-vote-update: "&eSacrifice votes: &6%current%&7/&6%required%"
stage-sacrifice-selected: "&c%player% &7was selected as the sacrifice."
stage-new-leader: "&e%player% &7is now the dungeon party leader."
stage-list-empty: "&eNo stages are configured for this dungeon."
stage-list-header: "&6Stages for &e%dungeon%&6:"
stage-list-entry: "&7%order%. &e%stage% &8(&7gate blocks: %gate_blocks%, missions: %missions%&8)"
stage-order-usage: "&cUsage: /dungeon stage <stage_id> order <number>"
stage-order-invalid: "&cInvalid stage order: &e%order%&c. Use a number from 1 to %max%."
stage-order-unchanged: "&eStage &6%stage% &eis already order &6%order%&e."
stage-order-changed: "&aStage &e%stage% &amoved from order &6%old_order% &ato &6%new_order%&a. Stages with the same order can run in parallel."
stage-not-found: "&cStage not found: &e%stage%"
stage-id-required: "&7Use &e/dungeon stage list &7to see stage IDs. Commands use stage IDs, not stage-order numbers."
stage-delete-confirm: "&eRun the same command again in 30s to delete stage &6%stage%&e."
stage-delete-warning: "&7This removes the stage file, missions, hologram config, gate blocks, and active gate edit sessions."
stage-deleted: "&aStage deleted: &e%stage%"
stage-delete-failed: "&cFailed to delete stage: &e%stage%"
stage-gate-stick-editor-reminder: "&7Tip: while editing a gate, use &e/dungeon stage <stage_id> gate stick &7to add or remove existing blocks from the gate selection."
stage-gate-stick-given: "&aGate edit stick added. &eLeft-click &aadds one block, &eright-click &aremoves one block. &dSneak-click &aaffects connected same-material blocks."
stage-gate-stick-requires-session: "&cYou must be in gate create/edit mode for this stage first."
stage-gate-stick-no-session: "&cNo active gate create/edit session."
stage-gate-stick-wrong-session: "&cThis gate stick belongs to another gate edit session."

# Player-facing mission names.
# Internal mission IDs in configs and commands stay unchanged.
mission-names:
  KILL_MOBS: "Kill Mobs"
  LEVER: "Lever"
  BUTTON: "Button"
  PRESSURE_PLATE: "Pressure Plate"
  REQUIRED_KEY: "Required Key"
  TIME: "Timer"
  SACRIFICE: "Sacrifice"
  MONEY_PAYMENT: "Money Payment"
  ITEM_PAYMENT: "Item Payment"

# Party Messages
party-joined: "&aYou joined the party for &e%dungeon%&a! Code: &e%code%"
party-left: "&eYou left the party."
party-member-joined: "&e%player% &ajoined the party!"
party-member-left: "&e%player% &cleft the party."
party-disbanded-leader-left: "&cParty disbanded - leader left."
party-disbanded-timeout: "&cParty disbanded - time expired."
party-disbanded-started: "&aParty disbanded - dungeon starting!"
party-disbanded-start-cancelled: "&cParty disbanded - dungeon start cancelled."
party-disbanded-completed: "&aParty closed - dungeon completed."
party-disbanded-abandoned: "&cParty closed - dungeon abandoned."
party-disbanded-shutdown: "&cParty disbanded - server shutdown."
already-in-party: "&cYou're already in a party!"
not-party-leader: "&cOnly the party leader can do this!"
not-enough-players: "&cNot enough players to start!"
failed-to-join-party: "&cFailed to join party! Invalid code or party is full."
party-locked-starting: "&cThis party is already preparing to start the dungeon."
party-cannot-leave-starting: "&cYou cannot leave the party while the dungeon is preparing to start."
party-member-offline: "&cCannot start while these party members are offline: &e%players%"

# Instance Messages
max-instances-reached: "&cMaximum instances reached! Try again later."
max-instances-global-reached: "&cThe server-wide active dungeon limit has been reached! Try again later."
insufficient-items: "&cYou don't have the required items!"
not-in-dungeon: "&cYou're not in a dungeon!"
failed-to-create-instance: "&cFailed to create dungeon instance!"
exited-dungeon: "&eYou have exited the dungeon."
dungeon-player-exited: "&e%player% &7has left the dungeon."
exit-reminder: "&eReminder: You can exit the dungeon anytime by using &6/dungeon exit"
dungeon-external-leave: "&eYou left the dungeon instance through an external teleport and were automatically removed from the run."
dungeon-entry-denied: "&cYou cannot enter this active dungeon instance."
command-blocked-in-dungeon: "&cYou cannot use &e%command% &cwhile inside this dungeon."
cannot-break-blocks: "&cYou cannot break blocks in this dungeon!"
cannot-place-blocks: "&cYou cannot place blocks in this dungeon!"
dungeon-starting-shortly: "&eDungeon is starting shortly..."
dungeon-start-countdown: "&eDungeon starts in &6%seconds%&e..."
dungeon-start-cancelled-player-left: "&cDungeon start cancelled because &e%player% &cleft the server. All paid costs were refunded."
dungeon-start-cancelled-failed: "&cDungeon start cancelled because the dungeon instance could not be prepared. All paid costs were refunded."
party-start-already-preparing: "&cThis party is already preparing to start the dungeon."
cannot-modify-armor-stands: "&cYou cannot use armor stands here."
dungeon-auto-close: "&6Dungeon will close automatically in &e%seconds% &6seconds!"
dungeon-closing: "&eDungeon closing in %seconds% seconds..."
dungeon-closing-urgent: "&cDungeon closes in %seconds% seconds!"
dungeon-timer-alert-10-minutes: "&e10 minutes remain before this dungeon fails."
dungeon-timer-alert-5-minutes: "&e5 minutes remain before this dungeon fails."
dungeon-timer-alert-1-minute: "&c1 minute remains before this dungeon fails."
trigger-objective-completed: "&aDungeon trigger activated! The dungeon is complete."

# Spectator Messages
spectate-usage: "&cUsage: /dungeon spectate <party-leader>"
spectator-exit-usage: "&cUsage: /dungeon spectator exit"
spectate-leader-not-found: "&cNo active dungeon was found for that party leader."
spectate-already-active: "&cYou cannot spectate while you are already in a party or dungeon."
spectate-failed: "&cCould not start spectating this dungeon."
spectate-started: "&aYou are now spectating &e%leader%&a's party in &e%dungeon%&a."
spectator-exit-reminder: "&eYou are spectating this dungeon. Use &6/dungeon spectator exit &eto leave and restore your inventory."
spectator-exited: "&eYou left spectator mode. Your inventory has been restored."
spectator-not-active: "&cYou are not using dungeon spectator mode."

# Death Messages
player-respawned: "&eYou have respawned at the dungeon entrance."
became-spectator: "&eYou are now spectating. Use /dungeon exit to leave."
dungeon-player-death-remaining: "&e%player% &7died. &e%lives%&7/&e%max_lives% &7lives remaining for that player."
dungeon-team-death-remaining: "&e%player% &7died. Team lives remaining: &e%lives%&7/&e%max_lives%&7."
dungeon-player-eliminated-spectator: "&c%player% &7died with no lives left and is now spectating."
dungeon-player-eliminated-exit: "&c%player% &7died with no lives left and was sent to the dungeon exit."
dungeon-team-lives-depleted-by-player: "&c%player% &7died. The team has no lives left."
player-eliminated-to-exit: "&cYou have no lives left and were removed from the dungeon."

# Boss Messages
boss-defeated: "&a&lBOSS DEFEATED! &7Well done!"
boss-spawned: "&c&lA BOSS HAS APPEARED!"
boss-rewards-spawned: "&6Boss rewards spawned at the boss spawn location!"
boss-reward-editor-opened: "&aBoss reward editor opened. Place reward items inside and close the inventory to save."
boss-rewards-saved: "&aSaved &e%count% &aboss reward entries."
boss-command-trigger-objective: "&cThis command can only be used in boss objective dungeons."

# Trigger Messages
trigger-item-given: "&aTrigger item added to your inventory. Place it in the template world to set the completion trigger."
trigger-placed: "&aDungeon completion trigger set."
trigger-replaced: "&ePrevious dungeon trigger was removed and replaced."
trigger-command-boss-objective: "&cThis command can only be used in trigger objective dungeons."
trigger-reward-editor-opened: "&aTrigger reward editor opened. Place reward items inside and close the inventory to save."
trigger-rewards-saved: "&aSaved &e%count% &atrigger reward entries."

# BossBar Messages
bossbar-timer: "&e%dungeon% &7- &f%time%"

# Loot Messages
loot-chest-opened: "&aLoot chest opened!"
loot-item-added: "&aAdded &e%item% &ato loot chest &e%loot_chest%&a."
loot-item-add-empty-hand: "&cHold the item you want to add to the loot chest in your main hand."
loot-item-add-unrecognized: "&cThis item could not be recognized. Hold a vanilla or supported custom item in your main hand."

# Global Announcement Messages
global-dungeon-start-solo: "&6[Dungeons] &e%leader% &fstarted &e%dungeon% &falone!"
global-dungeon-start-party: "&6[Dungeons] &e%leader% &fwith &e%players% players &fstarted &e%dungeon%&f!"
global-dungeon-completed: "&6[Dungeons] &e%leader%'s party &fcompleted &e%dungeon%&f!"
global-tower-stage-completed: "&6[Dungeons] &e%leader%'s party &fcompleted tower stage &e%dungeon%&f!"
global-tower-completed: "&6[Dungeons] &e%leader%'s party &fcompleted the tower ending at &e%dungeon%&f!"
global-dungeon-failed: "&6[Dungeons] &e%leader%'s party &ffailed &e%dungeon%&f!"

# Editor Messages
editor-mode-entered: "&aEntered editor mode for: &e%dungeon%"
editor-mode-exited: "&eExited editor mode."
spawner-added: "&aSpawner &e%id% &aadded at your location!"
loot-chest-added: "&aLoot chest &e%id% &aadded at your location!"
spawn-location-set: "&aSpawn location set!"
exit-location-set: "&aExit location set!"
boss-spawn-set: "&aBoss spawn location set!"
editor-shared-update: "&8[&6Editor&8] &e%thing% &7was updated by &f%player%&7. Markers will refresh automatically."

# Admin Messages
dungeon-created: "&aDungeon &e%id% &acreated!"
dungeon-saved: "&aDungeon configuration saved!"
config-reloaded: "&aConfiguration reloaded!"

# Party creation information
# This replaces the full party information block shown after /dungeon open.
party-information:
  - "&6&m--------------------------------------------------"
  - "&eParty Information:"
  - "&7  Code: &f%code%"
  - "&7  Dungeon: &f%dungeon%"
  - "&7  Type: &f%dungeon_type% &8| &7Objective: &f%completion_objective%"
  - "&7  Lives: &f%lives_amount% &7per &f%lives_scope% &8| &7Elimination: &f%death_behavior%"
  - "&7  Time to start: &f%time_to_start%s"
  - "&7  Min players: &f%min_players%"
  - "&7  Max players: &f%max_players%"
  - ""
  - "&bTo start the dungeon, use: &a/dungeon start"
  - "&bTo invite players, share code: &a%code%"
  - "&6&m--------------------------------------------------"

# Placeholder reference
# %dungeon%: dungeon display name. Used in party-information, party-joined, dungeon/tower countdowns, bossbar-timer, dungeon-started-info, and global announcements.
# %code%: party join code. Used in party-information and party-joined.
# %dungeon_type%, %completion_objective%, %lives_scope%, %lives_amount%, and %death_behavior%: dungeon metadata. Used in party-information and dungeon-started-info.
# %time_to_start%, %min_players%, and %max_players%: party lobby metadata. Used in party-information.
# %player%: player name. Used in party-member-joined, party-member-left, dungeon-start-cancelled-player-left, dungeon-player-exited, stage-sacrifice-selected, stage-new-leader, and death/lives messages.
# %players%: player count or player list depending on message. Used in global-dungeon-start-party and party-member-offline.
# %leader%: party leader name. Used in global announcements.
# %seconds%: countdown value in seconds. Used in start, closing, and tower transition countdown messages.
# %command%: blocked command text. Used in command-blocked-in-dungeon.
# %count%: reward count. Used in boss-rewards-saved, trigger-rewards-saved, and boss-rewards-spawned.
# %id%: created object ID. Used in spawner-added, loot-chest-added, and dungeon-created.
# %item% and %loot_chest%: added loot item ID and target loot chest ID. Used in loot-item-added.
# %thing%: editor object or location changed by another admin. Used in editor-shared-update.
# %mission%: player-facing stage mission name from mission-names. Used in stage-mission-completed and stage mission displays.
# %stage%: stage ID or display token. Used in stage-gate-opened, stage-progress-next, stage-list-entry, stage order messages, and stage delete messages.
# %current% and %required%: current/required progress values. Used in stage keys, sacrifice votes, and mission-style progress messages.
# %lives% and %max_lives%: remaining/maximum life count. Used in death/lives messages.
# %order%, %old_order%, %new_order%, %max%, %gate_blocks%, and %missions%: stage editor/list placeholders.
