zRivals Duels logozRivals Duels

Changelog

What changed in each release of zRivals Duels, newest first.

1.1.0

Wager payouts and item safety.

Fixed

  • The winner of a wager is now paid as soon as they are back from the duel. Before, the payout waited until both players were restored, so a loser who stayed on the death screen held up the winner's money
  • A wager decided just before a server stop or /reload is now paid to the winner. Before, it was refunded to both players on the next start
  • Wager payouts waiting for a player who is online during /reload are delivered straight after the reload, not on their next join
  • Items moved out of the inventory between confirming a duel and receiving the kit (into a chest, the ender chest or onto the cursor) no longer come back with the restored inventory. The inventory is saved again right before the kit is given
  • Kit items left in the 2x2 crafting grid are removed when the duel ends
  • Hoppers and other blocks can no longer pick up dropped kit items
  • In kit duels only items from the kit can be dropped, so items crafted from kit items cannot be taken out of the duel
  • Blocks placed or broken during a kit duel are put back when the duel ends, and blocks broken in a kit duel drop nothing. Placed kit blocks can no longer be mined after the duel
  • In Own gear duels the crafting grid result is no longer given to the winner on top of the ingredients
  • Double clicking an item in your own inventory while a plugin menu is open can no longer pull matching items out of the menu, for example from the kit preview. Shift clicking items into a menu and dragging over a menu are blocked too

Files

  • No config, menu or language changes. Drop in the new jar and restart

1.0.0

Own gear duels.

Added

  • A Gear button in the setup menu (slot 20). It switches between a kit and Own gear, where both players fight with their own inventory, armour and offhand. Works in arenas, with Fight here and with wagers. See Gear
  • own-gear.loser-items: DROP (default) gives the loser's items to the winner, KEEP lets both keep their items. While DROP is on the confirm buttons and chat warn both players first
  • The own-gear section in config.yml and the zrivalsduels.kit.own-gear permission, checked only when own-gear.permission-required is on
  • Items taken from the loser are saved to data/own-gear-spoils.yml until the winner receives them, so a crash cannot lose them

Changed

  • Own gear is unranked only. Ranked duels stay kit only
  • own-gear is a reserved kit name

Files

  • config.yml is at config-version: 7, menus/setup.yml at menus-version: 4 and the language files at lang-version: 6. New keys are added on start. Arena and kit files are unchanged

1.0.0-9

No deprecated event warning on Paper.

Fixed

  • Paper printed a warning on startup that zRivals Duels registered a listener for the deprecated EntityKnockbackByEntityEvent. The listener is now registered in a way that does not trigger the warning. WorldGuard knockback for duel fighters works the same as before

1.0.0-8

Ranked through the matchmaking queue, and duels on SuperiorSkyblock2 islands.

Added

  • A matchmaking queue. /duel queue ranked [kit] pairs players with the same kit and a close MMR, the allowed gap grows the longer they wait. /duel queue unranked [kit] pairs players in the order they joined. /duel queue leave leaves, /duel queue shows the status. See Matchmaking queue
  • /ranked and /unranked as short commands for the two queues, set under shortcuts in commands.yml
  • The queue section in config.yml and the zrivalsduels.queue permission, given to everyone by default and included in zrivalsduels.*
  • SuperiorSkyblock2 support: the two fighters can hit each other on an island that blocks PvP, visitor or coop damage, and the plugin's own teleports are let through island protection. integrations.superiorskyblock.allow-pvp-during-duels, on by default
  • New sounds queue-joined and queue-found

Changed

  • /duel <player> challenges are unranked. The mode button in the setup menu shows the new mode-queue-only item and points to the ranked queue. queue.ranked-challenges: true brings the Ranked toggle back
  • After a duel death, the player stays on their duel exit even when another plugin, such as SuperiorSkyblock2's respawn island teleport, tries to move them within 3 seconds of the restore

Fixed

  • The losing player got "You cannot teleport during a duel" as soon as the duel ended. Teleports by other plugins after the fight are now cancelled quietly and the plugin's own restore teleport follows

Files

  • config.yml is at config-version: 6, commands.yml at commands-version: 3, menus/setup.yml at menus-version: 3 and the language files at lang-version: 5. New keys are added on start

1.0.0-7

Fight here is unranked, and reload works on Paper again.

Fixed

  • /duel admin reload failed on Paper with UnsupportedOperationException: remove while registering the command again. Paper's command map does not allow removing entries while walking through them, so the old labels are now collected first and removed one by one
  • Fight here could be started in a world with PvP turned off, where the server drops every hit before any plugin sees it, so nobody could take damage. Fight here is now refused there with its own reason

Changed

  • Fight here is unranked only. The Fight here button is locked while the mode is Ranked, switching to Ranked with Fight here chosen puts the location back on Random arena, and a ranked Fight here is refused again when both confirm
  • New messages setup.here-cleared-ranked, setup.here.ranked and setup.here.world-pvp. The language files are now at lang-version: 4, new keys are added on start
  • With debug: true, the console says when a duel starts in a world with PvP turned off

1.0.0-6

Pick the location, or fight where you stand.

