Resource icon

Side Plugin PK-Support 1.1.1

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
Code:
notValidBendingPlayer: '&cNot Valid Player'
notValidSlot: '&cInvalid Slot'
notSet: '&7slot &e%slot%&7 is empty' 
cooldownPrefix: '&m'
notValidParams: '&cNot Valid Params &e%params%'

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.


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.


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%'
4022


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%"
4024


if I have mistake in english sorry for that :p
Author
kingOf0
Downloads
17
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. Skript Support

    Added skript support. Changed plugin name to 'PK-Support' from 'PK-PAPI'

Latest reviews

Amazing! Please make placeholder and skript support for player's bending
Top