zRivals Duels logozRivals Duels

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.

Three cards showing Okaso as required, PlaceholderAPI as optional for placeholders and COMMAND currency balances, and Vault with an economy plugin as optional for money wagers.

Requirements

WhatNeeded
ServerSpigot or Paper
Minecraft1.21 and newer, including the 26.x releases
JavaJava 21 on 1.21.x servers, Java 25 on 26.x servers
OkasoRequired, version 1.6.3 or newer. Download the latest okaso-bukkit jar from the Okaso releases page
PlaceholderAPIOptional. Turns on the %duel_...% placeholders and lets COMMAND currencies read balances
Vault and an economy pluginOptional. Turns on VAULT money wagers
WorldGuardOptional. 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 installed and turns itself off.
  • With an older Okaso, or an Okaso jar whose plugin.yml has no api-version, it logs Okaso <version> is too old, menus cannot load with it and 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 lineMeaning
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:

  1. Build an arena, see Arenas. Duels cannot start until at least one arena is ready.
  2. Save a real kit, see Kits. An example kit ships so the kit menu is not empty.
  3. Run /duel help in game to see the player commands, and /duel admin help for staff commands.

Plugin folder layout

config.yml
commands.yml
currencies.yml
ranks.yml
seasons.yml
rewards.yml
database.db
en_US.yml
setup.yml
kit-select.yml
kit-preview.yml
wager.yml
wager-proposal.yml
stats.yml
top.yml
rewards.yml
reward-items.yml
example.yml
PathWhat it holds
config.ymlThe main settings, see Configuration
commands.ymlCommand name, aliases and subcommand labels, see Commands file
currencies.ymlWager currencies, see Wagers and currencies
ranks.ymlRank names and MMR thresholds, see Ranked and MMR
seasons.ymlSeason length and MMR reset, see Seasons
rewards.ymlReward 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.ymlItems 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.logEvery real money reward granted or marked paid
database.dbThe 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.

On this page