- Added the add-ranking option to the discordMessage section of kill-announce. When add-ranking is enabled inside discordMessage, the ranking is added to the normal text message. When add-ranking is enabled inside the embed section, the ranking is added to the embed description.
To enable or disable the ranking inside the Discord message, you need to add
add-ranking to your config.yml, as shown in the example below:
Code (YAML):
kill-announce
:
...
discord:
enable
: false
webhookUrl
:
""
minHealth
: 100.0
discordMessage:
text
:
""
ranking-message-template
:
"%index%# %player% with %damage% damage."
add-ranking
: true
# Adds the ranking to the normal discord text
embed:
enable
: false
title
:
""
description
:
""
add-ranking
: true
# Adds the ranking to the discord embed description
color
:
"#008bff"
image:
enable
: false
url
:
""
timestamp
: true