Command Cooldown (指令冷却-允许对任何指令进行冷却)
该插件允许服务器操作员对任何指令进行冷却设置。
功能:
- 为任何指令进行自定义冷却时间设置
- 支持小时/分钟/秒的时间格式
- 在config.yml中自定义消息
- 允许使用命令而无需进入config.yml
- 列出所有设置了冷却的指令的命令
- 可以为指令设置别名
- 智能添加和删除指令,提供逐步提示
- bStats跟踪
- 自动更新检查
- 能够为带参数的指令添加冷却,例如/warp home
- 使用/cooldowns检查冷却剩余时间
- 时间格式美观,包括天、小时、分钟和秒
- 允许管理员跳过冷却
- 为特定指令跳过冷却的权限控制,如commandcooldown.bypass.command_here
- 通过权限为不同用户/组添加冷却,例如:commandcooldown.warp_home.30代表/warp home命令有30秒冷却时间
- 自定义消息
配置:
config.yml
yaml
checkUpdates: true # 如果启用,插件启用时将检查可用更新
sendBypassMessage: true # 当玩家绕过冷却时通知玩家
cooldowns.yml
yaml
warp:
cooldowns:
'*': 30m
shop: 15m
vip: 30s
aliases:
- 'ewarp'
messages.yml
yaml
bypassCooldown: '&eBypassing cooldowns'
noLongerBypassing: '&eNo longer bypassing cooldowns'
onCooldown: '&cYou still have &e%time% &cleft on that command'
reload: "&eReloading all configs"
errors:
noPermission: '&cYou do not have the permission &e%perm%'
onlyPlayers: '&cOnly players can use that command!'
baseMessage:
- '&a&lCommand Cooldown%version%'
- ' &7\/cc help'
helpHeader: '&a&lHelp Page &f%page%&7\/&f%pageAmount%'
commands:
editor: '&a\/cc editor &7- Opens up the cooldown editor'
reload: '&a\/cc reload &7- Reloads all configs'
bypass: '&a\/cc bypass &7 - Bypass all cooldowns'
其他:
- 可能会加入GUI config.yml编辑器
- 支持意见建议
支持:
- 查看wiki [HERE!](
Command Cooldown (指令冷却-允许对任何指令进行冷却)
可用版本为:|1.7|1.8|1.9|1.10|1.11|1.12|1.13|1.14|1.15|1.16|1.17
.containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}
收录