CosDuels icon

CosDuels -----

Duels is a powerful and optimized 1v1 PvP duel system designed for competitive Minecraft servers.




This update introduces the new CF betting system, allowing players to place bets on active fights in a simple and fast way.

New features:
  • New CF betting system with /duel cf
  • 1v1 bets on active fights
  • Arena and player selection via GUI
  • Amount input through chat
  • Pending bets menu for easy acceptance
  • Automatic refunds if the fight ends or is canceled
  • Limit of one active created bet per player
  • Global announcement when a bet has a winner
  • Improved messages in Spanish and English
  • Visual adjustments and internal improvements to the duel flow
Highlights:
Now, when a CF bet has a winner, the entire server will see a global message indicating:
  • who won the bet
  • which player they supported
  • which arena it took place in
  • how much money they won
Overall system stability and internal handling of arenas, bets, and temporary states have also been improved.

Thanks for continuing to use CosDuels.
----------, Apr 28, 2026

We continue optimizing the experience to ensure fairer fights and a more stable system.


Changes & Improvements:

Spectator Mode Fix
  • Fixed an issue where spectators would get “stuck” in the center of the arena.
  • You must create a region in WorldGuard where your arenas are located.
  • In that region, enable the fly allow flag to prevent spectators from falling into the void.
The duel system automatically disables fly for players in combat, but does not affect spectators, so this setup is safe.

Cross-World Spectate Restriction
  • Players can NO longer use /duels spectate from other worlds.
  • You must be in the same world as the duels to spectate.
This fixes an exploit related to Multiverse-Core where some players could:
  • Switch to survival mode
  • Illegally access the arena
New Command: /duels debug
  • Added a debug command to help identify issues within the duel system.
  • Provides useful information for troubleshooting arenas, players, and configurations.
Important
The duel system still disables fly when manually enabled, so the region configuration remains necessary.

Result:
  • Increased arena security
  • Cross-world exploits removed
  • Improved spectator experience
  • Better debugging and issue tracking tools
----------, Apr 8, 2026

1. Fix for the "Void Effect" When Joining

Problem: Spectators were falling into the void or spawning in awkward positions when starting to spectate.

  • Geographical Center Calculation: The plugin no longer teleports you to a fixed spawn point. It now automatically calculates the exact midpoint between Corner 1 and Corner 2 of the arena.
  • Safety Elevation: 2 blocks of height (+2.0 on Y) have been added to the spawn point so the spectator gets an immediate aerial view and doesn’t spawn “buried” in the ground.
  • Instant Mode Switch: The logic order was modified. The player is now switched to SPECTATOR mode before teleporting. This disables Minecraft’s gravity engine at the exact moment of the zone change, eliminating the “falling” sensation.
2. Movement Lock Fix on Exit
Problem:
When dying or using /duel leave, players appeared in the lobby but couldn’t move (“movement glitch”).

  • Record Cleanup: It was detected that the player was removed from the spectators list but remained in the internal players list. The plugin still thought you were in combat and kept cancelling your movement.
  • Synchronization: Now, when leaving, the player’s data is removed from both lists simultaneously, releasing control from the ArenaListener and allowing normal movement in the lobby.
3. Command Security System
Problem:
Spectators could use commands to teleport away or exploit.

  • Whitelist: A filter was implemented that intercepts all commands. If a player is a spectator, they can only execute /duel leave. Any other command will be canceled with a warning message.
  • Admin Bypass: An exception was added so administrators (with the permission duels.admin) can still use commands while monitoring matches.
4. Protected Statistics Flow
Problem:
There were concerns that the changes might affect win/kill tracking.

  • Validation: It was confirmed that the system saves Kills and Wins at the exact moment of the final hit. The exit system changes occur after the stats.yml file has already been updated, so your statistics are 100% safe.
----------, Apr 3, 2026

We are excited to announce a complete transformation! What you previously knew as Duels has evolved into CosDuels, an optimized, more robust 1v1 dueling system with the features the community has been asking for.

What’s new in this version?

Official Rebranding: CosDuels
We have updated the plugin’s identity. You will now see the name CosDuels — all under the authorship of CristobalColon!

New Spectator System
Want to learn from the best or just watch the action?

  • Command: /duel spectate <arena>
  • Visual Interface: You can now join ongoing matches and watch in spectator mode.
  • Dynamic Messages: The plugin will notify you which arena you’re watching and how to leave it.
Instant Exit (Leave System)
No more waiting! We know sometimes you’re in a hurry to get back to the lobby or just want to end your spectator session.

  • Usage: /duel leave
  • Functionality: If you’re in an active duel, you can leave (it will count as a loss and you’ll drop your items). If you’re a spectator, you’ll be instantly returned to the lobby.
  • No Delays: You no longer have to wait for the “Returning to lobby...” timer after a duel ends.
File Management & Data Persistence
In CosDuels, your data security is a priority. We’ve designed the file structure to ensure your configurations and player progress remain intact, even when updating the plugin to new versions.

