Overview
#1v1 duels are part of SimpleSMPCore as the duels module (Extra tier, on in the package). No WorldEdit, FAWE, WorldGuard, Multiverse or Chunky is needed: the module has its own void arena world, protection, schematic reader and block reset.
| Where | |
|---|---|
| Settings | plugins/SimpleSMPCore/modules/extra/duels/duels.yml (commented; /simpleduels reload applies them) |
| Command names, item guard | modules/extra/duels/config.yml → commands.<key>.name and aliases (restart needed), and the item-guard section (see below); /smpcore reload duels applies the rest |
| Kits | modules/extra/duels/kits.yml |
| Player menus | modules/extra/duels/menus/ (themes classic and modern; /simpleduels theme <name> switches and takes a backup) |
| Texts | modules/extra/duels/messages/<language>.yml (13 languages) |
| Arenas | plugins/SimpleSMPCore/data/duels/arenas/<id>.yml |
| Map library | plugins/SimpleSMPCore/data/duels/maps/<id>/ (map.yml + map.schem) |
| Database | plugins/SimpleSMPCore/data/duels/database.db (SQLite; MySQL or MariaDB in duels.yml → storage) |
| Arena world | simpleduels_arenas (on Folia world_simpleduels_arenas) |
The package ships the menus as an older single file menus.yml. The duel engine splits it into the menus/ folder on its first load and keeps your changes (the changelog says the old file is kept as menus.yml.v2.bak).
What is ready after the first start
#- The four default arenas Badlands, Nether, Plains and Sand are built from the map library on the first start, one after another in the background. They are large (6 to 18 million blocks each): about 5 to 10 minutes in total on Paper, Leaf and Purpur, 15 to 20 minutes on Folia. Duels can start as soon as the first one is ready. To skip this, set
library.create-defaults: falseinduels.ymlbefore the first start. - Three kits: Combo, Debuff and Diapot.
- The duel lobby (where players return after a duel) is the spawn. To use another place, stand there and use
/duel admin→ Set lobby here, or/simpleduels setspawn. - Players can use
/duel <player>and/queueright away.
Map library
#/duel admin (or /simpleduels) → Map library. The package includes nine maps:
| id | Name | Style |
|---|---|---|
badlands | Badlands Arena | Large red canyon with terracotta walls (built on the first start). |
nether | Nether Arena | Large dark nether arena (built on the first start). |
plains | Plains Arena | Large green plains arena (built on the first start). |
sand | Sand Arena | Large desert arena with sandstone ruins (built on the first start). |
verdant-meadow | Verdant Meadow | Walled meadow with trees and rocks for cover, the classic duel map. |
obsidian-pit | Obsidian Pit | Crystal PvP: obsidian platforms and a blast-proof floor (crystals and building on). |
sandstone-ruins | Sandstone Ruins | Cover and corridors. |
sky-bridge | Sky Bridge | Void bridge with building. |
frozen-lake | Frozen Lake | Open frozen lake, crystals welcome. |
Click a map and confirm. It is pasted into a free spot of the arena world with its spawns, spectator point, build area and suggested rules, and the arena page opens. Check it with Preview (particles) or Test (a solo run with the cinematic and countdown; nothing is recorded). Console form: /simpleduels library create <map> [arena-id].
You can save your own arenas or any build into the library (arena page → Save to library) and copy the map folders between servers.
Your own arena
#/duel admin → Create arena:
- From my selection: take the wand (
/simpleduels wand), left and right click two corners of your build, open the menu and type a name in chat. - Detect my structure: stand on your build; connected blocks are found (radius
setup.detect-radius). - From a .schem file: files in
plugins/SimpleSMPCore/data/duels/schematics/. Sponge v2/v3 and WorldEdit files work without WorldEdit.
Then on the arena page:
- Spawn A, Spawn B, Spectator point: click, walk to the spot, press SHIFT.
- Camera points (optional): click, then SHIFT at every point of the camera flight. Without them the flight is made from the arena borders.
- Build area: two corners with the iron pickaxe (right click the button for the whole arena).
- Rules and Kits, then Save.
Cinematic entrance
#Black curtain, camera flight over the arena, landing behind the player, a big A VS B title, then the countdown. During the cinematic players cannot move, take damage or touch their inventory. SHIFT skips it, and players can turn it off for themselves in /duel settings. Settings: duels.yml → cinematic (duration-seconds: 6, height: 18, orbit-degrees: 200, mode: auto, skippable, player-toggle).
Rules
#Every arena has its own rules, each with three states (default, on, off): end crystals and obsidian, building, hunger, totems, elytra, ender pearls, border, own inventory, lives per round, forced rounds, forced time and allowed kits. Server defaults are in duels.yml → match.rules. A rule decided by the map is shown grey in the challenge menu with the reason.
Challenges, queue and matches
#/duel <player>opens the options menu: kit or own inventory, map (or random), time limit, bet, rounds (best of 1, 3 or 5), end crystals, spectators and whether the loser drops items. The challenged player sees every option./queueis the casual queue,/duel queue rankedthe ranked ELO queue with a growing search range./duel spectate [player],/duel stats [player],/duel top,/duel history.- Bets and winner money use the server economy and are held in escrow, with a refund after a crash.
- When every copy of a map is in use, a new copy is built for the next duel automatically while both players see "Preparing arena" (
duels.yml→auto-clone). In the packageauto-clone.max-instancesis0, which means no limit; set a number to cap the copies (one copy of a large map is about 15 MB of disk). A duel that still waits for a copy afterwait-timeout-seconds(300) is cancelled. - Inventories and positions are stored in the database, so a crash never loses items.
Teleport lock
#Nobody can teleport to a fighter (/tpa, /tp, other plugins), fighters cannot leave (pearls, chorus fruit, /spawn, /home, portals), and pearls a fighter left in a stasis chamber are frozen during the duel. Fighters are never combat-tagged by the combat module. Staff bypass: simpleduels.bypass.teleport.
Kits
#/duel admin → Kits → New kit: your current inventory and armor become the kit; type its id in chat. Open a kit to replace its contents, set the icon (item in hand), rename or delete it. Players arrange their own hotbar layout with /kiteditor.
Commands and permissions
#| Command | What | Permission |
|---|---|---|
/duel | Main menu | simpleduels.use (everyone) |
/duel <player> | Challenge | simpleduels.use |
/duel accept, deny, cancel [player] | Answer or take back a challenge | simpleduels.use |
/queue, /duel queue [ranked] | Matchmaking | simpleduels.queue, simpleduels.queue.ranked |
/duel spectate [player] | Watch a duel | simpleduels.spectate |
/duel stats [player], history [player], top | Statistics | simpleduels.stats, simpleduels.top |
/duel settings | Cinematic, challenges, language | everyone |
/leave | Leave a duel, the queue or spectating | everyone |
/kiteditor [kit] | Kit layouts | simpleduels.kiteditor |
/duel admin, /simpleduels | Setup menu | simpleduels.admin (OP) |
/simpleduels reload, setspawn, wand, library, arena list, arena delete <id>, test <arena>, perf, theme <name> | Admin tools | simpleduels.admin.* |
Ender chests, shulker boxes and some commands are blocked in a duel
#Since 1.17.7 a fighter cannot hide items from the winner of a "loser drops items" duel. The section item-guard in plugins/SimpleSMPCore/modules/extra/duels/config.yml is added to your file automatically and all its switches are on by default:
item-guard:
enabled: true
block-ender-chest: true
block-shulker-boxes: true
block-commands: [ec, enderchest, echest, endchest, pv, playervault, playervaults, vault, backpack, bp, bag, trade, ah, auction, auctionhouse, sell, sellall, sellhand, shop, orders, kit, kits]
block-modules: [ender-chest, trade, auction-house, sell, shop, orders]
drop-inventory-on-death: true
- From the moment a duel is accepted (the player waits for the arena) until it is over, the fighters (not spectators or queued players) cannot use ender chests, place or open shulker boxes, or run the listed commands.
block-modulesblocks every command of those SimpleSMPCore modules, so a renamed/ecis covered too. drop-inventory-on-death: truemakes the loser's items drop for the winner even ifkeepInventoryor another plugin would let the loser keep them.- To allow something, remove it from the list (or set the switch to
false) and run/smpcore reload duels.simpleduels.bypass.commandslets one player use any command.
You should see "Ender chests cannot be used in a duel." (or the shulker or command text) and the chest works again when the duel is over.
Team duels and tournaments
#Team vs team duels and tournaments are a separate BetterSMP module, team-duels (on in the package), with its own arenas and no kits by default: everybody fights with their own items. Settings: plugins/SimpleSMPCore/modules/better/team-duels/config.yml.
- Make an arena where staff can build:
/teamduel arena create <name>, stand in two opposite corners for/teamduel arena pos1 <name>and/teamduel arena pos2 <name>, then/teamduel arena addspawn <name> aand/teamduel arena addspawn <name> b./teamduel arena check <name>says what is missing (permissionsimplesmpcore.team-duels.admin). - Team leaders challenge with
/teamduel challenge <team> [size] [arena=<id>] [wager=<amount>] [kit=<name>](size 1 to 5, default 3; a challenge expires after 60 seconds, the cooldown is 30 seconds). The other leader answers with/teamduel acceptordeny. Also/teamduel spectate,stats,top,history,leave. - Tournaments: staff run
/tournament open <name>,close,start(permissionsimplesmpcore.team-duels.tournament.admin); leaders use/tournament registerandbracket. Defaults: 3 players per side, 4 to 16 teams, rewards for first, second and semifinal teams intournament.rewards. - Wagers (
features.wagers) and fixed kits (features.kits) are off by default.
You should see /teamduel top list the season's best teams (each team has an ELO rating per season). Plain 1v1 duels (the sections above) do not need this module.
Placeholders
#%simpleduels_wins%, %simpleduels_losses%, %simpleduels_elo%, %simpleduels_winstreak% and %simpleduels_top_<board>_<n>_name% or _value%. Inside SimpleSMPCore texts also %smpcore_duels_wins%, _losses, _elo, _winstreak and _in_duel.
Duels on Folia
#Folia cannot create worlds while it runs. On the first start the duel engine writes a small data pack (world/datapacks/simpleduels_arena); the package already includes it in the Folia/ folder, so the arena world world_simpleduels_arenas loads on the first start. A Paper or Leaf server that has the arena world as a data pack dimension uses it too instead of creating a second, empty one.
Troubleshooting
#- "Every copy of ... is in use": a new copy is being built; players are teleported when it is ready.
- Players say they cannot use
/ec,/sell,/trade,/ahor/shopduring a duel: that is the item guard (section above), not a bug. /simpleduels perfprints timings;debug: trueinduels.ymllogs teleports and the lock./smpcore module duels infoshows the module state and errors.- Only one duel engine can run: if the standalone SimpleDuels plugin is installed, the module stays off.
- Duel maps are read only from
plugins/SimpleSMPCore/data/duels/maps/(1.16.0 and newer). If that folder is empty after an upgrade, copy it from the package.
Found a mistake or something missing? Open a ticket on Discord.
Report an issue