# Format:
# <name>: <value>
#
# Example:
# simple-cooldown: 100
simple-cooldown: 100
cooldown-10000: 10000
cooldown-999: 999
- Keyword:
advanced-cooldown
- Value Type:
String
- Final Value:
String
(name fromconfig.yml
) - Default Take:
true
(start the cooldown) - Examples
advanced-cooldown: "simple-cooldown" # from config.yml
advanced-cooldown: "cooldown-10000" # from config.yml
advanced_cooldown_<name>
advanced_cooldown_<name>_s
oradvanced_cooldown_<name>_seconds
advanced_cooldown_<name>_m
oradvanced_cooldown_<name>_minutes
advanced_cooldown_<name>_h
oradvanced_cooldown_<name>_hours
advanced_cooldown_<name>_format_<time-format>
- Example Format:
advanced_cooldown_<name>_format_HH:mm:ss
- Example Format:
advanced-cooldown:
slot: 12
id: clock
name: "&cAdvanced Cooldown"
command:
- "tell: &aHello"
click-requirement:
left:
test:
advanced-cooldown: "simple-cooldown"
fail-command:
- "tell: &cYou need to wait {advanced_cooldown_simple-cooldown_s} seconds"
right:
test:
advanced-cooldown: "cooldown-10000"
fail-command:
- "tell: &cYou need to wait {advanced_cooldown_cooldown-10000_s} seconds"
middle:
test:
advanced-cooldown: "cooldown-999"
fail-command:
- "tell: &cYou need to wait {advanced_cooldown_cooldown-999_s} seconds"
character | duration element |
---|---|
y | years |
M | months |
d | days |
H | hours |
m | minutes |
s | seconds |
S | milliseconds |
- Example:
HH:mm:ss
: show hours, minutes and secondsYY:MM:dd HH:mm:ss
: show years, months, days, hours, minutes and seconds