CommandDelay (命令延迟-为命令添加延迟和成本)
根据提供的信息,CommandDelay是一个命令叠加插件,它允许你为任何命令添加延迟和成本。
功能:
- 支持所有命令和所有插件
- 完整的音效效果
- 轻量级
- 完全可配置
- 为每个命令添加成本
- 为每个命令添加延迟
配置:
插件依赖于Vault(经济和权限插件)和Java 8。
以下是插件的默认配置:
CommandDelay config.yml
#=====-----=====-----=====-----[ Categories ]-----=====-----=====-----=====#
Each category must have a unique identifier. For example: essentials or factions.
Each category has separate delay, list of blacklisted worlds, cost, and commands.
If blacklist:false, the worlds list is treated as a whitelist.
For example, the Essentials commands below have 5 second delay and cost of 0,
except in the listed worlds.
To avoid exploits, list the commands with and without plugin prefaces.
category:
essentials:
delay: 5
cost: 0
blacklist: true
worlds:
- "world"
commands:
- "essentials:back"
- "essentials:home"
- "essentials:jump"
- "essentials:spawn"
- "essentials:top"
- "essentials:tpa"
- "essentials:tpaall"
- "essentials:tphere"
- "essentials:tpo"
- "essentials:tpohere"
- "essentials:tppos"
- "essentials:warp"
- "essentials:world"
- "back"
- "home"
- "jump"
- "spawn"
- "top"
- "tpa"
- "tpaall"
- "tphere"
- "tpo"
- "tpohere"
- "tppos"
- "warp"
- "world"
#=====-----=====-----=====-----[ Command Cancel ]-----=====-----=====-----=====#
The delayed command will be cancelled if the player executes one of the actions
listed here, if the delay_cancel_action is set to true.
delay_cancel_interact: true
delay_cancel_move: true
delay_cancel_jump: false
delay_cancel_damage: true
delay_cancel_damaged: true
delay_cancel_break: true
delay_cancel_place: true
delay_cancel_chat: true
delay_cancel_command: true
#=====-----=====-----=====-----[ TitleBar Messages ]-----=====-----=====-----====#
message_titlebar_enabled: true
message_titlebar_delaying: "{themecolor}Preparing..."
message_titlebar_delaying_subtitle: "&ePlease Stay For &6{left} &eSecond"
message_titlebar_delaying_canceled: "{themecolor}&lCommand /{cmd} Aborted"
message_titlebar_delaying_canceled_subtitle: "{flatcolor}Please Don't Do Anything"
message_titlebar_dispatched: "{themecolor}&lCommand /{cmd} Success"
message_titlebar_dispatched_subtitle: "&6Enjoy Your Day &f{player}"
#=====-----=====-----=====-----[ ActionBar Messages ]-----=====-----=====-----====#
message_actionbar_enabled: true
message_actionbar_cooldown: "{themecolor}{left} Seconds Left to Command"
message_actionbar_dispatched: "&lThank's For Playing On This Server"
message_actionbar_reverse: true
message_actionbar_symbol: "���"
#The style of bar Fill
#====......(剩下部分忽略)......====
权限:
- commanddelay.reload: 重新加载插件
- commanddelay.bypass.*: 跳过延迟和成本
注意事项:
- 插件依赖于Vault和Java 8
- 为了避免滥用,必须以及不带插件前缀的命令列表
希望这能够帮助您对CommandDelay插件有更深入的了解。
收录