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 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.
/duel <player> opens the GUI below. 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.
Target POV:
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
After one of the player is dead:
This plugin also has spectating system. Just do /duels spectate player.
You are not permitted to claim this resource as your own creation.
You can also turn off the unwanted restrictions/features.
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