Very simple plugin. It provides some expansion for plugins compatible with placeholderapi. Its my first plugin with ProjectKorra api. Tested on 1.13.2 an PK 1.8.8
If you have any issues or suggestions message here or pm me on discord kingOf0!#4055
Default config
Expansions
Cooldown Status
%pk_status_<slot>% - returns status of ability on given slot. if cooling down, will return cooldownPrefix("&m"). else ""
Name
%pk_name_<slot>% - returns name of ability on given slot.
Remaining Cooldown
%pk_cooldown_<slot>_<type>% - returns cooldown of ability on given slot. currently supoorted types: tick, ms, second.
Choosen Element
%pk_elementName_<id>% - returns player's <id>th element's name.
%pk_elementPrefix_<id>% - returns player's <id>th element's prefix.
Skript Support
Cooldown Status
%ability status of <player> of <number> slot% - returns status of ability on given slot. if cooling down, will return cooldownPrefix("&m"). else ""
Name
%ability name of <player> of <number> slot% - returns name of ability on given slot.
Remaining Cooldown
%ability cooldown of player of <number> slot in <type>% - returns cooldown of ability on given slot. currently supoorted types: tick, ms, second.
Choosen Element
%element name of %player% of %number% element% - returns player's <id>th element's name.
%element prefix of %player% of %number% element% - returns player's <id>th element's prefix.
Examples
Bender Board
Skript Test Command
if I have mistake in english sorry for that
If you have any issues or suggestions message here or pm me on discord kingOf0!#4055
Default config
Code:
notValidBendingPlayer: '&cNot Valid Player'
notValidSlot: '&cInvalid Slot'
notSet: '&7slot &e%slot%&7 is empty'
cooldownPrefix: '&m'
notValidParams: '&cNot Valid Params &e%params%'
haventElement: '&cNot choosen any element'
lengthLimit: 10
debug: false
Expansions
Cooldown Status
%pk_status_<slot>% - returns status of ability on given slot. if cooling down, will return cooldownPrefix("&m"). else ""
Name
%pk_name_<slot>% - returns name of ability on given slot.
Remaining Cooldown
%pk_cooldown_<slot>_<type>% - returns cooldown of ability on given slot. currently supoorted types: tick, ms, second.
Choosen Element
%pk_elementName_<id>% - returns player's <id>th element's name.
%pk_elementPrefix_<id>% - returns player's <id>th element's prefix.
Skript Support
Cooldown Status
%ability status of <player> of <number> slot% - returns status of ability on given slot. if cooling down, will return cooldownPrefix("&m"). else ""
Name
%ability name of <player> of <number> slot% - returns name of ability on given slot.
Remaining Cooldown
%ability cooldown of player of <number> slot in <type>% - returns cooldown of ability on given slot. currently supoorted types: tick, ms, second.
Choosen Element
%element name of %player% of %number% element% - returns player's <id>th element's name.
%element prefix of %player% of %number% element% - returns player's <id>th element's prefix.
Examples
Bender Board
Code:
- '§e%pk_status_1%%pk_name_1% §8%pk_cooldown_1_tick%'
- '§e%pk_status_2%%pk_name_2% §8%pk_cooldown_2_tick%'
- '§e%pk_status_3%%pk_name_3% §8%pk_cooldown_3_tick%'
- '§e%pk_status_4%%pk_name_4% §8%pk_cooldown_4_tick%'
- '§e%pk_status_5%%pk_name_5% §8%pk_cooldown_5_tick%'
- '§e%pk_status_6%%pk_name_6% §8%pk_cooldown_6_tick%'
- '§e%pk_status_7%%pk_name_7% §8%pk_cooldown_7_tick%'
- '§e%pk_status_8%%pk_name_8% §8%pk_cooldown_8_tick%'
Skript Test Command
Code:
command /test <int>:
trigger:
send "§aTick §e%ability status of player of arg-1 slot%%ability name of player of arg-1 slot% %ability cooldown of player of arg-1 slot in tick%"
send "§aSecond: §e%ability status of player of arg-1 slot%%ability name of player of arg-1 slot% %ability cooldown of player of arg-1 slot in second%"
send "§aMs: §e%ability status of player of arg-1 slot%%ability name of player of arg-1 slot% %ability cooldown of player of arg-1 slot in ms%"
if I have mistake in english sorry for that