# 🔊 Customize Sounds

## Sounds

Every sound the plugin plays (joining/leaving queue, invitations, defeat, and more) is customizable from `sounds.yml`.

```yaml
sounds:
  invitation_accepted:
    '0':
      - ENTITY_ARROW_HIT_PLAYER;1.0;1.0
  defeat:
    '0':
      - BLOCK_NOTE_BLOCK_BASS;1.0;0.5
    '1':
      - BLOCK_NOTE_BLOCK_SNARE;1.0;1.5
```

Each event (`invitation_accepted`, `defeat`, etc.) can have multiple numbered entries. The number is how many ticks after the event fires that sound plays, so you can build a short jingle out of several sounds instead of a single note — as `defeat` does above. Each entry follows the `SOUND_NAME;volume;pitch` format.

<!-- TODO: add screenshot -->

## Sound Events

These are all the events you can attach sounds to. Removing an event's entries, or leaving it empty, makes it silent.

<table><thead><tr><th width="270">Event</th><th>Played when</th></tr></thead><tbody><tr><td>request</td><td>A duel or party invitation arrives.</td></tr><tr><td>invitation_accepted</td><td>An invitation is accepted.</td></tr><tr><td>invitation_declined</td><td>An invitation is declined.</td></tr><tr><td>join_queue</td><td>The player enters a queue.</td></tr><tr><td>leave_queue</td><td>The player leaves a queue.</td></tr><tr><td>spectator_join</td><td>Someone starts spectating the match.</td></tr><tr><td>start</td><td>The match begins.</td></tr><tr><td>winning</td><td>The match ends and the player won.</td></tr><tr><td>defeat</td><td>The match ends and the player lost.</td></tr><tr><td>draw</td><td>The match ends in a draw.</td></tr></tbody></table>

> **Info:**
Sound names are the Bukkit sound names for your server version, such as `ENTITY_ARROW_HIT_PLAYER`. A name that does not exist on your version is skipped rather than throwing an error, so a silent sound is usually a misspelt or version-specific name.

Source: https://www.phoenixplugins.com/docs/phoenix-duels/configurations/customize-sounds