MagicBows Wiki
  • 🏹MagicBows Wiki
  • Configuration
    • 🛠️How to install MagicBows
      • 📝Configuration of Config.yml
    • 🏹Bows Configuration
      • 🔧Basics Options
      • 🚩Bow Flags
      • ⚙️Custom options
        • 🎭Teleport
        • ⏱️Cooldown
        • 🎶Sounds and Particles
        • 🤯Explosion
        • 🏠Generate Blocks
    • 🔓Permissions
  • Support
    • 🛠️Support Discord
Powered by GitBook
On this page
  1. Configuration
  2. 🏹Bows Configuration
  3. ⚙️Custom options

⏱️Cooldown

Add custom cooldowns for each bow, set time (in seconds), cooldown message.

PreviousTeleportNextSounds and Particles

Last updated 2 years ago

CtrlK
Enable the cooldowns

To activate the cooldown requires 2 options, you have to add: "use-cooldown" to true and "cooldown" with the desired time (time in seconds).

bows:
  cooldown-bow:
    display-name: "&b&lCooldown Bow!"
    lore:
      - "&7Made with <3 by josielcm#8990"
    use-cooldown: true # Default true
    cooldown: 3 # Time in seconds
Cooldown message

To add a custom cooldown message you can use the option: "cooldown-message", if you wish you can use the variable "timeleft" to give the remaining time to use the bow again.

bows:
  cooldown-bow:
    display-name: "&b&lCooldown Bow!"
    lore:
      - "&7Made with <3 by josielcm#8990"
    use-cooldown: true # Default true
    cooldown: 3 # Time in seconds
    cooldown-message: "&5Magic Bows &7: &7You must wait &6%timeleft% &7seconds before using this bow again."