Pular para o conteúdo principal

Dungeon Leave

Action entry that removes a player from an active dungeon instance.

Configuration

dungeon_leaveMap

Configuration for the dungeon leave action.

Properties

dungeonInstance

"> Dungeon instance to leave. leaveMessage

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

Behavior

  1. Looks up the dungeon instance entry.
  2. Calls DungeonInstanceService.removePlayer() which teleports the player to their origin location.
  3. Sends leaveMessage.

Example

action:
type: dungeon_leave
id: "leave_temple"
dungeonInstance: "ancient_temple"
leaveMessage: "<yellow>You left the dungeon.</yellow>"