Simply make sure to move your arena and stats files when updating or reinstalling the plugin to keep all your progress:

  • arenas.yml: This crucial file stores all your created arenas, including spawn locations, region corners, lobby, and duel types. This file is independent of the main configuration.
    • To preserve your arenas: Copy plugins/CosDuels/arenas.yml to a safe location before a major update or reinstall. Then paste it back into the plugins/CosDuels/ folder and your arenas will load automatically.
  • stats.yml: Contains all player statistics (wins, deaths, kills) and rankings. This file is also completely independent.
    • To preserve stats: Similarly, back up plugins/CosDuels/stats.yml and restore it after updating. Your players’ progress will continue without interruption.
  • data.yml: This file manages general plugin configuration such as prefix, language, and default messages. While it is the main config file, it is designed not to overwrite your arenas or stats.
    • You can safely delete data.yml to regenerate default settings and messages (useful for getting new options in future versions) without affecting arenas.yml or stats.yml.
Full Changelog:

  • Rebranding: Changed from Duels to CosDuels in plugin.yml and internal logic.
  • Command Improvements:
    • Refactored /duel command to support spectate, leave, accept, and deny more efficiently.
    • Smart TabComplete: Automatic suggestions of active arenas when using /duel spectate.
  • Arena Management:
    • Implemented handleLeave to safely manage teleports and inventory cleanup.
    • Improved border protection: Configurable damage if players try to leave the combat area.
  • User Interface (GUI):
    • Optimized DuelGUIListener to reduce memory usage (GC pressure) by caching common buttons.
    • New inventory holders for smoother navigation.
  • Statistics & Performance:
    • Asynchronous caching for Tops (Kills/Wins/Deaths) to prevent lag on the main thread.
    • Atomic file saving to prevent data corruption in data.yml and arenas.yml.
  • Multilingual Support: Updated messages in Spanish and English for all new spectator and leave features.
Updated Commands:

  • /duel spectate <arena> — Watch a match.
  • /duel leave — Leave the duel or spectator mode.
Thank you for trusting CosDuels! We’ll keep working to bring you the best 1v1 combat experience in Minecraft.
----------, Apr 2, 2026

Hello everyone! Duels v1.4 is here, focused on improving server stability, performance, and internal systems to provide a smoother gameplay experience.

⚙️ Performance and Stability Improvements
Improved Server Stability
Fixed a critical issue that could, in rare cases, corrupt data files. The save system is now 100% safe and reliable.

Memory Leak Prevention
Player data management has been optimized to prevent unnecessary memory usage over long periods, making it ideal for 24/7 servers.

Safer Reload System
The /duels reload command is now much more robust, preventing errors and “ghost duels” after reloading the configuration.

Main Thread Optimization
Heavy tasks such as arena regeneration and statistics calculations are now processed asynchronously, reducing lag spikes on the server.

Code Cleanup
The integration with the Ultimate Clan plugin has been removed to improve overall performance and compatibility.

Thank you for your support, and enjoy the duels! ⚔️
----------, Mar 13, 2026

Hello everyone! Duels v1.4 is here, focused on improving server stability, performance, and internal systems to provide a smoother gameplay experience.
⚙️ Performance and Stability Improvements
Improved Server Stability
Fixed a critical issue that could, in rare cases, corrupt data files. The save system is now 100% safe and reliable.

Memory Leak Prevention
Player data management has been optimized to prevent unnecessary memory usage over long periods, making it ideal for 24/7 servers.

Safer Reload System
The /duels reload command is now much more robust, preventing errors and “ghost duels” after reloading the configuration.

Main Thread Optimization
Heavy tasks such as arena regeneration and statistics calculations are now processed asynchronously, reducing lag spikes on the server.

Code Cleanup
The integration with the Ultimate Clan plugin has been removed to improve overall performance and compatibility.

Thank you for your support, and enjoy the duels! ⚔️
----------, Mar 13, 2026

Hello everyone! This update focuses on optimizing performance and providing more configuration options for server administrators.

Performance Improvements
  • Update Checker Optimization:
    The update-checking system has been adjusted to run only once when the server starts, reducing unnecessary load and improving overall efficiency.
New Configuration Options
  • New settings in data.yml:
    • settings.border-damage – Customize the amount of damage players receive when leaving the arena border.

    • settings.disabled-item-cooldown – Configure the cooldown time for the "disabled item" message.
Code Cleanup
  • Internal Code Refactoring:
    General source code cleanup has been performed to improve readability and prepare the project for future updates.
Compatibility
  • Added support for Minecraft 1.21.11
If you have any feedback or suggestions, feel free to share them!
----------, Mar 4, 2026

Changelog:

  • ✅Update Checker: Added an automatic update checker to notify OPs when a new version is available.

  • ✅New Command: Added /duels lang <es|en> to switch languages instantly without editing files.

  • ✅Optimization: Major performance improvements! Optimized listeners and async stats calculation to reduce lag.

  • ✅Fixes: Fixed memory leaks and minor bugs for a smoother experience.
----------, Feb 27, 2026

Changelog:

  • Update Checker: Added an automatic update checker to notify OPs when a new version is available.
  • New Command: Added /duels lang <es|en> to switch languages instantly without editing files.
  • Optimization: Major performance improvements! Optimized listeners and async stats calculation to reduce lag.
  • Fixes: Fixed memory leaks and minor bugs for a smoother experience.
----------, Feb 27, 2026

Resource Information
Author:
----------
Total Downloads: 113
First Release: Feb 25, 2026
Last Update: Apr 28, 2026
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings