Discord webhooks to post fights into a discord channel (see "discord:" in the new config) and "discord-webhooks.json" to configure the message. NOTE: to enable discord webhooks, you will need to have citizens installed.
Code (Text):
discord:
enable-webhooks: false
# discord server settings -> integrations -> webhooks -> create new and copy the URL
# paste the URL below and configure discord-webhooks.json
fight-webhook-url: 'https://discord.com/api/webhooks/123'
webhook-types:
- ranked
- unranked
#- botduel
Refactored the plugin message system, you can now:
use any placeholder in any line
disable messages by making it empty ('') or 'false'
use any placeholder (that would work e.g., in score board) in messages
Support hex colors in almost all messages ("#ff0000")
Arrows automatically reload every 5 seconds if /battlekit bedwars is enabled and "bedwars-reload-arrows: true" (enabled by default)
Gapples heal instantly in the bridge gamemode (kit name contains "bridge", /battlekit info <kit>)
Improved new material support, newer items like netherite tools should work in more places now. The plugin still uses legacy materials due to compatibility.
<arena>, <kit>, <duration> etc. placeholders work in "fight-inventory-message"
Fixes
A fix to slowly falling bots has been implemented
Improved new material support, newer items like netherite tools should work in more places now. The plugin still uses legacy materials due to compatibility.
Fixed some API methods not working as expected
Fixed using ffa commands in kit editor
Fixed double hits in boxing (a bug in older mc/spigot servers)
Fixed players not being notified of reaching max-block-changes in fight
Fixed accessing chests in kit editor (/battlekit chestaccess) for some newer MC versions by increasing the inventory size