Darrionat Plugins
  • Welcome
  • Plugins
    • Bans+
      • Commands & Permissions
      • Configuration Files
      • GUIs
      • MySQL
      • Trivia
    • Command Cooldown
      • Commands & Permissions
      • Configuration Files
        • cooldowns.yml
        • config.yml
        • messages.yml
      • MySQL
      • Trivia
    • Custom Enchants+
      • API
      • Commands & Permissions
      • Configuration Files
        • config.yml
        • enchants.yml
        • lores.yml
        • messages.yml
      • Custom Blocks
      • Dependencies
      • Enchantments
      • GUIs
      • Scrolls
      • Wands
      • Trivia
    • PrisonPick
      • Autosell
      • Commands & Permissions
      • Configuration Files
        • autosell.yml
        • config.yml
        • enchants.yml
        • messages.yml
      • Dependencies
      • Enchantments
      • GUIs
      • Inventory Management
      • Placeholders
      • Saving Data
  • Libraries
    • PluginLib
      • Creating Your Plugin
      • Commands
      • Configs
      • ErrorHandler
      • Gui
  • Discord Bot
    • SpigotMC Bot
      • Commands
  • Links
    • Discord
    • GitHub
    • SpigotMC
  • Support Me
    • Patreon
Powered by GitBook
On this page
  • Installation
  • Placeholders

Was this helpful?

  1. Plugins
  2. PrisonPick

Placeholders

PrisonPick's optional expansion for PlaceholderAPI

PreviousInventory ManagementNextSaving Data

Last updated 4 years ago

Was this helpful?

Using the external (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, .

Installation

  1. Download the expansion from here. [Not yet published]

  2. Add this .jar file to the /plugins/PlaceholderAPI/expansions folder on the server

  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.

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

PlaceholderAPI
click here