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
/reloadis 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
/reloadare 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,KEEPlets both keep their items. WhileDROPis on the confirm buttons and chat warn both players first- The
own-gearsection inconfig.ymland thezrivalsduels.kit.own-gearpermission, checked only whenown-gear.permission-requiredis on - Items taken from the loser are saved to
data/own-gear-spoils.ymluntil the winner receives them, so a crash cannot lose them
Changed
- Own gear is unranked only. Ranked duels stay kit only
own-gearis a reserved kit name
Files
config.ymlis atconfig-version: 7,menus/setup.ymlatmenus-version: 4and the language files atlang-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 leaveleaves,/duel queueshows the status. See Matchmaking queue /rankedand/unrankedas short commands for the two queues, set undershortcutsincommands.yml- The
queuesection inconfig.ymland thezrivalsduels.queuepermission, given to everyone by default and included inzrivalsduels.* - 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-joinedandqueue-found
Changed
/duel <player>challenges are unranked. The mode button in the setup menu shows the newmode-queue-onlyitem and points to the ranked queue.queue.ranked-challenges: truebrings 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.ymlis atconfig-version: 6,commands.ymlatcommands-version: 3,menus/setup.ymlatmenus-version: 3and the language files atlang-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 reloadfailed on Paper withUnsupportedOperationException: removewhile 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.rankedandsetup.here.world-pvp. The language files are now atlang-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-heresection inconfig.ymlwithenabled,max-distance,border,allow-in-no-pvp-regionsanddisabled-worlds - The
zrivalsduels.fightherepermission, given to everyone by default and included inzrivalsduels.* - 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,DuelEndEventandMmrChangeEvent, plusZRivalsAPIto read MMR, rank and whether a player is in a duel. See Developer API menus/arena-select.ymlfor 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.ymlis now atconfig-version: 5,menus/setup.ymlatmenus-version: 2and the language files atlang-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
pvpondeny, 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
pvpflag ondeny. 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-duelsinconfig.yml, on by default and only used when WorldGuard is installed
Changed
config.ymlis now atconfig-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
debuginconfig.yml, plain console lines for a duel from start to end, including teleports and hits that another plugin cancelled
Changed
config.ymlis now atconfig-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_WOOLerror 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, thespectatesection inconfig.yml, and thezrivalsduels.spectateandzrivalsduels.spectate.silentpermissions duel.return-toto send players to the arena exit or back to where they stood when the duel was acceptedduel.boundary-check-heightto count the top and bottom of the boundaries againwager.custom-amount-inputwith a private sign editor (SIGN, the default) or hidden chat (CHAT)- "Worth checking" warnings in
/duel arena infofor 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-toisPREVIOUS_LOCATION - Custom amounts typed in chat are hidden from every other player, on Paper too
config.ymlis now atconfig-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 kitcommands and a kit picker and preview - Arenas with spawns, combat region and boundaries, and
/duel arenacommands - Wagers in
VAULT,XP_LEVELS,XP_POINTSandCOMMANDcurrencies, 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,MONTHSandCUSTOMlengths andFULL,SOFTandTABLEresets - Season rewards with items, commands and real money records, and
/duel rewards %duel_...%placeholders, SQLite and MySQL storage, renameable commands incommands.yml