HomeJavaModsParkour Expansion
Parkour Expansion
Parkour Expansion
This is a placeholder expansion pack for A5H73Y's Parkour plugin and is used in conjunction with PlaceholderAPI.

Note that Parkour v6.0, and later versions, include all of these placeholders and more, built-in to the plugin.
Therefore, this expansion pack is only required if you have the outdated Parkour v5.3 or earlier.

Recommended versions for Parkour Expansion 2.0:
Parkour 5.3
PlaceholderAPI 2.10.4

To use Parkour's built-in placeholders set the following in its config.yml
Code (YAML):
Other:
   PlaceholderAPI
:
     Enabled
: true

Set the above to 'false', if you want to use this expansion pack.


To use this expansion, drop the Expansion-Parkour.jar into your " plugins/placeholderapi/expansions" folder and run " /papi reload".

The latest version can now also be downloaded directly in-game using " /papi ecloud download Parkour".


List of Parkour placeholders:

Code (Text):
%parkour_last_played%                   : course last played by player
%parkour_last_completed%                : course last completed by player
%parkour_level%                         : player's Parkour level
%parkour_rank%                          : player's Parkour rank
%parkour_parkoins%                      : number of Parkoins player has won
%parkour_course_record_<course>%        : best time set for course
%parkour_course_record_deaths_<course>% : death count of best time set for course
%parkour_personal_best_<course>%        : player's personal best time for course
%parkour_personal_best_deaths_<course>% : player's death count of personal best time for course
%parkour_leader_<course>%               : player with best time for course
%parkour_current_course%                : course currently being played
%parkour_current_course_record%         : best time for current course
%parkour_current_course_record_deaths%  : death count of best time for current course
%parkour_current_personal_best%         : player's best time on current course
%parkour_current_personal_best_deaths%  : player's death count of best time on current course
%parkour_current_course_leader%         : player with best time on current course
%parkour_current_course_timer%          : elapsed time on current course (Parkour v5.0+)
%parkour_current_course_deaths%         : number of deaths while playing current course
%parkour_course_count%                  : number of parkour courses on server
%parkour_courses_completed%             : number of unique courses completed by player
%parkour_player_count%                  : number of players currently playing parkour
%parkour_version%                       : version of Parkour currently on server
%parkour_topten_<course>_<position>%    : leaderboard position in top ten (position=1-10)
%parkour_toptenxcc_<course>_<position>% : top ten positions with colour codes
%parkour_course_prize_delay_<course>%   : player's remaining cooldown period for course
%parkour_course_global_completions_<course>%   : total number of times the course has been completed

Examples

To use the placeholders with Holographic Displays
:

The best way to do this is to use Holgraphic Displays together with the Holographic Extension plugin. Tested and working with version1.10.6 of Holgraphic Extension. You also need to download ProtocolLib if you don't already have it.

For example, you can create a hologram from a placeholder for the best time on Parkour course pk1, with a refresh time of 5 seconds, by using placeholder %parkour_course_record_pk1%

/hd create pk1_best {slow}%parkour_course_record_pk1%


To create a Holographic Leaderboard for Parkour:

First create a hologram for the Parkour leaderboard required
/hd create Leaderboard_pk4 Parkour Leaderboard - pk4

Add a line for each position you want on the leaderboard (up to 10)
/hd addline Leaderboard_pk4 {slow}%parkour_topten_pk4_1%
/hd addline Leaderboard_pk4 {slow}%parkour_topten_pk4_2%
/hd addline Leaderboard_pk4 {slow}%parkour_topten_pk4_3%


2017-09-07_00.01.55.png

The leaderboard will refresh automatically at the rate defined by the Holographic Extension plugin. Allowed refresh rates (in seconds) are currently:
{fastest} - 0.1 seconds.
{fast} - 0.5 seconds
{medium} - 1 seconds
{slow} - 5 seconds
{slowest} - 10 seconds.

To choose your own colours for the holographic leaderboard, use the %parkour_toptenx...% placeholder.The "cc" after the prefix represents 2 colour codes (0 - 9, a - f), the first for the player's name and the second for the corresponding time.

So, for example, to have the names in dark blue and the times in green, use %parkour_toptenx1a_<course>_<pos>%.

Examples of the different colour options are shown below. The title colour, and line numbering can be added directly using Holographic Displays.

2018-03-26_01.18.58.png

Spoiler: Example HD config
Code (Text):
new_pk4:
  location: wither_world, -1120.295, 12.509, 635.331
  lines:
  - Parkour Leaderboard - pk4
  - '{slow}%parkour_toptenx12_pk4_1%'
  - '{slow}%parkour_toptenx34_pk4_2%'
  - '{slow}%parkour_toptenx56_pk4_3%'
  - '{slow}%parkour_toptenx78_pk4_4%'
  - '{slow}%parkour_toptenx90_pk4_5%'
  - '{slow}%parkour_toptenxab_pk4_6%'
  - '{slow}%parkour_toptenxcd_pk4_7%'
  - '{slow}%parkour_toptenxef_pk4_8%'

No more placeholders will be added to this expansion. Please upgrade to Parkour v6.1 or later..

[​IMG]
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Parkour Expansion is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 2,837 times (via Spigot). Download it and open it directly in the game.

Explore more