ScratchIt
English
English
  • 👋🏻Welcome
  • ⚙️First install
  • 📄Online Config Editor
  • 📖Configurations
    • Permissions
    • Card
      • How to create a card
      • Icons locations
      • Animations
      • Cooldowns
      • Cancel usage
    • Loots
    • Cards example images
  • Compatibility with other plugins
    • WorldGuard
  • Minecraft versions compatibility
  • 📒Support
    • 🐞Report a bug
    • 📕Ask for help
  • Developers
    • ☕️Java API
      • Basic API
      • CustomCardRenderer
Powered by GitBook
On this page
  • Per-card usage cooldown
  • Example:
  • Global cards cooldown

Was this helpful?

  1. 📖Configurations
  2. Card

Cooldowns

Per-card usage cooldown

You can set an usage cooldown separated for each card using the usage_cooldown_ticks attribute.

Example:

scratch_card:
    id: example
  permissions:
    show_in_list_gui: new_card.example
    use: new_card.example
  name: "example"
  usage_cooldown_ticks: 60

Global cards cooldown

You can edit this in config.yml

cards:
  usage_cooldown_ticks: 20
PreviousAnimationsNextCancel usage

Last updated 4 years ago

Was this helpful?