This is a PlaceholderAPI expansion that allows you to display your cooldown in a fancy bar using the symbols of your choice!
The expansion provides two placeholder that can be customized with additional values/options. If a option provides a invalid value, then the default one set in the config.yml of PlaceholderAPI is used.
Requires: A placeholder that returns a number (The time in seconds) OR
Xd,Xh,Xm,Xs. Available placeholders
Example:%cooldownbar_{essentials_kit_time_until_available_tools}%
Requires:
TEXT
Default (Config option):&a|(passed)
Example:%cooldownbar_{essentials_kit_time_until_available_tools}_p:&a■%
Sets the symbol/text that is used for already passed time.
Requires:
TEXT
Default (Config option):&7|(remaining)
Example:%cooldownbar_{essentials_kit_time_until_available_tools}_r:&7■%
Sets the symbol/text that is used for the remaining time.
Requires:
NUMBER
Default (Config option):10(length)
Example:%cooldownbar_{essentials_kit_time_until_available_tools}_l:5%
Sets the maximum length of the cooldown bar. This also affects the bar itself.
Requires:
NUMBERORDURATION(Xd,Xh,Xm,Xs)
Default (Config option):100(cooldown)
Example:%cooldownbar_{essentials_kit_time_until_available_tools}_c:10%
Sets the main cooldown (cooldown at the beginning). This affects the bar itself.
Requires:
TEXT
Default (Config option):&aReady!(ready)
Example:%cooldownbar_{essentials_kit_time_until_available_tools}_rdy:&aClaim now!%
Sets the text that is shown when the cooldown has passed out (reached the set cooldown value c:).
Requires: A placeholder that returns a number (The time in seconds) OR
Xd,Xh,Xm,Xs. Available placeholders
Example:%cooldownbar_percentage_{essentials_kit_time_until_available_tools}%
Requires:
NUMBERORDURATION(Xd,Xh,Xm,Xs)
Default (Config option):100(cooldown)
Example:%cooldownbar_percentage_{essentials_kit_time_until_available_tools}_c:10%
Sets the main cooldown (cooldown at the beginning). This affects the percentage itself.
Requires:
NUMBER
Default (Config option):2(decimal)
Example:%cooldownbar_percentage_{essentials_kit_time_until_available_tools}_d:0%
Sets the amount of decimals that will be shown. For example, with d:3 if the percentage is 50 it will return 50.000
You can download this expansion automatically using PAPI download commands:
/papi ecloud download CooldownBar /papi reload
Or you can download it manaually from the eCloud and then put it in the expansions folder (Path: /plugins/PlaceholderAPI/expansions/)