CommandCooldown 指令冷却 | |
---|---|
![]() |
简单的命令冷却插件,具有自定义权限。 |
作 者 | Falistos |
发布时间 | 2015年4月2日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.7,1.8,1.9,1.10 |
插件详细介绍
CommandCooldown 插件允许你为每个命令设置单独的冷却时间。它简单易用,轻量级,并提供了全局冷却、冷却权限以及关联命令等功能,同时还支持自定义消息。
commandcooldown.bypass
: 绕过冷却时间(默认: false)commandcooldown.permission.<name>
: 设置与默认不同的冷却时间(参见 config.yml)commandcooldown.reload
: 允许重载插件(默认: op)/commandcooldown reload
: 重载配置
# +-----------------------------------------------------+ #
# | CommandCooldown by SirBlobman | #
# +-----------------------------------------------------+ #
# | | #
# | CONFIGURATION | #
# | | #
# +-----------------------------------------------------+ #
# Should the plugin check for updates on startup?
update-check: true
# Default cooldown in seconds
default-cooldown: 5
# Cooldown bypass permission
bypass-permission: "commandcooldown.bypass"
# Message when you bypass a cooldown
bypass-message: "&aYou bypassed the cooldown!"
# Command cooldowns
# Command:
# cooldown: cooldown in seconds
# linked-commands: commands that share the same cooldown
# permission: permission required to have the cooldown
commands:
heal:
cooldown: 10
linked-commands:
- "feed"
- "god"
permission: "commandcooldown.heal"
# Global cooldown
# Useful to prevent spam
global-cooldown:
enabled: false
cooldown: 2
bypass-permission: "commandcooldown.bypass.global"
message: "&cYou must wait {time} seconds before using another command!"
# Message settings
messages:
cooldown: "&cYou must wait {time} seconds before using this command again!"
no-permission: "&cYou don't have permission to use this command!"
# Other settings
settings:
# Should the cooldown timer be reset on death?
reset-on-death: false