ScratchIt
🇨🇳 简体中文
🇨🇳 简体中文
  • 👋🏻欢迎使用
  • ⚙️首次安装
  • 📄在线编辑器
  • 📖配置文件
    • 权限
    • 卡片
      • 如何创建一个新卡片
      • 图标位置
      • 动作
      • 冷却
      • 取消使用
    • 战利品
    • 卡片示例图片
  • 兼容的插件
    • WorldGuard
  • 兼容的Minecraft版本
  • 📒获得支持
    • 🐞反馈Bug
    • 📕获取帮助
  • 开发者
    • ☕️Java API
      • Basic API
      • 自定义卡片渲染器
Powered by GitBook
On this page
  • Per-card usage cooldown
  • Example:
  • Global cards cooldown

Was this helpful?

  1. 📖配置文件
  2. 卡片

冷却

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
Previous动作Next取消使用

Last updated 4 years ago

Was this helpful?