3.3.0 - Boxing, colored armor, fixes, web addon update coming and more...
Note: if you want the most stable experience, it is recommended to wait a few days before updating.
Read below before updating.
New features
Added boxing.
- /battlekit boxing <kit> to enable. In boxing you kill the opponent when you hit them 100 times (or vice versa)
- For now, boxing only works in duels
- Added placeholders for boxing <hits> (how many times you have hit the opponent), <opponent_hits> and <is_boxing>
Example scoreboard config ("duels" section):
Code (Text):
...
- '&fHits: [display=<is_boxing>]'
- ' &fYou: &e<hits>/100 [display=<is_boxing>]'
- ' &fThey: &e<hits_opponent>/100 [display=<is_boxing>]'
- ' [display=<is_boxing>]'
...
Web addon update coming
- Prepared for the new web addon update by adding code for
database migration. The old database is still used but will be updated automatically when the addon updates. This is configurable in the config.yml. "legacy-fight-format: true". If you have a fork of the web addon or use the database fights table, keep that setting enabled and
add it in your config so it will be kept disabled.
The migration is irreversible. (although it should copy the old table as 'fights_old')
Other
- In bedwars (mlgrush, bridge etc) you now get colored leather armor and your wool & stained clay changes color automatically based on your team. You don't have to change or configure anything.
- Added option to configure custom max block changes in fights with "max-block-changes: 1000" in the config.yml. By default a dynamic limit exists so only change if you have got the limit message.
- Added #startEditing in the API
-
Wins/losses placeholders. This is experimental and requires SQL database to be enabled, the database migration to be done (see above) and "save-all-fights: true". Note that on big servers this may cause more strain on the database and you can make sure they get disabled with "disable-queried-stats: true", this will (probably) be improved in the future.
Format:
Code (Text):
<wins>
<losses>
<wins_kitname>
<losses_kitname>
You can use the following to display them in the queues.
Code (Text):
in-match: '&dPlayers Fighting: &e<players>\n \n&dWins: &e<wins_<raw_kit>>\n&dLoses: &e<loses_<raw_kit>>'
- winner-commands now supports party and bot fights.
- Dragon eggs should work in bedwars too (replace the bed with them for eggwars, unfortunately this was left untested)
- Many other small changes such as bStats, recoded the duel queue partly to support per player placeholders and bunch of internal changes
See the default config if the config values were not explicitly mentioned here
Fixes/improvements
- Custom kit armor should now work in newer server versions
- The plugin now should remove explosives entities when a fight starts (experimental, I recommend testing)
- Some improvements to SQL database stuff
- A lot of minor fixes that I'm too lazy to list here
- Bunch of minor general improvements
Fun fact: in this update 142 files were changed, 4150 lines were added, 2908 lines were deleted