# Victory Messages

Victory messages are configured in `victory_messages.yml`. The plugin uses MiniMessage format for colors and effects, but you can still use legacy color codes (&).

#### Creating a Victory Message

1. Open `victory_messages.yml`
2. Add your message under the `messages` section:

```yaml
messages: 
# MY_VICTORY_MESSAGE is the unique ID of the victory message, use | to write a multi-line message  
  MY_VICTORY_MESSAGE : | 
    <gradient:gold:yellow>===================
    ⚔ {boss_name} has been defeated! ⚔
    
    Top Warriors:
    {top_players}
    
    {personal_damage}
    <gradient:gold:yellow>===================
```

#### Available Placeholders

* `{boss_name}`: Name of the defeated boss
* `{top_players}`: List of top damage dealers
* `{personal_damage}`: Individual player's performance

#### Position Formats

Configure how each player's position is displayed:

```yaml
position_formats:
  MY_FORMAT:
    - "🥇 First: {prefix}{player_name} ({damage} | {percentage}%)" # 1st position
    - "🥈 Second: {prefix}{player_name} ({damage} | {percentage}%)" # 2nd position
    - "🥉 Third: {prefix}{player_name} ({damage} | {percentage}%)" # 3rd position
    # 4th position
    # Etc...
```

#### Available Placeholders

* `{prefix}`: Player's prefix/rank
* `{player_name}`: The name of the player in that position
* `{damage}`: Numeric value of the damage dealt
* `{percentage}%`: Percentage value of the damage dealt

#### Personal Messages

Configure the personal performance message:

```yaml
personal_messages:
  MY_PERSONAL: # Unique ID of the personal message
    Position: #{position}
    Damage: {damage} # Same placeholders as before
    Contribution: {percentage}%
```

#### Non-Participant Messages

Message shown to players who didn't participate:

```yaml
non_participant_messages:
  MY_NONPARTICIPANT: "<red>You missed out on this battle!" # Unique ID: "Your message"
```
