Kill Messages
The advancement toast every player sees on a kill, and the PvP broadcasts players can turn off.
Two modules tell the server about fights.
| Module | File | Does |
|---|---|---|
| KillMessage | configs/KillMessageSettings.yml | Shows every online player an advancement toast in the corner of the screen when someone is killed |
| Broadcast | configs/utils/Broadcast.yml | Carries the chat broadcasts of the other modules: combat logs, kill streaks, rank changes, shared battles |
Kill toasts
A toast appears for everyone when a death battle is saved, so the battle log filters apply: a fight under 3 seconds or 5 damage shows none.
| Key | Default | Meaning |
|---|---|---|
enabled | true | Turns kill toasts on or off |
message | {killer} ⚔ {victim} | The toast's text. {killer}, {victim} and {weapon}, no PlaceholderAPI |
useWeaponAsIcon | true | Show the killing item as the icon |
icon | DIAMOND_SWORD | The icon when the kill was by hand, or useWeaponAsIcon is off |
frameType | CHALLENGE | The frame: TASK (plain), GOAL (rounded) or CHALLENGE (spiky, purple title) |
customModelData | 0 | A resource pack model for the icon |
disabledWorlds | lobby, spawn | Worlds whose kills show no toast |
toggleOffMessage, toggleOnMessage | Sent by /killmsgtoggle |
{weapon} is the item's name, such as Diamond Sword. Names longer than 16 characters are cut, and
weapon names longer than 20. For a kill by hand, {weapon} is the Turkish word "Yumruk" in 2.0.0, so
leave {weapon} out of the message on an English server.
message: "<red>{killer} <gray>killed <red>{victim}"
frameType: GOAL
useWeaponAsIcon: true
disabledWorlds:
- lobby
- hub
Players hide toasts with /killmsgtoggle, until they leave the server. /killmsgtest (text) shows
staff a sample toast.
PvP broadcasts
Broadcast does not make messages of its own: other modules send theirs through it.
| Broadcast | From |
|---|---|
| A player logged out in combat | Combat Logging, with BROADCAST |
| A kill streak was reached | Statistics |
| A rank went up or down | Statistics |
| A battle was shared | Battle Logs |
| Key | Default | Meaning |
|---|---|---|
enabled | true | Leave it on: Combat Logging and Advanced Statistic need this module and do not start without it. To silence one broadcast, empty its message in its own module |
disabledWorlds | empty | Players in these worlds get no broadcasts |
enabledMessage, disabledMessage | Sent by /pvpbroadcasttoggle |
Players turn broadcasts off for themselves with /pvpbroadcasttoggle, until they leave the server.
Related: Battle Logs, Commands
Was this page helpful?