Sends a discord message when a death occurs on the server using a webhook. When the message is sent can be configured by specifying the victim or attacking entity. The message is a customizable embed

{discorddeath.victim.name} - Displays the victim players name if player else entity name
{discorddeath.victim.id} - Displays the victim steam if player else entity id
{discorddeath.victim.bodypart} - Displays the victim body part that was hit
{discorddeath.killer.type} - Displays the killer entity type
{discorddeath.killer.id} - Displays the killer steam if player else entity id
{discorddeath.killer.name} - Displays the attacker players name if player else entity name
{discorddeath.killer.weapon} - Displays the killer's weapon{discorddeath.killer.attachments} - Displays the killer's attachments
{discorddeath.killer.health} - Displays the killer's health{discorddeath.killer.owner} - Displays the Owners name of the entity that did the killing
{discorddeath.killer.distance} - Displays the distance to the victim the attacker was
{discorddeath.killer.position} - Displays the killers position
{discorddeath.victim.position} - Displays the victim position
{discorddeath.killer.message} - Displays the default death message

Configuration
The settings and options can be configured in the DiscordDeath file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Display Options
You can filter which deaths get sent to discord.This is done using the "Display Options" config section.Here you can specify When an entity type is killed which attackers it should show for. If you wish to show for all attackers your can use *.Available Replacements
{discorddeath.victim.type} - Displays the victim entity type{discorddeath.victim.name} - Displays the victim players name if player else entity name
{discorddeath.victim.id} - Displays the victim steam if player else entity id
{discorddeath.victim.bodypart} - Displays the victim body part that was hit
{discorddeath.killer.type} - Displays the killer entity type
{discorddeath.killer.id} - Displays the killer steam if player else entity id
{discorddeath.killer.name} - Displays the attacker players name if player else entity name
{discorddeath.killer.weapon} - Displays the killer's weapon{discorddeath.killer.attachments} - Displays the killer's attachments
{discorddeath.killer.health} - Displays the killer's health{discorddeath.killer.owner} - Displays the Owners name of the entity that did the killing
{discorddeath.killer.distance} - Displays the distance to the victim the attacker was
{discorddeath.killer.position} - Displays the killers position
{discorddeath.victim.position} - Displays the victim position
{discorddeath.killer.message} - Displays the default death message