Update KillMessages authored by Amy's avatar Amy
......@@ -4,17 +4,17 @@ Syntax
------
The syntax for adding Kill Messages is simple. You can even have multiple messages defined for each mob (a random one is then chosen).
```yaml
Souleater:
Type: SKELETON
Display: 'Soul Eater'
Health: 666
KillMessages:
- '<target.name> had their soul completely devoured'
- '<target.name><&sq>s soul was feasted upon by <caster.name>'
Skills:
...
````
It's that easy! Any player killed by the Soul Eater mob would have one of those two custom death messages displayed to the server. [Placeholders](/Skills/Placeholders) can also be used in the message, the important one being <target.name> for the name of the dead player.
Souleater:
Type: SKELETON
Display: 'Soul Eater'
Health: 666
KillMessages:
- '<target.name> had their soul completely devoured'
- '<target.name><&sq>s soul was feasted upon by <caster.name>'
Skills:
...
It's that easy! Any player killed by the Soul Eater mob would have one of those two custom death messages displayed to the server. [Variables](/Skills/Placeholders) can also be used in the message, the important one being <target.name> for the name of the dead player.
For more customization, you can also edit your config.yml file and change KillMessagePrefix. This allows you to put a simple prefix in front of all kill messages (variables do not work in the prefix, however).
\ No newline at end of file
For more customization, you can also edit your `config-mobs.yml` file and change KillMessagePrefix. This allows you to put a simple prefix in front of all kill messages (Placeholders do not work in the prefix).
\ No newline at end of file