StrikePractice – 1v1, 2v2, Bots Fights, PvP Events, Parties, Build fights and more

MC Plugin StrikePractice – 1v1, 2v2, Bots Fights, PvP Events, Parties, Build fights and more 3.13.0
Customizable and affordable practice plugin with many features!

- Added better debug to "/sprac placeholders" and Discord webhooks. If you have problems with these features, do "/sprac debug" to see more detailed errors now
- Allow players to pick up items after a fight has ended if "disable-inventory-modifications" is enabled
- Reverted the change of <player> placeholder in duel request messages, <player> is now the player who sent the request (same as <sender>). This was a bad change in 3.6.0 that broke how the messages should work.
- Added <target> in all "wants-duel" (and similar) messages. <target> is the player who was dueled.
Fixes:
- Fixed KoTH team could be incorrect in API (#playersAreTeammates etc.)
- <wlr> placeholder incorrectly checking if wins/losses are supported
- <wlr> placeholder when player has not lost a fight yet
- Prevent entering duel if either of the player is in kit editor
- Show <ffa_rollback> value only in build FFA arenas
- Cancel fall damage during FFA arena reset only in build arenas
- Fixed wrong <player> placeholder value in duel "request-sent message"
- Fixed party duel request message sent multiple times to the target and not the other party members
- Fixed old fights migration not fixing inventories. Delete data.dat to fix if the web addon shows empty inventories for very old fights.

Features
- Added <queuetype> in waiting-for-duel message
- Added support to save replays in SQL database (if database is enabled). This makes the loading faster and memory footprint smaller and is a more elegant way to store replays. You can force file storage with "force-replay-file-storage: true". Any recorded replays will reset otherwise (but fights are still saved and won't affect player statistics)

For other developers:
- Added RoundEndEvent, deprecate some methods in RoundStartEvent
- Added #forceWinRound and #forceWinFight and deprecate #forceWin that works ike #forceWinRound

Misc:
- Updated dependencies and Kotlin version
- Refactored code quite a lot
SEE 3.5.0 RELEASE NOTES BELOW THIS UPDATE

Fixes

- Fixed plugin not enabling without citizens (due to 3.5.0 Discord webhooks feature not being properly tested)
- Fixed some party queue/duel related minor issues
- Fixed Party FFA team placeholders (API users: fixed PartyFFA#playersAreOpponents returning everyone else on the server being an opponent)
- Fixed boxing double hits on broken spigots with more debug logging (at least I hope it got fixed)
- Fixed <enemy_team_left> placeholder off by one
- Fixed latest citizens version breaking the pvp bots
- Fixed clicking leave queue item not working
- Added "cancel-explosions" option to allow explosions also outside arenas
- Added debug info to fix boxing double hits on broken spigot versions (possibly already fixed, untested)
- Relocated Kotlin libraries to avoid some issues
- IMPORTANT: legacy-fight-format is now "false" by default. Make sure you have it in your config and set to true if you're using the old strike web addon (or other custom stuff relying on the database setup)
- Fixed hitting other players when best of fight is resetting
- Fixed clicking replay in post match inventory views while in fight/event
- Fixed enderpearl cooldown error [#3]
- Fixed /sprac placeholders (broken in v3.4.3)
- Fixed a few other minor things (you probably won't notice anything at all)
- Added database.override-connection-url to fully customize the connection url. Advanced users could use this to use PostgreSQL for example (with some hacks needed)
This update brings bunch of fixes. The devbuilds (available in discord to patreons) include more features.

Changes:
- clarified some config.yml values
- fixed some queue related minor things
- some more helpful /sprac debug logging
- fixed some previously broken pvp bot things (e.g., bestof)
- fixed changelog not clearing each update check resulting in duplicate changelog messages
- make spectator menu show fight player instead of based on distance, if possible
- fixed some typos
- fixed fight duration limit showing nothing instead of automatic coloring
- made some changes to the built in maps, they may work now (though they are not recommended)
- clarified usage of some /battlekit commands
- removed unnecessary code/functionalities (trust me, you certainly did not use them)
- changed some default texts, command outputs etc
- added some helpful logging if the lobby is invalid
- made bots die faster in sumo
- added features_enabled bStats chart for future use
- removed enderpearl related optimization that caused more problems, no longer pearling after a fight even if the cooldown is 0
- ignore y coords in teleport-debug mode
- fixed elo modifier not working properly
- added BlockExplodeEvent support, more explosions happening inside arenas (see /arena corner1 <arena> and /arena corner2 <arena>)
- fixed some ffa related issues
- prevent teleporting to kit editor in queues, events etc
- minor clenaup and internal refactoring
This update brings bunch of fixes. The devbuilds (available in discord to patreons) include more features.

Changes:
- clarified some config.yml values
- fixed some queue related minor things
- some more helpful /sprac debug logging
- fixed some previously broken pvp bot things (e.g., bestof)
- fixed changelog not clearing each update check resulting in duplicate changelog messages
- make spectator menu show fight player instead of based on distance, if possible
- fixed some typos
- fixed fight duration limit showing nothing instead of automatic coloring
- made some changes to the built in maps, they may work now (though they are not recommended)
- clarified usage of some /battlekit commands
- removed unnecessary code/functionalities (trust me, you certainly did not use them)
- changed some default texts, command outputs etc
- added some helpful logging if the lobby is invalid
- made bots die faster in sumo
- added features_enabled bStats chart for future use
- removed enderpearl related optimization that caused more problems, no longer pearling after a fight even if the cooldown is 0
- ignore y coords in teleport-debug mode
- fixed elo modifier not working properly
- added BlockExplodeEvent support, more explosions happening inside arenas (see /arena corner1 <arena> and /arena corner2 <arena>)
- fixed some ffa related issues
- prevent teleporting to kit editor in queues, events etc
- minor clenaup and internal refactoring
Top Bottom