1
mirror of https://github.com/CarmJos/ScriptItems synced 2026-07-15 07:21:23 +08:00

添加冷却时间配置

This commit is contained in:
2022-03-12 05:20:07 +08:00
parent d21c133654
commit 6a7234a85d
4 changed files with 44 additions and 4 deletions
+8
View File
@@ -15,6 +15,14 @@ metrics: true
# 检查更新为异步操作,绝不会影响性能与使用体验。
check-update: true
# 物品使用冷却,避免短时间重复使用物品,也避免网络延迟而导致物品被错误使用而对玩家造成的损失。
# 强烈建议开启,且建议设置为 2000毫秒 以上。(1s = 1000ms)
cooldown:
#是否启用冷却功能
enable: true
# 冷却的事件,单位为毫秒 1秒 = 1000毫秒 = 20ticks
time: 3000
log-storage:
# 是否启用日志记录存储
# 可用于追踪物品的发放、领取情况与执行记录。