Added

  • A location button in the setup menu (slot 22). It opens a new menu with Random arena, Fight here and every ready arena that allows the chosen kit, each marked Free or In use
  • Fight here: a duel where both players stand, with nobody teleported at the start, during the countdown or when the fight begins. Players are put back on their own spot afterwards
  • The fight-here section in config.yml with enabled, max-distance, border, allow-in-no-pvp-regions and disabled-worlds
  • The zrivalsduels.fighthere permission, given to everyone by default and included in zrivalsduels.*
  • Extra rules for Fight here duels: no drops, no placing or breaking, no fire, no block damage from the fighters' explosions or projectiles, no frost walker ice, no trampling or pressure plates, no using blocks or entities, no block changing tools and no riding
  • A developer API: DuelStartEvent, DuelEndEvent and MmrChangeEvent, plus ZRivalsAPI to read MMR, rank and whether a player is in a duel. See Developer API
  • menus/arena-select.yml for the location menu
  • New messages for the location choice, the arena statuses, Fight here reasons and the new start failures

Changed

  • In every duel, fighters can no longer break paintings or item frames, fishing rods cannot pull a player into or out of a duel, mobs do not target duel players, nobody can mount vehicles or animals, and arrows or tridents from another duel cannot be picked up
  • Changing the kit to one the chosen arena does not allow puts the location back on Random arena
  • config.yml is now at config-version: 5, menus/setup.yml at menus-version: 2 and the language files at lang-version: 3. New keys are added on start

1.0.0-5

Knockback inside a WorldGuard region.

Fixed

  • Hits between the two fighters landed inside a WorldGuard region with pvp on deny, but gave no knockback. WorldGuard blocks knockback on its own, apart from the damage, and the bypass now lets that through too under the same conditions

1.0.0-4

PvP inside a WorldGuard region.

Added

  • An optional WorldGuard bypass so the two fighters can hit each other in an arena that sits inside a region with the pvp flag on deny. The region is never changed, spectators and everyone outside the duel keep its protection, and the bypass stops the moment the duel ends
  • integrations.worldguard.allow-pvp-during-duels in config.yml, on by default and only used when WorldGuard is installed

Changed

  • config.yml is now at config-version: 4, new keys are added on start

1.0.0-3

The fight after the countdown.

Fixed

  • Players could end up moving on their own screen while the server still held them on their arena spawn, so arrows left from the spawn point and hits never landed. Holding a player during the countdown and pushing a player back into the arena no longer go through a teleport that another plugin can cancel
  • The fight now starts by placing both players on their spawn point again, so the server and the client agree before the first hit
  • Spectators flying past a boundary side were put back the same way, with the same result
  • Teleports were running through the movement rules as well as the teleport rules

Added

  • debug in config.yml, plain console lines for a duel from start to end, including teleports and hits that another plugin cancelled

Changed

  • config.yml is now at config-version: 3, new keys are added on start

1.0.0-2

Fight fixes, return location, private custom amounts and spectating.

Fixed

  • Players could not move or hit in arenas whose region and boundary corners were set on the same floor. Boundaries now count only the sides by default
  • The countdown freeze no longer teleports players back on every move, so anti cheat plugins do not flag it
  • The "You cannot leave the arena" message is sent at most once every 2 seconds
  • An old Okaso jar caused a LIME_WOOL error and broken menus. zRivals Duels now needs Okaso 1.6.3 or newer and stops at startup with a console message when it is older

Added

  • Spectating with /duel spectate, /duel spectate <player> and /duel leave, the spectate section in config.yml, and the zrivalsduels.spectate and zrivalsduels.spectate.silent permissions
  • duel.return-to to send players to the arena exit or back to where they stood when the duel was accepted
  • duel.boundary-check-height to count the top and bottom of the boundaries again
  • wager.custom-amount-input with a private sign editor (SIGN, the default) or hidden chat (CHAT)
  • "Worth checking" warnings in /duel arena info for flat regions, flat boundaries and a missing spectator point

Changed

  • The arena spectator point is now used
  • The arena exit is optional when duel.return-to is PREVIOUS_LOCATION
  • Custom amounts typed in chat are hidden from every other player, on Paper too
  • config.yml is now at config-version: 2, new keys are added on start

1.0.0-1

First release.

  • Duel requests with titles, sounds, clickable accept and decline buttons, expiry and cooldowns
  • Shared setup menu for mode, kit and wager with a confirm button per player
  • Kits saved from your inventory, with /duel kit commands and a kit picker and preview
  • Arenas with spawns, combat region and boundaries, and /duel arena commands
  • Wagers in VAULT, XP_LEVELS, XP_POINTS and COMMAND currencies, with escrow
  • Snapshot and restore, countdown, duel protection and an alias aware command blocker
  • Ranked Elo MMR, six default ranks, anti abuse checks and match history
  • Seasons with MONTHLY, MONTHS and CUSTOM lengths and FULL, SOFT and TABLE resets
  • Season rewards with items, commands and real money records, and /duel rewards
  • %duel_...% placeholders, SQLite and MySQL storage, renameable commands in commands.yml

On this page