Lunge Cooldown

Stop Lunge spamming with per-level cooldowns.

494

Lunge Cooldown

Adds configurable cooldowns to the Lunge enchantment for Paper 1.21.11

Without the cooldown, the player can just keep dashing across the battlefield using the Lunge skill. It would make the fight and escape trivially easy. This plugin blocks the lunge dash when the player is on cooldown – not just the damage from the lunge.

Features: - Per-level cooldowns for Lunge I, II and III - Configurable cooldown durations (seconds, minutes, hours) - Customizable cooldown message and sound - Live config reload via `/lungecooldown reload`

Default config.yml: > ```yaml > # LungeCooldown Configuration ># Format: <number><unit> -> 30s | 5m | 1h | 0 (disabled) > >cooldowns: > lunge-1: 10s > lunge-2: 20s > lunge-3: 30s > ># How to display the cooldown to the player. ># Options: ># HOTBAR - Shows a live countdown above the hotbar (default) ># CHAT - Shows remaining time in chat when you try to lunge, sends a message when ready ># BOSSBAR - Shows a live countdown bar at the top of the screen >display-mode: HOTBAR > ># Message shown when cooldown is active. Use %time% for remaining time. >cooldown-message: "&cLunge on cooldown! &e%time% &cremaining." > ># Message shown when the cooldown expires and lunge is ready again. >ready-message: "&aLunge is ready!" > ># Play a sound when a player tries to lunge while on cooldown? >play-sound: true > ># Sound to play on cooldown. ># Full list of valid sounds: https://jd.papermc.io/paper/1.21.1/org/bukkit/Sound.html >cooldown-sound: ENTITY_VILLAGER_NO > ```

ADS