Duels icon

Duels -----

Everything you need for a duel system.




v3.5.3
A quick update mostly consisting of bug fixes. Expect a lot more to come!

New Features & Changes
  • NEW! Drop Inventory Items Option - You can now choose to enable dropping of inventory items for own inventory matches in config.yml via match.drop-inventory-items.
  • NEW! Geyser UUID Support - Geyser UUIDs are now fully supported.
Bug Fixes
  • Fixed soup mode removing item in main hand
  • (!) Fixed crafting slot dupe issue
  • Fixed Jackson relocation issue
  • Fixed bound arenas locking players out of kit selection
  • Fixed PlaceholderAPI warning message
  • Fixed hunger and saturation not resetting after a match
  • Fixed Essentials vanish incompatibility with spectator mode
  • and more...
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Mar 18, 2023

v3.5.2

Bug Fixes
  • A quick fix for BlockCanBuildEvent error spam. Sorry for the delay!
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Mar 15, 2022

v3.5.1

New Features & Changes
  • NEW! Blacklisted Commands for Queues - You can now define a list of blocked commands for players in queues in config.yml via queue.blacklisted-commands.
  • NEW! Random Queue Join Option - Players can now join a random queue via /queue join -r.
  • Automated Conversion of Kits from Duels Fork
  • Spectator Behaviour Reverted - Players will now be in adventure gamemode when they use /spectate. If you wish to use spectator gamemode instead, enable spectate.use-spectator-gamemode in config.yml.
Bug Fixes
  • Fixed own inventory being disabled by default even when kit selecting is disabled
  • Fixed /ds setitem not saving kits
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Jan 9, 2022

v3.5.0

New Features & Changes
  • Support for MC 1.17 & 1.18
  • NEW! Simultaneous Use of Kits and Own Inventory - Players can now simultaneously choose between kits or using their own inventory in the request settings GUI.
  • [​IMG] [​IMG]
  • Own Inventory Matches Behavior Change - Players will no longer drop their inventory when in an own-inventory duel. Instead, their inventories will be restored back after the match as if they were dueling with existing kits.
  • NEW! NBT Support for Kits - You can now save custom items to kits! (Only available for 1.8.8 and above)
  • NEW! Persistent Player Cache - Restarts will no longer affect players' saved states.
  • Dropped Support for MC 1.7 - Duels no longer supports Minecraft 1.7. v3.4.1 will be the last version with official support.
Bug Fixes
  • Essentials Hook - Updated to support the latest version of Essentials.
  • Skulls Loading Crash Server - Changed skull textures to load from EntityHuman's cached GameProfile.
  • Loyalty Enchantment Conflict with prevent-item-pickup - Allowed trident items to be picked up even if item pickup is disabled.
  • Health Potion Counter Fix - Fixed health potion counter not displaying properly for recent MC versions.
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Dec 27, 2021

v3.4.1

New Features & Changes
  • Support for MC 1.16!
  • NEW! UHC mode - Enable or disable natural health regeneration for kits via /duels options [kit].
  • NEW! Combo mode - Enable or disable no hit delay for kits via /duels options [kit].
[​IMG]
  • NEW! Per World Inventory Support - Players will now receive kit after teleportation to the arena!
  • NEW! prevent-durability-loss config option now allows toggling item durability loss in own inventory duels.
  • CombatLogX, CombatTagPlus, PvPManager support has been reworked! Players will now not be combat tagged while in a duel. Please note that the config option untag-on-duel-teleport has been renamed to prevent-tag-in-duel.
  • SimpleClans support has been updated to prevent negative KD ratios.
  • Massive Performance Upgrades - The code of Duels have been improved drastically to become far more efficient. If you still experience heavy lag from the plugin, please report them to discord!
  • The Duels API has been updated to cover spectators! You can now easily put players in and out of spectator mode with your own plugin.
Bug Fixes
  • CRITICAL! Fixed an exploit where players were able to steal items in the item betting GUI.
  • Fixed the arena bind GUI not displaying multiple pages.
  • Fixed an exploit where players were able to throw an enderpearl before entering a duel to escape the arena.
  • and many other minor bug fixes...
Additional Information
  • Team Duels (2v2s, 3v3s, and more) is now under development! If you wish to beta test the functionality when it is ready, please contact me on my discord. The beta testers will be granted a Tester role on the server, which provides access to channels to download beta builds and report issues.
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Dec 22, 2020

v3.4.0

Duels is back with a massive update! Watch the video below for a preview of the key features of this update:


New Features & Changes
  • Support for MC 1.15!
  • NEW! /duels options [kit] - Enable or disable permission, soup mode, sumo mode, or arenaspecific, all within a single GUI.
  • NEW! /duels bind [kit] - Bind arenas to a kit to prevent them from being available to other kits. Useful for gamemodes like Sumo!
  • NEW! /queue (or /q) - Queue command has been separated to a new command! /queue to open the queue GUI, /queue join to join a queue through a command, and /queue leave to leave your current queue!
  • NEW! %in_match% placeholder now shows how many players are in a duel through a queue. Available for both queue signs & queue icons!
  • [​IMG]
  • NEW! Dynamic Duel Request GUI Icons - No more of ugly disabled icons! Only request options enabled in config will appear and reposition themselves in duel request settings GUI.
  • NEW! spectate.add-invisibility-effect config option now allows adding invisibility effect to spectators.
  • NEW! soup.remove-empty-bowl config option now allows removal of empty bowls after soup consumption.
  • NEW! soup.cancel-if-already-full config option now allows changing whether or not soup can be consumed while player's health is full.
  • /ds edit [name] [add|remove|set] [wins|losses] [amount] - Edit command now supports adding & removing of wins & losses!
  • /ds tp [name] <-2> - Attaching `-2` at the end of tp command will now teleport you to the second position of the arena.

