# Leave & Enter Commands

It's possible to execute custom commands when player enters and leaves a dungeon.

# Setup

Commands settings located in the config.yml inside a dungeon's directory under the Features -> Entrance and Exit sections:

Features:
  Entrance:
    Commands:
    - 'broadcast Player %player_name% joined the %dungeon_name% dungeon!'

  Exit:
    Commands:
    - 'broadcast Player %player_name% has left the %dungeon_name% dungeon!'

Use player: prefix to run command by the player:

Commands:
- 'broadcast Player %player_name% joined the %dungeon_name% dungeon!'
- 'player: scoreboard off'

The following placeholders are available to use in commands:

  • %player_name% - Player name.
  • %player_display_name% - Player custom name.
  • Dungeon internal placeholders.
  • PlaceholderAPI placeholders.