FAQ
Answers to the questions server owners ask most about zRivals Duels.
Setup
zRivals Duels needs Okaso 1.6.3 or newer installed as its own plugin. Without it the console says Okaso is not installed, and with an older Okaso it says Okaso <version> is too old, menus cannot load with it. In both cases the plugin turns itself off. Get the latest Okaso release from the Okaso releases page, put it in plugins, and restart. Ask in the Discord if you cannot find it.
That error comes from an old Okaso jar, not from zRivals Duels. Okaso releases up to 1.5.0 have no api-version in their plugin.yml, so the server treats Okaso as a legacy plugin and its menu classes fail to load. The log often also shows Fatal error trying to convert Okaso v${project.version}. Update Okaso to 1.6.3 or newer and restart. zRivals Duels now refuses to start with an old Okaso and says so in the console.
The boundaries are most likely one block tall. Run /duel arena info <name>, a "Worth checking" line shows it. Set one corner of the region and the boundaries on the floor and the other a few blocks higher, see Arenas. By default only the sides of the boundaries count, so this only matters with duel.boundary-check-height: true.
The usual cause is "No arena is free right now". Run /duel arena list. An arena is only used when it is Ready, so run /duel arena info <name> on each one and fix what it lists: a missing spawn or corner, a spawn outside the combat region, boundaries that do not contain the region, or a world that is not loaded. Also check the arena's allowed-kits includes the kit you picked, or is empty.
No. Use /duel admin reload for file changes and a full restart for plugin updates or storage changes.
Both. It runs on Spigot and Paper, Minecraft 1.21 and newer including the 26.x releases. Kits saved on Paper cannot be read on a Spigot server, so build kits on the same kind of server you run.
Duels and protection
That player most likely has zrivalsduels.bypass.commands, usually through a * or zrivalsduels.* permission in your permissions plugin. Test with a normal account, or negate the bypass node for that group.
No. Each player's inventory, XP, health, effects and return location are saved to the database before they are teleported. Players who were online get it back when they join again, before they can do anything, and any leftover kit items are removed. Held wagers are refunded on startup.
Leaving during the countdown or the fight counts as a loss: the opponent wins the MMR and the wager. The player who left gets their own inventory back when they rejoin. Leaving before the teleport simply cancels the start.
If the arena is inside a WorldGuard region with the pvp flag on deny, the fighters are let through by default, see the WorldGuard PvP bypass. Check that WorldGuard was found in the startup log and that integrations.worldguard.allow-pvp-during-duels is still true.
For anything else, set debug: true in config.yml, run /duel admin reload, and fight once more. If the console says another plugin cancelled a hit between the two fighters, the answer is on that server: another region or claim plugin covering the arena, or an anti cheat. Apart from the WorldGuard bypass, zRivals Duels never overrules another plugin's decision on damage, so allow PvP for the arena there. If the line never appears, send us the log.
WorldGuard blocks knockback in a region with pvp on deny separately from the damage. From 1.0.0-5 the WorldGuard bypass lets both through, so update the plugin. If knockback is still missing outside such a region, another plugin is cancelling it, an anti cheat or a combat plugin is the usual cause.
Versions up to 1.0.0-8 print this warning on Paper when WorldGuard is installed. It is harmless and has no effect on performance. From 1.0.0-9 the warning no longer appears, update the plugin.
The steps come from countdown.steps in config.yml and the fight starts after the last one in that list. If FIGHT! or any other step never appears, check the indentation of that entry, an entry that is not lined up with the others is not read. debug: true prints how many steps were read and each one as it is shown.
The button's lore gives the reason. The two players have to be in the same world, within fight-here.max-distance blocks of each other (15 by default), and both need zrivalsduels.fighthere. Fight here is also refused in ranked mode, in a world with PvP turned off, in a world listed in fight-here.disabled-worlds, while either player stands inside any arena's boundaries, and where WorldGuard has pvp on deny unless fight-here.allow-in-no-pvp-regions is on. See Fight here.
No. Not at the start, not during the countdown and not when the fight begins. The snapshot and kit work as usual, and after the duel each player is put back on the spot where they stood when it started. If they move too far apart before the countdown the duel is cancelled, and walking more than fight-here.border blocks away from the area during the fight counts as leaving the boundaries.
That arena is being used by another duel. Wait for it to end or pick another location. If the arena was disabled, deleted or no longer allows the kit, the choice goes back to Random arena and both players only need to confirm again.
No. Every kit item is tagged. They are removed when the duel ends, they cannot be picked up outside that duel, containers are blocked, and inventories and ender chests are scanned for leftovers on every join.
Hits deal no damage on a SuperiorSkyblock2 island
Update to 1.0.0-8 or newer and keep integrations.superiorskyblock.allow-pvp-during-duels: true. The two fighters are let through the island's PvP, visitor and coop damage rules for the duel only. See SuperiorSkyblock2.
After a duel death SuperiorSkyblock2 does not send me to my island
That is on purpose. The plugin puts the player back on their duel exit and blocks other plugins' teleports for 3 seconds after that, which includes the player-respawn island teleport of SuperiorSkyblock2. Use /is go afterwards as normal.
Ranked
Its lore says why. The reasons are: one of the players lacks zrivalsduels.ranked, both players share an IP address (anti-abuse.block-same-ip), they hit the same opponent limit (3 ranked games in 24 hours by default), or a season end is running. Family members on one network can play unranked, or you can turn block-same-ip off.
Beating a much lower rated player is expected, so it is worth little. Beating a higher rated player is worth a lot. With the defaults, 1500 beating 1200 gains 5 while 1200 beating 1500 gains 27. See Ranked and MMR.
Those two keys in ranks.yml are not used yet. The rank colour on screen comes from the MiniMessage tags in display, so change the colour there.
They need at least leaderboard.min-ranked-games ranked games this season. The leaderboard also refreshes every 60 seconds and after each ranked result, so give it a moment.
How do players play ranked?
With /duel queue ranked or /ranked. The queue pairs players with the same kit and a close MMR. /duel <player> challenges are unranked by default, set queue.ranked-challenges: true to allow Ranked there too. See Matchmaking queue.
A player is stuck searching in the ranked queue
The MMR range grows while they wait, up to queue.ranked.max-range. Set it to 0 for no limit. Two players who share an IP address or reached the same opponent limit are never matched in ranked.
Wagers
VAULT currencies need Vault and an economy plugin. Without either, the console says Vault is not installed, VAULT currencies are turned off. or Vault has no economy plugin.
Check that PlaceholderAPI is installed and that the placeholder really returns a number. Test it with /papi parse me %solyscoins_balance%, using your own placeholder. If it prints the placeholder unchanged, the currency plugin's PlaceholderAPI support is missing or the name is wrong.
No. Stakes are written to the database before the fight, settled or refunded once, and each payout is marked delivered. If the server stops mid duel, stakes are refunded on the next startup. See how escrow keeps bets safe.
Seasons and rewards
A season's end date is fixed when it starts. The new length applies from the next season. To end the current one now, use /duel season end then /duel season end confirm.
Rewards go to players on the final leaderboard, so they need leaderboard.min-ranked-games ranked games. Also check the set names in positions and ranks match sets under sets, an unknown set is skipped with a console warning. Rewards are created at the moment the season ends, so later edits to rewards.yml do not change them.
No. Real money rewards are records only. The winner is told to contact staff, the reward shows in /duel reward pending, and you mark it paid with /duel reward markpaid after sending it yourself.
Their inventory is full. The reward stays claimable and they get a "make space" message. Rewards are never dropped on the ground.
Other
Yes. English, French and Spanish ship with the plugin, pick one with language in config.yml. You can also add your own translation as a custom language file, see Messages and Language.
Install PlaceholderAPI and restart. The %duel_...% placeholders are built into the plugin, there is nothing to download with /papi ecloud.
No. From 1.0.0-6 SeasonForge picks up the zRivals Duels events by itself, so the /battlepass hook zrivals ... lines in duel.win-commands and duel.loss-commands can be removed. If they stay, SeasonForge ignores them and replies that they can be removed, so nothing is counted twice. See Developer API.
In the Discord at discord.arrowtan.cc. See Support for what to include.