CooldownsX 冷却时间X

作者:SirBlobman 发布时间:2017年6月8日 原生版本:未知 测试支持:未知

一个插件,可以为物品添加可配置的冷却时间。

点此下载

插件详细介绍

⏱️ CooldownsX 插件

CooldownsX 是一款为物品添加可配置冷却时间的插件。它支持物品和方块点击冷却、药水效果冷却、不死图腾冷却,以及数据包冷却显示(1.9+)。你可以自定义冷却时间、消息、动作栏和绕过权限。

⚙️ 依赖

  • BlueSlimeCore

✨ 功能特性

  • 物品和方块点击冷却
  • 药水效果冷却
  • 不死图腾冷却
  • 数据包冷却显示 (1.9+)
  • 可配置的冷却时间、消息、动作栏和绕过权限
  • 游戏内重载配置文件命令

🔨 命令

  • /cooldownsx reload - 重载配置文件

🔑 权限

  • cooldownsx.reload - 允许重载配置文件
  • cooldownsx.bypass - 绕过所有冷却时间
  • cooldownsx.bypass.item - 绕过物品冷却时间
  • cooldownsx.bypass.potion - 绕过药水效果冷却时间
  • cooldownsx.bypass.totem - 绕过不死图腾冷却时间

📝 配置示例

config.yml


# +-------------------------------------------------------------------+ #
# |  with <3 by SirBlobman | #
# +-------------------------------------------------------------------+ #
# | Join my Discord Server for support: | #
# | https://discord.gg/XQwZ4vA | #
# +-------------------------------------------------------------------+ #

# Delay in ticks before the plugin does anything
# This helps with server startup and other plugins
plugin:
  delay: 20

# Should the plugin check for updates?
# This requires the plugin to connect to the internet.
update-checker: true

# All messages in the plugin
# Use {player} to show the player's name
# Use {cooldown} to show the cooldown in seconds
messages:
  prefix: "&7[&bCooldownsX&7] &r"
  reloaded: "&a重载完成!"
  cooldown: "&c请等待 {cooldown} 秒后再次使用."
  no-permission: "&c你没有权限这样做."

# Cooldown settings for items
items:
  ender_pearl:
    material: ENDER_PEARL
    cooldown: 10
    message: "&c你仍然感到头晕!"
    action-bar: true
    bypass-permission: "cooldownsx.bypass.item.ender_pearl"
  golden_apple:
    material: GOLDEN_APPLE
    cooldown: 30
    message: "&6你感觉很饱."
    action-bar: false
    bypass-permission: "cooldownsx.bypass.item.golden_apple"
    cancel: true #是否取消事件
   Experience_Bottle:
    material: EXPERIENCE_BOTTLE
    cooldown: 2
    message: "&6你还需要更多的经验."
    action-bar: false
    cancel: false #是否取消事件

# Potion effect cooldown settings
potions:
  speed:
    type: SPEED
    level: 1
    cooldown: 5
    message: "&c你的速度已经够快了!"
    action-bar: true
    bypass-permission: "cooldownsx.bypass.potion.speed"

# Totem of undying cooldown settings
totem:
  cooldown: 60
  message: "&c不死图腾正在冷却中!"
  action-bar: true
  bypass-permission: "cooldownsx.bypass.totem"