Home›Java›Mods›Duels | Player vs Player with restrictions [1.21] | Perfect for PvP servers!
Duels | Player vs Player with restrictions [1.21] | Perfect for PvP servers!
ModsJava

Duels | Player vs Player with restrictions [1.21] | Perfect for PvP servers!

Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Duels is a restrictions orientated plugin. I developed this plugin for my Minecraft server to address a player request for controlled, one-on-one battles. Players were looking for a way to duel each other without specific advantages, like using totems, golden apples, bows, shields, potions, ender pearls, elytras, exp bottles, maces and etc. Previously, they had to rely on moderators to enforce these restrictions, which caused additional issues, so I created this plugin to solve that issue.
[​IMG]

/duel <player> opens the GUI above. You can toggle some of restrictions by clicking on them. When you are done click Start and duel request with the same Restriction properties will be sent to the target.
upload_2024-5-26_20-9-18.png

Target POV:
upload_2024-5-26_20-3-57.png
The DENY/ACCEPT messages are clickable.

When you accept the request it teleports you to the arena and starts counting down from 5 to 0
upload_2024-1-25_14-54-27.png

After one of the player is dead:
upload_2024-1-25_14-54-51.png

This plugin also has spectating system. Just do /duels spectate player.
You can also turn off the unwanted restrictions/features.
Spoiler: Modules
Code (YAML):
#here you can toggle which modules will be enabled/disabled in the server.
#if you turn off any, it will not show up in the duels GUI, so players
#won't be able to turn on/off that restriction.
modules
:
  arena-selector
: true
  #Disabling this will disable restriction GUI and request will be directly sent without specifying duel restrictions.
  #Use this to disable ALL restrictions.
  GUI
: true
  keep-inventory
:
    enabled
: true
    toggled-by-default
: true
  #Inventory Saving feature. when request receiver accepts the duel, if this is enabled, both players items will be
  #taken away and stored. whenever duel ends we give them their items back. You can use this if you want to give
  #players some kits in game.commands.start
  inventory-saving
:
    enabled
: false
    toggled-by-default
: false
  restrictions
:
    bow
:
      enabled
: true
      toggled-by-default
: true
    totem
:
      enabled
: true
      toggled-by-default
: true
    golden-apple
:
      enabled
: true
      toggled-by-default
: true
    enchanted-golden-apple
:
      enabled
: true
      toggled-by-default
: true
    potion
:
      enabled
: true
      toggled-by-default
: true
    shield
:
      enabled
: true
      toggled-by-default
: true
    elytra
:
      enabled
: true
      toggled-by-default
: true
    ender-pearl
:
      enabled
: true
      toggled-by-default
: true
That's it. Please use discord link below to get support.
https://discord.gg/2zZChX9AEN


[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Duels | Player vs Player with restrictions [1.21] | Perfect for PvP servers! is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.20, 1.20.6, 1.21. Downloaded 10,642 times (via Spigot). Download it and open it directly in the game.

Explore more