Placeholders
PrisonPick's optional expansion for PlaceholderAPI
Using the external PlaceholderAPI (PAPI) expansion for PrisonPick, different data can be fetched. Using a placeholder where a plugin parses a string for placeholders will result in the placeholders being replaced with the returned values. PrisonPick fetches the data that is returned based upon how the plugin is configured. For more information on saving data and configuration, click here.

Installation

  1. 1.
    Download the expansion from here. [Not yet published]
  2. 2.
    Add this .jar file to the /plugins/PlaceholderAPI/expansions folder on the server
  3. 3.
    Restart PlaceholderAPI

Placeholders

Currently, there are two different types of statistics that are supported: number of blocks mined and enchantment levels. Placeholder parameters are not case-sensitive.
For enchantments with names that are longer than one word, use _ to separate words within the placeholder.
Placeholders
Examples
Placeholder
Returned String
%prisonPick_blocksMined%
Gets the player's statistic for total blocks mined with their custom item
%prisonPick_enchantName%
Gets the player's level of the defined enchantment
Input
Output
Blocks Mined: %prisonPick_blocksMined%
Blocks Mined: 534
Jump Boost Level: %prisonPick_jump_boost%
Jump Boost Level: 3
Last modified 10mo ago
Copy link