• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server
Resource icon

Side Plugin PK-Support 1.15

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%'
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%'
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
2,872
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. Bugs Fixed

    a very basic mistake fixed. Looks like I forget to update plugin.yml.
  2. Soft Dependency Modifications

    * PKSupport will be compiled with latest versions which is at their gradle repositories of papi...
  3. Choosen Element Name & Prefix Support

    Skript [the] element name of %player% of %number% element [the] element prefix of %player% of...

Latest reviews

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