> For the complete documentation index, see [llms.txt](https://nexoaddon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nexoaddon.gitbook.io/docs/mechanics/killmessage.md).

# KillMessage

Kill Message mechanic.

The Kill Message Mechanic allows you to set a custom message for when somebody kills a player

### Simple Kill Message

```yaml
# Example

Mechanics:
  kill_message: <player> was killed by <italic><red><killer>
  # <player> gets replaced with the victim
  # <killer> gets replaced with the killer
  # <italic> and <red> are minimessage formatting
```
