
Throwing Disc Advanced
A disc item working cross versions that adds that new mechanic!
- 18
- November 24, 2026

Throwing Disc Advanced
A disc item working cross versions that adds that new mechanic!
- 18
- November 24, 2026
Practice-server style 1v1 duels for Spigot / Paper (and forks), in a single jar for Minecraft 1.8 → 26.x.
config.yml + lang/*.yml (English and Spanish included, add any language)ClassicDuels-1.0.0.jar in plugins/ and start the server.plugins/ClassicDuels/config.yml (and lang/), then /dueladmin reload.Requirements: Spigot, Paper or a fork, 1.8 or newer, and whatever Java your server already needs. The SQLite driver is bundled with Spigot/Paper: nothing to install.
/dueladmin setlobby where players go after a duel (optional)
/dueladmin category list defaults: nodebuff, sword, gapple, sumo, boxing
# kit: put the items/armor you want in your inventory, then
/dueladmin category setkit nodebuff
# map: create it, stand at each start position, bind it to categories
/dueladmin arena create dunes nodebuff
/dueladmin arena setspawn dunes 1 stand at player 1's spot, look at the opponent
/dueladmin arena setspawn dunes 2
/dueladmin arena addcategory dunes sword the same map can serve several categories
/dueladmin arena list shows "ready" when it can be used
Players then use /queue (menu) or /duel <player>.
NoDebuff ships with armor, sword, pearls and food only. Healing potions are not part of the default kit because their item data differs on every version: add them with
/dueladmin category setkit nodebuff.
An arena belongs to one or more categories (arena addcategory / removecategory). A duel of category X picks a random free arena of X, and an arena hosts one duel at a time. For parallel duels, build more copies of the map and add each one to the category (dunes1, dunes2...).
| Command | Purpose |
|---|---|
arena create <name> [category] |
new map (optionally bound to a first category) |
arena setspawn <name> <1\|2> |
the two start positions (your position and direction) |
arena setspectator <name> |
spectator spot (default: above the middle) |
arena setcorner <name> <1\|2> |
optional region: movement limit, pearl limit, and required for build kits |
arena setdeathy <name> [y\|off] |
height under which a player counts as having fallen out (defaults: sumo = 3 blocks under the spawn, others = 50) |
arena addcategory / removecategory <name> <category> |
which kits use this map |
arena enable\|disable\|tp\|info\|list\|delete\|setname |
management |
Build categories (category set <id> build true): blocks placed or broken, flowing liquid, fire and explosions inside the arena region are recorded and restored when the duel ends (and between rounds). Set both corners of the region on those maps.
Players (classicduels.use, default: everyone)
| Command | |
|---|---|
/queue [category] [ranked\|unranked] |
no arguments opens the menu (left click = ranked, right click = unranked) |
/queue leave, /leave |
leave the queue / stop spectating |
/duel <player> [category] |
challenge (no category opens the kit menu); the target gets clickable [ACCEPT] [DENY] |
/duel accept\|deny [player], /duel forfeit |
answer a challenge / give up |
/spectate <player> |
watch a duel |
/duelstats [player] [category] |
statistics |
/leaderboard [category\|global] |
top 10 by Elo (category) or by wins (global) |
Admins (classicduels.admin, default: op): /dueladmin help, reload, setlobby, category <list|create|delete|setkit|getkit|seticon|setname|set|info>, arena <...>.
/dueladmin category set <id> <option> <value> options: enabled ranked weight hit-delay rounds build regen hunger sumo boxing-hits kb-horizontal kb-vertical.
classicduels.bypass.commands (op) lets a player use any command during a duel.
| Option | Meaning |
|---|---|
ranked |
has a ranked queue / Elo |
hit-delay |
damage-immunity ticks (default = combat.default-hit-delay, 20 like 1.8). Low values give combo-style fights |
rounds |
rounds needed to win (best of N) |
build |
players can place/break blocks (map is restored afterwards) |
regen |
natural regeneration (turn off for NoDebuff / Gapple) |
hunger |
food bar drains (off = always full) |
sumo |
no damage; lose by falling or touching liquid |
boxing-hits |
> 0 = boxing: no damage, first to N hits wins |
kb-horizontal, kb-vertical |
per-category knockback override |
Only players inside a duel are affected. On 1.8 the game already plays like this, so there only hit delay and knockback are applied.
| Module | Implementation |
|---|---|
| Hit delay | maximumNoDamageTicks, per category |
| Attack cooldown (hit cooldown) | 1.9+: attack-speed attribute raised to 16 and restored afterwards |
| Old tool damage | 1.8 damage table (sword 4-8, axe 3-7...), configurable |
| Sharpness | +1.25 per level |
| Strength / Weakness | strength x(1 + 1.3 per level), weakness -0.5 per level |
| Critical hits | 1.8 rules (x1.5, sprinting allowed), applied before sharpness like 1.8 |
| Knockback | OldCombatMechanics formula (friction, horizontal/vertical, vertical limit, sprint/enchant bonus), applied through PlayerVelocityEvent |
| Sweep, off hand, ender-pearl cooldown | disabled |
| Golden apples | 1.8 enchanted golden apple effects |
Every value is in combat: of config.yml. Not included: 1.8 sword-blocking emulation on 1.9+, old bow/fishing-rod knockback, old armor/potion changes.
plugins/ClassicDuels/stats.db. One dedicated database thread owns the connection; the server thread never waits on the disk. Stats are cached in memory while a player is online, saved in the background after each duel and when they leave, and loaded in the background when they join. Tables: players, stats (per player and category: Elo, wins, losses, ranked wins/losses, win streak, best streak, hits, time fought), matches (history). Leaderboards are cached for 30 seconds.
config.yml (settings + combat), categories.yml and arenas.yml (edited with /dueladmin), lang/en.yml, lang/es.yml (copy one and set language:), data.yml (lobby), stats.db, snapshots/ (temporary player backups while a duel runs).
JDK 8 or newer and Maven: mvn clean package → target/ClassicDuels-1.0.0.jar.
The plugin is compiled against the 1.8.8 API on purpose: that guarantees everything it calls exists on 1.8; newer features are reached by reflection (util/Compat.java).
Tested: the code compiles with -source/-target 8 against a hand-written 1.8.8 API stub, and every Bukkit method it references was audited; the SQL runs on a real SQLite engine; 168 scenario checks pass on a mock server simulating 1.8.8, 1.20.4 and 26.1 (full duel lifecycle, ranked Elo, rounds, quit/forfeit/restore, queue range widening, challenges, spectating, build-map restore, sumo/boxing, combat numbers, knockback).
Not tested on a real Minecraft server. The ready-made jar was compiled against those stubs because the build environment had no internet to download Spigot; the Maven build uses the real API and is the safer option. Areas worth checking first on your server: the 1.8 title countdown (uses NMS reflection), clickable chat buttons, and a first full duel on your newest version.
A disc item working cross versions that adds that new mechanic!
A disc item working cross versions that adds that new mechanic!