Installation
Requirements, installing Okaso and the plugin, the first run, and the plugin folder layout.
Getting zRivals Duels running takes a few minutes. You need one extra plugin, Okaso, and two optional ones if you want placeholders or money wagers.
Requirements
| What | Needed |
|---|---|
| Server | Spigot or Paper |
| Minecraft | 1.21 and newer, including the 26.x releases |
| Java | Java 21 on 1.21.x servers, Java 25 on 26.x servers |
| Okaso | Required, version 1.6.3 or newer. Download the latest okaso-bukkit jar from the Okaso releases page |
| PlaceholderAPI | Optional. Turns on the %duel_...% placeholders and lets COMMAND currencies read balances |
| Vault and an economy plugin | Optional. Turns on VAULT money wagers |
| WorldGuard | Optional. Only needed when an arena sits in a region with the pvp flag on deny, see the bypass |
If you have not bought the plugin yet, see Download.
Install
Stop the server
Shut it down fully. /reload is not supported, the plugin warns in console if it detects one.
Add Okaso
Put the Okaso jar in your plugins folder. Use Okaso 1.6.3 or newer.
- Without Okaso, zRivals Duels logs
Okaso is not installedand turns itself off. - With an older Okaso, or an Okaso jar whose
plugin.ymlhas noapi-version, it logsOkaso <version> is too old, menus cannot load with itand turns itself off. Replace the Okaso jar and restart.
Add zRivals Duels
Drop the zRivals Duels jar into the same plugins folder.
Add the optional plugins
Add PlaceholderAPI if you want placeholders or a COMMAND currency. Add Vault plus an economy plugin (EssentialsX, CMI or similar) if you want money wagers. You can add these later.
Start the server
The plugin creates its folder and files on first start. Check the console for the lines below.
First run
On the first start you should see the plugin load its currencies and create the first season. Lines worth knowing:
| Console line | Meaning |
|---|---|
Loaded 4 currencies, 2 enabled. | Wager currencies from currencies.yml. Money and XP levels are on by default |
No active season found, Season 1 was created. | Seasons start on their own the first time |
PlaceholderAPI was not found, duel placeholders are turned off. | Normal if you do not use PlaceholderAPI |
Vault is not installed, VAULT currencies are turned off. | Shown the first time a money wager is looked at without Vault |
WorldGuard was found, fighters can be let through a region with PvP off. | Shown when WorldGuard is installed |
Then do these three things before anyone can duel:
- Build an arena, see Arenas. Duels cannot start until at least one arena is ready.
- Save a real kit, see Kits. An
examplekit ships so the kit menu is not empty. - Run
/duel helpin game to see the player commands, and/duel admin helpfor staff commands.
Plugin folder layout
| Path | What it holds |
|---|---|
config.yml | The main settings, see Configuration |
commands.yml | Command name, aliases and subcommand labels, see Commands file |
currencies.yml | Wager currencies, see Wagers and currencies |
ranks.yml | Rank names and MMR thresholds, see Ranked and MMR |
seasons.yml | Season length and MMR reset, see Seasons |
rewards.yml | Reward sets and who gets them, see Season rewards |
lang/ | Every message, see Messages and Language |
menus/ | Every menu, see Menus |
kits/ | One file per kit |
arenas/ | One file per arena, created by /duel arena create |
data/reward-items.yml | Items saved into reward sets. Written by the plugin only |
data/kit-edit/ | Staff inventories saved by /duel kit load until /duel kit restore |
logs/real-money.log | Every real money reward granted or marked paid |
database.db | The SQLite database. Not used when you switch to MySQL, see Storage |
Every file has a version key at the top (config-version, lang-version and so on). Leave it alone. When an update adds new settings, they are added to your files on start and your own values are kept.