Version 1.3 - The Gameplay & Stability Update
This update brings a massive overhaul to the gameplay experience and server administration, introducing dynamic new features and crucial stability improvements.
Combat Logging & Fair Play
- Combat Log Penalties: To ensure fair play, players who quit during an "Own Inventory" duel will now have their entire inventory dropped on the ground. Their character's inventory is cleared to prevent item duplication, and they receive a configurable temporary ban.
- Countdown Protection: Quitting during the pre-duel countdown is now also treated as combat logging, preventing players from dodging a match. The remaining player is declared the winner, and the quitter is penalized.
Dynamic Arena Borders
- Shrinking Borders: Bring a battle-royale feel to your duels! Arenas can now have a WorldBorder that shrinks after a configurable amount of time, forcing action and preventing camping.
- Fully Configurable: You have full control. Set the initial static duration, the final size of the border (e.g., 5x5), the shrink duration, the damage multiplier, and a "damage buffer" distance for progressive damage.
- Per-Arena Control: Easily enable or disable the border for specific arenas using the /dd arenaborder <on|off> <arena> command.
Enhanced Player Experience
- Queue Music: Keep players engaged with configurable waiting music (e.g., C418 - Cat) while they are in a duel queue.
- Winning Music: Celebrate victories with a configurable sound effect that plays for the winner at the end of a match.
- Duel Toggle: Players can now use /dueltoggle to disable incoming duel requests, giving them more control over their gameplay.
- Command Restrictions: Players in a queue or active duel are prevented from using conflicting commands (like /home or /spawn), ensuring they cannot accidentally bug out of a match. The only exception is /duel deny to safely leave a queue.
Server Automation & Customization
- Automated Actions: Execute custom console commands at different stages of a duel: on-queue-join, on-match-found, and on-duel-end. Use placeholders like %player%, %winner%, and %loser% to create rewards, announcements, and more!
- Queue Broadcasts: Announce to the entire server when a player joins a specific duel queue, configurable in config.yml.
- Default "Own Inventory" Mode: Configure the server so the /duel command instantly queues players for an "Own Inventory" match, streamlining the process and bypassing the GUI.
Admin & Maintenance
- Automatic Update Checker: Admins with permission will be automatically notified upon joining if a new version of the plugin is available on SpigotMC, complete with a clickable download link in chat.
Major Bug Fixes & Stability
- Reliable Teleportation: The teleportation system at the end of duels has been completely overhauled to be robust and bypass conflicts with other plugins, ensuring players are never left stuck in an arena.
- Guaranteed Item Drops: The "Own Inventory" death and quit mechanics have been rebuilt to be extremely reliable, ensuring items are always dropped correctly.