Bug Fixes

  • Order of kits now correctly displays based on their respective order in kits.json
  • Loyalty enchantment now works in duels
  • Fixed items not properly displaying in Inventory Previews in newer versions of MC
  • Opponents being invisible in older versions of MC has been fixed
  • Many other performance fixes
(If you're updating from an older version of Duels, continue reading!)

[IMPORTANT] Things to Note
  • /duel queue is no longer available as it has been replaced by /queue. However, the permission required, duels.queue, remains the same. The separation of command now allows players to play a match through a queue without needing permission for /duel command.
  • /duels useoption is no longer available as it has been replaced by /duels options. The options from the old command are all available in the new command's GUI.
  • arena-name-starting-with options of Sumo and Soup section in the old config.yml are deleted in the new configuration. Simply enable Sumo and Soup with the new /duels options command.
  • Placeholders for queue sign and queue icon in lang.yml has been changed to %in_queue% and %in_match%. Old placeholders will no longer work, so make sure to switch!
  • Please stop the server before you replace the jar as it requires kits and arenas to be properly saved.
Found an issue? Please join the Discord Server to report it.
----------, Apr 15, 2020

Duels v3.3.0: 1.14, Sumo, No Kit Rating, Full Translation and more!
————————————————————————


New Features & Changes

  • (!) 1.14 support: Duels now supports Minecraft 1.14.x!
  • (!) Sumo option: You can now enable sumo arenas in the configuration! Players in suumo arena will lose zero hearts in combat unless they interact with a liquid block, such as lava or water.
  • (!) No Kit Rating: Rating system has been added for servers using the use-own-inventory option! To see the no kit rating leaderboard, use the command /duel top - .
  • (!) When use-own-inventory option is enabled in the configuration, players will no longer lose item/armor durability in duel.
  • /duels tp [name]: Teleport to arenas with ease!
  • /duels lobby: Teleport to the current duel lobby.
  • (!) Messages such as "enabled", "disabled", and "Random" can now be fully configured in lang.yml!
  • (!) You can now blacklist specific worlds from starting a duel!
  • You can now disable block interact for spectators in the configuration!
  • You can now toggle KitItemListener's item protection in the configuration.
  • CombatLogX support has been updated to the latest version.
  • WorldGuard 6 and 7 are now both supported.
  • The tab completion warning message for kits and arenas has been removed.
  • The duels_losses placeholder not showing the correct amount of losses has been fixed.
  • You can now use /duels savekit -o <kit name> to overwrite an existing kit.
  • and many other minor fixes!
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 29, 2019

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.3 includes:

  • Critical memory leak fix
  • Other code optimizations
----------, Oct 24, 2018

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.2 includes:

  • Fixes plugin not enabling for 1.13.x servers
  • Fixes countdown titles for 1.9.4 servers
----------, Sep 16, 2018

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.1 includes:

  • Support for LeaderHeads. Available leaderboards: duels-wins, duels-losses
  • Paged GUI will now reuse the same inventory on refresh, making it much more efficient
  • Auto saving for kits, arenas, queues, and signs
  • More events for the API
  • Bug fixes
----------, Sep 15, 2018

Duels v3.2.0: Command & GUI Queues!
————————————————————————


New Features & Changes
  • Create & Delete Queues: As of v3.2.0, you can create and delete queues with commands! /ds createqueue & /ds deletequeue
  • Command & GUI Queueing: You can now enter a queue by command or by clicking a queue in the Queue GUI!
/duel queue - Opens the Queue GUI. Requires the permission duels.queue
/duel queue <kit> <bet> - Enters a Queue with kit and bet. Requires the permission duels.queue

Queue GUI Preview
[​IMG]
  • Configurable GUI Space Fillers: You can now change the space filler item for the GUIs. (default is white glass pane.)
  • CombatLogX support: Prevent dueling while tagged by CombatLogX!
  • JavaDoc: Duels javadoc is now available for developers. https://realized.me/javadocs/duels-api/
  • Fixes kit items dropping on ground
  • Fixes consuming a stack of potion with remove-empty-bottle option
  • Fixes spectators being stuck in ground
  • and many more!
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Aug 25, 2018

Found an issue? Please PM me or join the Discord Server to report it.

v3.1.2 includes:

[​IMG]
  • Fixes Duels not functioning properly on 1.8/1.8.3 servers
  • Improvements & bug fixes with the Extensions System
Extra Information:
[​IMG]
----------, Aug 6, 2018

Found an issue? Please PM me or join the Discord Server to report it.

v3.1.1 includes:

  • Fixes Queue Sign player count not updating properly
  • Fixes player being able to consume a stack of food at once
----------, Jul 30, 2018

Duels v3.1.0: No Longer in Beta!
————————————————————————

Duels is now out of beta stage, thanks to all the users. Many changes have been made to the API in order to finalize it, so be aware if you're using it.


New Features & Changes
  • Release of [Duels Extension] Placeholders: As of v3.1.0, Extensions System has been completed. Check out my first extension if you want more placeholders added to Duels!
  • 1.13 support: Duels now fully supports 1.13. However, due to lack of testing, there may be unexpected issues. Don't hesitate to report them!
  • New Config Option arena-only-end-message: If enabled, game end message will only be sent to players dueling in the arena & spectators of the duel.
  • New Config Option display-inventories: You can now choose disable Inventory View at the end of the duel.
  • New Config Option spawn-firework: You can now choose disable the firework at end of the duel.
  • New Config Section displayed-replacers: You can now change the displayed type and identifier in /duel top.
  • SimpleClans support: Dying in a duel no longer increases the death count.
  • You can now set a hover message for clickable [ACCEPT] & [DENY] message in lang.yml
  • Request options, such as 'prevent-creative-mode', now also applies to Queue Joining.
  • Enabling 'keep-items' will now also prevent the loss of exp.
  • Includes a fix attempt for players being invisible on duel teleportation.
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 28, 2018

PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.5 includes:

If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 13, 2018

PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.4 includes:

  • Fixed Queue System starting matches with many players at once (Thanks to @Mithrandir once again)
  • DuelZone now require players to stay in the region even after sending the duel request.
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 6, 2018

PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.3 includes:

  • Fixed PvPManager hook not working properly (Thanks to @Mithrandir :))
  • Fixed 'cancel-if-moved' config option not checking if player has switched world
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 5, 2018

PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.2 includes:

  • Added compatibility for plugins that changes player's maximum health (Ex. TokenEnchant)
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 3, 2018

PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.1 includes:

  • Fixes armor duplication bug for servers in 1.9 or above! (Thanks to @DaringDoughnut :))
If you're experiencing any issues, please PM me or join the Discord Server to report it.
----------, Jul 3, 2018

WARNING: For those who plan to update to this version of Duels, make sure to read the whole post first!

Duels v3: Beta Release
————————————————————————

v3.0.0 is in beta, which means unexpected issues may occur. Use at your own risk!

Duels is finally back with a massive update! Money Betting, Item Betting, Sign Queues, Elo Rating, Inventory Viewer... continue reading to find out more!


New Features & Changes

1. Money Betting - [Click Me for a Preview]
You can now bet money on your duel! Simply append your bet at the end of your command.
Example: /duel Realized 200 - Sends a duel request with a bet of $200.


2. Item Betting - [Click Me for a Preview]
Betting items was also added along with money betting! All you need to do is click the button 'Item Betting' in the Request Inventory. Check out the preview above to find out more about this feature!

3. Sign Queue System - [Click Me for a Preview]
You can now duel against random opponents and earn money! Check out the preview above to find out more about this feature!


4. Elo Rating System - [Click Me for a Preview]
Elo rating system is here! Find out who is the best at certain kit.

[​IMG]

5. Inventory Viewer - [Click Me for a Preview]
You can now view your winner and loser's inventory after a duel! Check out the preview above to find out more about this feature!


6. Clickable ACCEPT/DENY Message - [Click Me for a Preview]
You can now accept or deny a duel request with just one click!
[​IMG]

7. Leaderboards - [Click Me for a Preview]
Leaderboards has been implemented to Duels! View the top wins, losses, or elo rating of your server by simply executing the command /duel top.
[​IMG]


8. CombatTagPlus / PvPManager / FactionsUUID / Factions / mcMMO / Essentials / WorldGuard Support
CompatTagPlus & PvPManager: Prevent players from dueling if they are in combat!
FactionsUUID & Factions: Prevent players from losing power in duel.
mcMMO: Prevent players from using skills or abilities in duel.
Essentials: Prevent players from dueling in vanish or using /back to return to arena.
WorldGuard: Force players to only duel in the arena specified in config.

9. Crash Protection
Crash Protection has been implemented to Duels in this update. Even if players manage to obtain duel kit items from a server crash, they will be unusable and will be automatically removed on use if they are not in a duel.

10. Auto-Updating Configuration System
As of Duels v3, changes made to the configuration / language file will be automatically applied when you update the plugin jar.

11. Spectators can no longer block projectiles!
Spectators will no longer be able to interrupt a duel by blocking projectiles (such as arrows & snowballs).

And many more for you to discover! If you're experiencing any issues, please PM me or join the Discord Server to report it.

WARNING: Make sure to stop your server first before updating!
----------, Jul 2, 2018

(v2.2.3) Changelog:
- Patches an exploit related to keepInventory.
- Patches entering a match while flying.


This is a temporary bug fix update! v2.3 is still in development. If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jan 12, 2017

(v2.2.2) Changelog:
- Patches an exploit, thanks to @armyman25 for the report.
- You can now use the placeholder {KIT} in match end broadcast.
- Some more changes with extension manager.


If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Nov 26, 2016

(v2.2.1) Changelog:
- Added MVdWPlaceholder support. Available placeholders are {duels_wins}, {duels_losses}, and {duels_request_enabled}. Make sure to download MVdWPlaceholderAPI!
- Added compatibility with CombatTagPlus. Players will not be able to execute duel related commands if they're tagged. You can toggle this patch in the configuration. (Regenerate your config and messages to see the options, or copy the options over from the updated config and messages!)
- Some changes for my upcoming extensions. Should be backwards-compatible.


If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Nov 26, 2016

————————————————————————

Duels v2.2.0 (BETA)

Please regenerate your config & messages to see new options. For more information, continue reading.

What's New?
  • Command changes! /stats & /toggle were changed to /duel stats & /duel toggle. Permissions remain the same. This was highly requested due to conflicts with other plugins for some reason.
  • Completely re-coded player restore system. Player's health, hunger, potion effects, and more will be properly restored on match end and spectator mode disable.
  • Extensions!
    An extension is a separate jar file that adds a lot more to Duels, such as displaying a scoreboard in matches, creating a head leaderboard, custom queues, and more.

    When you start up the server with the updated version, there will be an empty folder called 'extensions' generated. I'll be uploading some extensions soon as an example. If you are a developer, you can also create your own extensions! More info regarding this soon.

  • Logs. With this version, there will be a folder called 'logs' generated on startup. In this folder, a new log file will be generated daily, and many things that will help me fix issues will be logged. Please provide the log file when reporting issues!

  • DuelZone now supports multiple regions. @Tomnnnn

  • Spectator mode update! Spectators no longer need to have a cleared inventory to duel. This can be changed back in the configuration, by editing the new option named 'requires-cleared-inventory' under the 'Spectating' section.

  • Tons and tons of optimization. There were over a thousand of changes with this update. I found so many logic flaws that could've been very bad if someone exploited it. Luckily, I believe most of them are fixed with this update, and that could be an another reason to update!


That's all for this update. If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Nov 22, 2016

(v2.1.1) Changelog:
- Fixed ItemSlot saving with attributes, thanks to @Mithrandir for the report.
- Kits are now ordered lexicographically by their names in the GUI, thanks to @timli168 for the suggestion.


If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Nov 9, 2016

————————————————————————

Duels v2.1.0

Please regenerate your config & messages to see new options. For more information, continue reading.

What's New?
  • Sounds! With this update, you will be able to attach sounds to any messages from Duels. The section below was added to the updated configuration -
    Code (Text):
    Sounds:
    +  # To hear the sound in-game, use the command /duels playsound [name]
    +
    +  # Name of your sound
    +  countdown-ongoing-sound:
    +    # Configure your sound here
    +    sound:
    +      type: BLOCK_NOTE_PLING
    +      pitch: 0.95
    +      volume: 3.0
    +
    +    # When a message in the list is sent to player, the sound will play.
    +    # Only messages from Duels will play the sound.
    +    # Broadcasts (such as on-match-end) is not supported.
    +    on-messages:
    +    - '&7Starting in &f5 &7seconds!'
    +    - '&7Starting in &f4 &7seconds!'
    +    - '&7Starting in &f3 &7seconds!'
    +    - '&7Starting in &f2 &7seconds!'
    +    - '&7Starting in &f1 &7second!'
    +
    +  countdown-end-sound:
    +    sound:
    +      type: BLOCK_NOTE_PLING
    +      pitch: 0.5
    +      volume: 3.0
    +
    +    on-messages:
    +    - '&7Duel starting now!'
  • AttributeModifier support for kit items. This took literally forever, but it's implemented. If your kits are not working properly after updating, I recommend re-generating kits.json file. Sorry for the loooong wait @Mithrandir
  • Some changes for future add-ons I have in mind. ;^)
That's all for this update. If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Nov 8, 2016

Duels v2 is no longer in beta, thanks to everyone who helped!

(v2.0.5) Changelog:

- Some minor bug fixes and improvements in general.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Nov 2, 2016

I've noticed that many of the recent issue reports are caused by a compatibility issue with their plugins. Many of those are kind of issues that can't be fixed from my side, so please make sure that your issue is caused by Duels.

(v2.0.4) Changelog:
- This update contains a new patch named force allow teleportation (Enabled by default). This patch will attempt to override teleportation cancellation from other plugins when player is entering / leaving the arena. This is not a safe option, so disable if you are experiencing any issues with it.

You must regenerate your config.yml or add this line under the patcher section to use the option (It will be set as enabled if you don't):
Code (Text):
  force-allow-teleportation: true
If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Oct 24, 2016

(v2.0.3) Changelog:
- Attempts to fix bugs reported by users. If you're still experiencing a bug you reported, please reply to your bug report conversation.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Oct 22, 2016

(v2.0.2) Changelog:
- Attempts to fix bugs reported by users. If you're still experiencing a bug you reported, please reply to your bug report conversation.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Oct 21, 2016

To any v2.0 users, please update to this version as I forgot to un-comment an important line. :^(

(v2.0.1) Changelog:
- Attempts to fix bugs reported by users. If you're still experiencing a bug you reported, please reply to your bug report conversation.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Oct 20, 2016

————————————————————————

Duels: v2.0 Beta

If you are for sure updating, make sure to read this whole thing.


Hello peepl! Before you download this update, know that it's a BETA test. v2.0 had so many changes (over 4k!) that I'm sure there will be some bugs I missed while testing. Make sure to do your backups if you do plan to update, or you can wait until it's out of beta testing.
Now, lets get right into the new stuff.



This update requires a reset of your config.yml. Remove the old one before you update!

The New Stuff

Spectator System: Yay, it's here. With the new /spectate command, you can spectate matches live! (Pretty obvious, but what else could it be?)
Few things before moving to the next feature:

  • duels.spectate is the permission for the command.
  • Having the permission duels.spectate.anonymously will not notify players in the arena when you start spectating. (For staff members)
Max Match Duration: You can now set a maximum duration for a match in the new configuration. When the match duration is over the max, match will end as a draw.

Patches, patches, and more patches: The main focus of this update was to implement many, many suggestions I've received through PM. And as expected, other plugins started conflicting with my plugin. As a result, this update contains 5 new patches, which does the following -

  • disableMcMMO: Basically what the name describes. This patch allows you to disable mcMMO skills & abilities while in a duel.
  • disablePowerLoss: This new patch removes player's power loss on death from dueling by cancelling the PowerLossEvent from FactionsUUID.
  • strictTeleportation: This patch is not related with plugin conflicts, but in v2.0, teleportation is no longer cancelled if distance teleported is under 1.0, due to reports of lag-backs. Enabling this patch will cancel any teleportation, like the previous versions.
  • forceAllowPvP: This patch attempts to override entityDamage cancellations from other plugins, allowing players in the same faction to duel.
  • cancelMatchIfMoved: This patch was created to prevent players sending a request inside the DuelZone region and then leaving the region.
Messages, messages, and more messages: The configuration structure was re-designed to allow you edit (almost) every single messages from Duels. A new file named messages.yml will now contain all the messages from the plugin. Also, support for not sending the message if the configuration section is empty was added, for both messages and lists.

New Commands: New commands are here to save your time!

  • /duels reset: Resets player's user data.
  • /duels reload: Reloads the plugin completely, not recommended to use multiple times in short interval as it will end all ongoing matches. If you simply changed a message in messages.yml, use /duels reload weak.
Soup?: Even though I didn't see the need, since someone requested it and I had some free time, it made it to the list. The new configuration has a new section for instant soup regen, with the following options -
  • enabled: Enable soup?
  • arenas Starting With: When you enable soup, arenas with name starting with this value will automatically have soup regen enabled.
  • hearts To Regen: The amount of health a soup will regenerate.
Extra: Few more improvements in general -
  • Kit & Arena names can now have spaces & capitalization. Which means names like 'God Apple', 'Soup Arena 1' is now possible!
  • Added support for Tipped Arrows in kits.
  • You can now change the amount of matches to be displayed when /stats is called.
  • A lot of bug fixes.
  • A lot of re-code overall, hopefully improving the performance.

That's it for the update! I would like to say few more things before I finish my update log.


- Starting from v2.0, Duels will be now under the GNU General Public License.
- Please PM me any issues with details, such as plugin list, exact server version, and error logs (if there's any).
- Thanks for all the support even while there were no updates. It really does keep me motivated.
- I've added a donation link at the very bottom of the overview. If you are having 'too much money' problems, you can click on the button!


Once again, thanks for all the support.

- END of the update log
----------, Oct 20, 2016

(v1.3.4) Changelog:
- Fixes pick-up-item config option not functioning. Stooopid spelling mistakes :/ Thanks to @heresy and @nickshelton80.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Aug 1, 2016

(v1.3.3) Changelog:
- Attempts to fix bugs reported by users. If you're still experiencing a bug you reported, please reply to your bug report conversation.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jul 27, 2016

To anyone using 1.3+, please update to this version. I forgot to add a line that removed the player from the arena. :(

(v1.3.2) Changelog:

- Attempt to fix bugs reported by users.
- New API method: DuelsAPI#isInMatch(Player)

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jul 22, 2016

(v1.3.1) Changelog:
- Fixes an NPE reported by @KyroFrost, thanks.
- API update for future add-ons.


If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jul 20, 2016

Back at it again with another major update! Contains a lot of useful stuff, so make sure you read everything. Requires a re-generation of config.yml.

————————————————————————


Duels v1.3.0-BETA

It's called BETA for a reason. This update was written in under 1.5 hours and I'm expecting there to be some bugs. (Don't blame me, lack of time IRL :^( ) If you're running a huge server, I recommend you to wait until the version is confirmed stable.

This update focuses on implementing the suggestions I've received and bug patches. Over 500+ lines were added and 250+ lines were removed!

General Improvements

- Code cleanups & optimization as usual.
- Better configuration handling system. If a value is missing, it will use the default config value instead of breaking (hopefully).
- Better handling of match end.

New Features

- Countdowns! They are now available and is fully customisable in the configuration. Block certain actions while countdown is running! Read the top of the updated configuration for more information! (Suggestion by @BluueJay)

- Editable map selector item names! Read the GUI section in the updated configuration for more information! (Suggestion by @TheIronMinerLv)

- Using player's own inventory for duels! The most requested suggestion is now live! Read the updated configuration for more information!

- Custom command execution for winner and loser on match end! Read the updated configuration for more information! (Suggestion by @BluueJay)


Bug Fixes


- Handles the bug reported by @killkill_85: "Players type /trade [name] before starting a duel and the other player accepts the trade, allowing duel items to be transferred." - Use the new option named fix-inventory-open in the configuration for a patch! (auto-enabled)

- Handles the bug reported by @Exzone: "Players get stuck in a block on teleportation to the arena" - The update will try to fix this once again, but I have no idea if it'll work on servers with many players.

- Handles the bug reported by @KyroFrost: "Error occurs when another plugin sets player's max health to a custom value." - The update will patch this completely.

- Handles the bug reported by @StudioBeat: "/spawn command is not blocked by the default configuration." - The update will add this command and all its aliases, sorry for forgetting about this!


Thanks to all bug reporters & people who submitted suggestions! If you're experiencing any issues, please PM me about them. Suggestions should be sent through PM. Thanks for downloading!
----------, Jul 7, 2016

(v1.2.3) Changelog:
- Fixes Potions not properly saving on 1.10+, thanks to @BenBeast.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jul 2, 2016

(v1.2.2) Changelog:
- Fixes an IllegalArgumentException caused by the patch the previous update has added.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jul 1, 2016

If you are planning to update to this version, please replace the 'patcher' section with this (Click to View) or re-generate your configuration file.

(v1.2.1) Changelog:

- Fixes an exploit with Essentials /tpa command that allowed players to pick up duel items. If you are not using Essentials, or Didn't set a delay for teleport in the Essentials config, or had 'drop-item' to 'false' in the Duels config, this update is not required for your server.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jun 29, 2016

This update requires a re-generation of config.yml.

————————————————————————


Duels v1.2.0

This update focuses on bug fixes. Every reported bugs should be hopefully fixed with the release.

General Improvements

- Code cleanups
- Better plugin hook system

New Features

- You can now block all commands using the new 'block-all-commands' option! Add the commands you don't want to be blocked in the 'whitelisted-commands' list. 'disabled-commands' option will no longer take affect when this option is enabled. (Suggestion by @Sonacabon, thanks!)
- The usage message on /duel command is now fully editable! (Suggestion by @StudioBeat, thanks!)

If you're experiencing any issues, please PM me about them. Suggestions should be sent through PM. Thanks for downloading!
----------, Jun 26, 2016

[Requires config.yml regeneration!] Please download this update to prevent players grabbing the items from dueling. Read the update for more information.

(v1.1.2) Changelog:

- Fixes an exploit that allowed players to hold an item on their cursor on duel end. (This issue should only happen if you were using Duels on your main world)
- Fixes an exploit that allowed players to teleport back to arena using /back and grab the dropped items.
- Fixes an exploit where players were able to hold items in their crafting slots using a hacked client.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jun 12, 2016

(v1.1.1) Changelog:
- Fixes a plugin compatibility issue with Multiverse-Inventories. Reported by @M0R_Gaming, thanks.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 27, 2016

To anyone viewing this update, please click that 'Read More' button if you're planning to update! This update contains a lot of stuff that you probably should read about before updating.

————————————————————————


Duels v1.1.0

This update focuses on the GUIs, which I've never really attempted much. If you're experiencing any issues, please PM me about them with as many details as possible! But first, continue reading.

General Improvements

- This update contains a complete re-write of the GUI functions. Fancy!

[Watch Video For More]

New Features

- The previous version limited kit creating due to max inventory size being 54. With this update, you can create as many kits as you want! [Watch Video For More]
- Arena Selection. Literally the most requested feature, is finally implemented. Many config options were added to make this function the best. Suggestion by @Stjernebirk and many others, thanks. [View Updated Config Down Below & Watch Video For More]


Video



The New Configuration

READ: This update requires a reset of config.yml due to the addition of many new options & message changes.
Code (Text):
# Make sure to read the comments before configuring! It'll be a big help.[/FONT][/LEFT]
[FONT=Tahoma][LEFT]
# Glitch patches
patcher:
  # This might conflict with Essentials if you duel while vanished. Enable them at your own risk.
  patch-invisible: false

# GUI settings
GUI:
  # Select how many rows should each page of the GUI have.
  # Note: Excludes the last row which contains 'previous page' & 'next page' buttons.
  # Must be in range between 1 - 5, otherwise it'll be set to 5 by default.
  kit-selector: 3
  arena-selector: 2

# Duel settings
Dueling:
  # If enabled: Players will have another GUI open after selecting kit that displays clickable arenas.
  # They are able to choose which arena they want to play on.
  # If someone else uses the arena while the request is pending,
  # the 'arena in use' message will display and the request will be cancelled.
  allow-arena-selecting: true

  # If enabled: Players must have a cleared inventory to execute the command /duel.
  # Player inventories will be restored on duel end if this value is set to 'false'.
  requires-cleared-inventory: true

  # If enabled: On duel end, players will be teleported to the latest location they were at before the start of the match.
  # Recommended: 'true' if your server type is factions/survival. 'false' if your server type is kitpvp.
  teleport-to-latest-location: false

  # On duel end, winner will be teleported after following amount of seconds to spawn / latest location if enabled.
  delay-until-teleport-on-win: 5

  # If enabled: Allows players to drop item while in duel.
  # Recommended: 'true' if you have any sort of dropped item remover. 'false' if you do not.
  drop-item: true

  # If enabled: Allows players to pick up item while in duel.
  # Recommended: 'true' if you have any sort of dropped item remover. 'false' if you do not.
  pick-up-item: false

  # Commands in the following list will be disabled while in duel.
  # Recommended: Add all the commands that will allow players to gain advantage while in duel. Examples: /heal, /kit
  # Added most of the known commands to default configuration just to save your time. ;)
  disabled-commands:
  - 'heal'
  - 'eheal'
  - 'essentials:heal'
  - 'essentials:eheal'
  - 'feed'
  - 'efeed'
  - 'eat'
  - 'eeat'
  - 'essentials:feed'
  - 'essentials:efeed'
  - 'essentials:eat'
  - 'essentials:eeat'
  - 'kit'
  - 'ekit'
  - 'kits'
  - 'ekits'
  - 'essentials:kit'
  - 'essentials:ekit'
  - 'essentials:kits'
  - 'essentials:ekits'
  - 'enderchest'
  - 'echest'
  - 'eechest'
  - 'eenderchest'
  - 'endersee'
  - 'eendersee'
  - 'ec'
  - 'eec'
  - 'essentials:enderchest'
  - 'essentials:echest'
  - 'essentials:eechest'
  - 'essentials:eenderchest'
  - 'essentials:endersee'
  - 'essentials:eendersee'
  - 'essentials:ec'
  - 'essentials:eec'
  - 'tpaccept'
  - 'etpaccept'
  - 'tpyes'
  - 'etpyes'
  - 'essentials:tpaccept'
  - 'essentials:etpaccept'
  - 'essentials:tpyes'
  - 'essentials:etpyes'
  - 'sethome'
  - 'esethome'
  - 'createhome'
  - 'ecreatehome'
  - 'essentials:sethome'
  - 'essentials:esethome'
  - 'essentials:createhome'
  - 'essentials:ecreatehome'
  - 'vault'
  - 'chest'
  - 'pv'
  - 'playervaults'
  - 'playervaults:vault'
  - 'playervaults:chest'
  - 'playervaults:pv'
  - 'playervaults:playervaults'

# DuelZone settings. Requires WorldGuard!
DuelZone:
  # If enabled: Player must be inside of the region declared below to execute the command /duel.
  enabled: false
  region: spawn

# Stats command settings
Stats:
  # If enabled: Displays a list of data of the player's 10 latest matches when /stats is executed.
  display-matches: true

# Edit messages here! Read the comments above the messages for more information.
Messages:
  # Displayed on command: /stats
  # Placeholders:
  # {NAME} - Name of the stats owner.
  # {WINS} - Amount of duel wins.
  # {LOSSES} - Amount of duel losses.
  # {REQUESTS_ENABLED} - Displays 'enabled' if player has duel requests enabled, else 'disabled'.
  stats:
    - '&7Displaying stats of &f{NAME} &7-'
    - '&71v1 Wins: &f{WINS}'
    - '&71v1 Losses: &f{LOSSES}'
    - '&71v1 Requests: &f{REQUESTS_ENABLED}'
    - '&7Latest 1v1 matches -'

  # Displayed after the list above if 'display-matches' is enabled.
  # Placeholders:
  # {WINNER} - Name of the winner.
  # {LOSER} - Name of the loser.
  match-format: '&a{WINNER} &fvs &c{LOSER} &6[Hover Me!]'

  # Displayed when hovering the message above.
  # Placeholders:
  # {DURATION} - Formatted match duration.
  # {TIME} - Time since the happening of the match.
  # {HEALTH} - Winner's health.
  # {NEWLINE} - Moves on to the next line.
  match-hover: '&7Duration: &f{DURATION}{NEWLINE}&7Time: &f{TIME} ago{NEWLINE}&7Health: &d&l{HEALTH} ♥'

  # Displayed when player sends a duel request.
  # Placeholders:
  # {PLAYER} - Receiver's name for 'on-request-send', Sender's name for 'on-request-receive'.
  # {KIT} - Name of the kit selected on request send.
  # {ARENA} - 'random' if arena selecting is disabled, selected arena's name if enabled.
  on-request-send: '&9[Duels] &7Duel request sent to &f{PLAYER} &7with kit &f{KIT}&7 on arena &f{ARENA}&7.'
  on-request-receive: '&9[Duels] &7Duel request received from &f{PLAYER} &7with kit &f{KIT}&7 on arena &f{ARENA}&7. Type &f/duel accept {PLAYER} &7to accept. &e[Expires in 30s]'

  # Displayed when a duel ends.
  # {WINNER} - Winner's name.
  # {LOSER} - Loser's name.
  # {HEALTH} - Winner's health.
  on-duel-end: '&9[Duels] &f{WINNER} &7has defeated &f{LOSER} &7with &d&l{HEALTH} ♥'

  # Displayed when player accepts a duel request.
  # Placeholders:
  # {PLAYER} - Request acceptor's name for 'on-request-accept-target', sender's name for 'on-request-accept-sender'.
  # {KIT} - Name of the kit selected on request send.
  # {ARENA} - 'random' if arena selecting is disabled, selected arena's name if enabled.
  on-request-accept-target: '&9[Duels] &7Accepted duel request from &f{PLAYER}&7. Starting match with kit &f{KIT}&7 on arena &f{ARENA}&7.'
  on-request-accept-sender: '&9[Duels] &7Your duel request to &f{PLAYER} &7was accepted. Starting match with kit &f{KIT}&7 on arena &f{ARENA}&7.'

  # Displayed when player accepts a duel request.
  # Placeholders:
  # {PLAYER} - Request acceptor's name for 'on-request-accept-target', sender's name for 'on-request-accept-sender'.
  on-request-deny-target: '&9[Duels] &7Denied duel request from &f{PLAYER}&7.'
  on-request-deny-sender: '&9[Duels] &7Your duel request to &f{PLAYER} &7was denied.'

  # Displayed when player executes the command /toggle.
  # Placeholders: none
  on-requests-enable: '&a&lOthers may send you duel requests from now on.'
  on-requests-disable: '&c&lOthers may not send you duel requests from now on.'

----------, May 26, 2016

(v1.0.9) Changelog:
- Fixes a bug where players were able to hold an item on their cursor while getting teleported to the arena on duel start. Reported by @ItzProtomPvP, thanks.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 24, 2016

This update requires a re-generation of kits.json.

(v1.0.8) Changelog:

- 1.9 potions and skulls should no longer be a problem with kit saving / loading.
- /duels setItem - New command! Change the displayed item to your held item for Kit Selection GUI! Watch the video below for more information.



If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 7, 2016

(v1.0.7) Changelog:
- Since the previous version didn't patch no hit delay glitch correctly, this version will (hopefully) fix it.

Thanks to @BluueJay once again for all the help.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Apr 26, 2016

If you're not experiencing the issues followed below, there's no need for you to update to this version.

(v1.0.6) Changelog:

- This update attempts to fix two glitches reported by @BluueJay, which are the following:
  • Very rarely, whenever a duel request is accepted, one of the players appear invisible and I have to double vanish them via Essentials for them to appear again in the arena.
  • There is sometimes no hit delay for one of the opponents in a duel, where a player can reach insane clicks per second. I looked into this and it was suggested that it could be to do with a world switch. I moved all the arenas/duel areas to the same world as the /spawn (duel lobby) and it still happens occasionally.
The update will require a config.yml regeneration, and the newly generated config will have a new config section which looks like this:
Code (Text):
# Glitch patches

patcher:
  # This might conflict with Essentials if you duel while vanished. Enable them at your own risk.
  patch-invisible: false
  # This might conflict with those plugins allowing No Hit Delay. Enable them at your own risk.
  patch-no-hit-delay: false
Please read the comments written with the options and enable them at your own risk. Thanks for the report, @BluueJay!


If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Apr 24, 2016

Requires a regeneration of all of your kits. If you're not experiencing the issue followed below, there's no need for you to update to this version.

(v1.0.5) Changelog:

- Since the last update didn't fix it properly, this update should patch the issue that displayed item amount as 0 when loading / saving kits. (I hope ;( )

This update is recommended to anyone having trouble with previous versions.
If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Mar 29, 2016

(v1.0.4) Changelog:
- Patches a scheduler error that will occur when players are in a match when plugin disables. Reported by @EvanIsLame and @TheGrayGorilla, thanks.
- Patches an issue that displayed item amount as 0 when loading / saving kits. Reported by @NodusTheCombo, thanks.

This update is recommended to anyone having trouble with previous versions.
If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Mar 27, 2016

(v1.0.3) Changelog:
- Player inventories are now stored on duel start & will be restored on duel end if 'requires-cleared-inventory' config section is set to 'false'.
- Few changes to make everything run safely even when someone calls the '/reload' command. Reloading while the plugin is functioning is still bad, though!
- Added Essentials '/sethome' command to default disabled commands list.
- Flying while in duel is now prohibited.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Mar 24, 2016

(v1.0.2) Changelog:
- Fixes an issue with arena spawnpoints with servers that has multiverse installed. Special thanks to @UnServiced for helping me in various ways to figure out the issue.
- Added randomized Arena selection, I somehow wrote it in the description when it was never added before.
- General improvements as always.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Mar 22, 2016

A regeneration of kits file is required for this update. Make sure to stop the server first before deleting 'kits.json' file! You'll sadly have to re-create your kits ;(

(v1.0.1) Changelog:

- Patches all issues reported through PM.
- Improved kits saving. With the new methods, kits saved in 'kits.json' will look like this! -> http://pastebin.com/Z8kPTAxp

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Mar 20, 2016

Resource Information
Author:
----------
Total Downloads: 233,729
First Release: Mar 17, 2016
Last Update: Mar 18, 2023
Category: ---------------
All-Time Rating:
292 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings