Darrionat Plugins
  • Welcome
  • Plugins
    • Bans+
      • Commands & Permissions
      • Configuration Files
      • GUIs
      • MySQL
      • Trivia
    • Command Cooldown
      • Commands & Permissions
      • Configuration Files
        • cooldowns.yml
        • config.yml
        • messages.yml
      • MySQL
      • Trivia
    • Custom Enchants+
      • API
      • Commands & Permissions
      • Configuration Files
        • config.yml
        • enchants.yml
        • lores.yml
        • messages.yml
      • Custom Blocks
      • Dependencies
      • Enchantments
      • GUIs
      • Scrolls
      • Wands
      • Trivia
    • PrisonPick
      • Autosell
      • Commands & Permissions
      • Configuration Files
        • autosell.yml
        • config.yml
        • enchants.yml
        • messages.yml
      • Dependencies
      • Enchantments
      • GUIs
      • Inventory Management
      • Placeholders
      • Saving Data
  • Libraries
    • PluginLib
      • Creating Your Plugin
      • Commands
      • Configs
      • ErrorHandler
      • Gui
  • Discord Bot
    • SpigotMC Bot
      • Commands
  • Links
    • Discord
    • GitHub
    • SpigotMC
  • Support Me
    • Patreon
Powered by GitBook
On this page

Was this helpful?

  1. Plugins
  2. Command Cooldown
  3. Configuration Files

cooldowns.yml

Default for example

# The label (base) of the command
tpa:
  # Where the cooldowns are defined
  cooldowns:
    # This * symbol must be here! This is the base cooldown for the entire command.
    # Set this cooldown to 0 if you only want cooldowns on certain arguments
    *: 60
    # These are the arguments
    Notch: 30
    Darrionat: 30
  # Aliases are labels that can also trigger the cooldown. I.g. /factions and /f
  aliases:
    - etpa
    - tpahere
repair:
  cooldowns:
    *: 30
    hand: 20
    abc *: 50
    abc d: 40
  aliases:
    - repairs
PreviousConfiguration FilesNextconfig.yml

Last updated 8 months ago

Was this helpful?