Dungeon Leave
Action entry that removes a player from an active dungeon instance.
Configuration
dungeon_leave — Map
Configuration for the dungeon leave action.
Properties
dungeonInstance
"> Dungeon instance to leave. leaveMessage
"> Message shown when leaving the dungeon. Supports PlaceholderAPI.
Behavior
- Looks up the dungeon instance entry.
- Calls
DungeonInstanceService.removePlayer()which teleports the player to their origin location. - Sends
leaveMessage.
Example
action:
type: dungeon_leave
id: "leave_temple"
dungeonInstance: "ancient_temple"
leaveMessage: "<yellow>You left the dungeon.</yellow>"