diff --git a/wiki/Commands.md b/wiki/Commands.md deleted file mode 100644 index 071ea40..0000000 --- a/wiki/Commands.md +++ /dev/null @@ -1,239 +0,0 @@ -This page shows all commands, including with a detailed description of what every command does. - -## Overview - -- **[Parse Commands](#parse-commands)** - - [`/papi bcparse `](#papi-bcparse) - - [`/papi cmdparse `](#papi-cmdparse) - - [`/papi parse `](#papi-parse) - - [`/papi parserel `](#papi-parserel) - -- **[eCloud Commands](#ecloud-commands)** - - [`/papi ecloud clear`](#papi-ecloud-clear) - - [`/papi ecloud disable`](#papi-ecloud-disable) - - [`/papi ecloud download [version]`](#papi-ecloud-download) - - [`/papi ecloud enable`](#papi-ecloud-enable) - - [`/papi ecloud info [version]`](#papi-ecloud-info) - - [`/papi ecloud list |installed>`](#papi-ecloud-list) - - [`/papi ecloud placeholders `](#papi-ecloud-placeholders) - - [`/papi ecloud refresh`](#papi-ecloud-refresh) - - [`/papi ecloud status`](#papi-ecloud-status) - -- **[Expansion Commands](#expansion-commands)** - - [`/papi info `](#papi-info) - - [`/papi list`](#papi-list) - - [`/papi register `](#papi-register) - - [`/papi unregister `](#papi-unregister) - -- **[Other Commands](#other-commands)** - - [`/papi dump`](#papi-dump) - - [`/papi help`](#papi-help) - - [`/papi reload`](#papi-reload) - - [`/papi version`](#papi-version) - ----- - -### Parse Commands -These commands are used to parse placeholders into their respective values. Useful for debugging. - -- #### `/papi bcparse` - **Description**: - Parses placeholders of a String and broadcasts the result to all players. - - **Arguments**: - * `` - The Player to parse values of the placeholder (Use `me` for yourself). - * `` - The text to parse. - - **Example**: - ``` - /papi bcparse funnycube My name is %player_name%! - ``` - -- #### `/papi cmdparse` - **Description**: - Parses placeholders of a String and executes it as a command. - - **Arguments**: - - `` - The player to parse placeholders against. Use `me` for yourself. - - `` - The Text to parse and execute as command. Please leave away the `/` of the command. - - **Example**: - ``` - /papi cmdparse funnycube say My name is %player_name%! - ``` - -- #### `/papi parse` - **Description**: - Parses the placeholders in a given text and shows the result. - - **Arguments**: - * `` - The Player to parse values of the placeholder (Use `me` for yourself). - * `` - The text to parse. - - **Example**: - ``` - /papi parse funnycube My group is %vault_group% - ``` - -- #### `/papi parserel` - **Description**: - Parses a relational placeholder. - - **Arguments**: - * `` - The first player. - * `` - the second player to compare with. - * `` - The actual placeholder to parse. - - **Example**: - ``` - /papi parserel funnycube extended_clip %placeholder% - ``` - ----- - -### eCloud Commands -These commands all start with `/papi ecloud` and are used for things related about the [[Expansion Cloud]]. - -- #### `/papi ecloud clear` - **Description**: - Clears the cache for the eCloud. - -- #### `/papi ecloud disable` - **Description**: - Disables the connection to the eCloud. - -- #### `/papi ecloud download` - **Description**: - Allows you to download an expansion from the eCloud - - **Arguments**: - - `` - The expansion to download. - - `[version]` - The specific version of the expansion to download (Optional) - - **Example**: - ``` - /papi ecloud download Vault - /papi ecloud download Vault 1.5.2 - ``` - -- #### `/papi ecloud enable` - **Description**: - Enables the connection to the eCloud - -- #### `/papi ecloud info` - **Description**: - Gives information about a specific Expansion. - - **Arguments**: - - `` - The Expansion to retrieve information from. - - `[version]` - The Expansion's version to get information from. - - **Example**: - ``` - /papi ecloud info Vault - ``` - -- #### `/papi ecloud list` - **Description**: - Lists either all Expansions on the eCloud, only those by a specific author or only those that you have [installed](#papi-ecloud-download). - Installed Expansions show as green in the list and Expansions that are installed and have an update available show as gold. - - **Arguments**: - - `|installed>` - List all Expansions, Expansions of a specific author or all Expnansions you have installed. - - **Example**: - ``` - /papi ecloud list all - /papi ecloud list clip - /papi ecloud list installed - ``` - -- #### `/papi ecloud placeholders` - **Description**: - List all placeholders of an Expansion. - - **Arguments**: - - `` - The Expansion to list placeholders of. - - **Example**: - ``` - /papi ecloud placeholders Vault - ``` - -- #### `/papi ecloud refresh` - **Description**: - Refresh the cached data from the eCloud. - -- #### `/papi ecloud status` - **Description**: - Displays the actual Status of the eCloud. - ----- - -### Expansion Commands -These commands can be used to manage the expansions that you have currently installed. - -- #### `/papi info` - **Description**: - Gives you information about the specified Expansion. - - **Argument(s)**: - - `` - The Expansion to get info from (Needs to be registered and active). - - **Example**: - ``` - /papi info Vault - ``` - -- #### `/papi list` - **Description**: - Lists all active/registered expansions. - This is different to [/papi ecloud list installed](#papi-ecloud-list) in the fact, that it also includes expansions that were installed through a plugin (That aren't a separate jar-file) and it also doesn't show which one have updates available. - -- #### `/papi register` - **Description**: - Registers an expansion from a specified filename. - This is useful in cases, where you downloaded the expansion manually and don't want to restart the server. - The file needs to be inside `/plugins/PlaceholderAPI/expansions`. - - **Arguments**: - - `` - The file to register (including the file-extension). - - **Example**: - ``` - /papi register MyExpansion.jar - ``` - -- #### `/papi unregister` - **Description**: - Unregisters the specified expansion. - - **Arguments**: - - `` - The expansion to unregister. - - **Example**: - ``` - /papi unregister MyExpansion.jar - ``` - ----- - -### Other Commands -These are other commands of PlaceholderAPI that don't fit any of the above categories. - -- #### `/papi dump` - **Description**: - Pastes useful information from PlaceholderAPI such as plugin version, server version and installed expansions to https://paste.helpch.at for simple sharing and support. - -- #### `/papi help` - **Description**: - Displays all the commands PlaceholderAPI currently offers. - -- #### `/papi reload` - **Description**: - Reloads the config settings. - You need to use this command after [downloading Expansions](#papi-ecloud-download) from the eCloud or they won't be properly registered. - -- #### `/papi version` - **Description**: - Shows the current version and authors of PlaceholderAPI. diff --git a/wiki/Expansion-cloud.md b/wiki/Expansion-cloud.md deleted file mode 100644 index 5b9e767..0000000 --- a/wiki/Expansion-cloud.md +++ /dev/null @@ -1,67 +0,0 @@ -## About -PlaceholderAPI uses an expansion-cloud (A website that has all kinds of expansions stored), to download jar-files, that contain the placeholders for it to use. - -The expansion-cloud can be seen under https://api.extendedclip.com/home - -## How it works -PlaceholderAPI connects to the ecloud on startup of your server, to check if the cloud is available and how many expansions are available on it. -If you run `/papi ecloud download ` PlaceholderAPI will connect to the site to first check if the specified expansion exists and then downloads it if it does. -Note that not all listed expansions are on the ecloud. Some are in the corresponding plugin itself and are registered on the startup of the server. - -You can disable the connection to the cloud by setting `cloud_enabled` in the config.yml to false. - -## Adding your own expansion -You can add your own expansion to the expansion-cloud for others to use. -In order to do that, you have to follow those steps: -1. Make sure you have created a seperate jar-file like explained on the page [[PlaceholderExpansion]]. -2. Create an account on the site, or log in, if you already have one. -3. Click on `Expansions` and then on [`Upload New`](https://api.extendedclip.com/manage/add/). -4. Fill out the required information. `Source URL` and `Dependency URL` are optional. -5. Click on the button that says `Choose an file...` and select the jar of your expansion. - * **Important**! Make sure, that the name of the jar-file contains the same version like you set in the version-field! -6. Click on `Submit Expansion` - -Your expansion is now uploaded and will be reviewed by a moderator. -If everything is ok will your expansion be approved and will be available on the ecloud for PlaceholderAPI*. - -> *You can only download verified Expansions through PlaceholderAPIs command, unless you enable the option `cloud_allow_unverified_expansions` in the config.yml -> Unverified expansions can be downloaded manually by going to the site and download it yourself. - -## Updating your expansion -Before you update, please note the following: -If you aren't a verified dev and you upload an update, your expansion will become **unverified** until a moderator reviews the update and approves it! -It is recommended to only update the expansion, if it contains huge changes or bug fixes. - -To update your expansion, you first have to go to the list of [your expansions](https://api.extendedclip.com/manage/). -For that click on `Expansions` and select `Your Expansions`. -After that, follow those steps: -1. Click the name of the expansion, that you want to update. -2. Click on the button that says `Version` -3. Click on `Add Version` -4. Fill out the fields and upload the new jar. - * **Important**! Make sure, that the name of the jar-file contains the same version like you set in the version-field! -5. Click on `Save Changes` - -If you're a verified dev, your version will be approved and is available directly. -If you aren't a verified dev, you have to wait until a moderator approves the update. - -## Downloading a specific expansion version -In some cases, you may want to use a specific, older version of expansion. Such a case could be for example, when you run an old server version and the newest version of an expansion uses methods that aren't available on that particular server version. -For that case is there a way, to download a specific version of expansion. You can download the expansion either manually, or through PlaceholderAPI itself. -Here is how you can do it for each. - -### Download with PlaceholderAPI -This is the easiest of both methods since it requires the least amount of effort. -Run the following command in-game or in your console to download a specific version: -`/papi ecloud download [version]` - -To find out, what versions are available for the expansion, run `/papi ecloud info ` -You can then run `/papi ecloud versioninfo ` to receive more infor about a specific version. - -After you downloaded the specific version, run `/papi reload` to refresh the installed expansions. - -### Download manually -To download an expansion manually, you first have to connect to the website and go to the expansion of your choice. -There, you click on the button that says `Version` and click on the download-icon of the version you want to download. - -Finally, stop your server, upload the jar to the folder in `/plugins/PlaceholderAPI/expansions` (Make sure to delete the old jar, if there's already one) and start the server again. \ No newline at end of file diff --git a/wiki/FAQ.md b/wiki/FAQ.md deleted file mode 100644 index 86a0cc2..0000000 --- a/wiki/FAQ.md +++ /dev/null @@ -1,55 +0,0 @@ -[readme]: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/docs/wiki/wiki/README.md - -Here are frequently asked questions about stuff related to PlaceholderAPI. - -## It only shows `%placeholder%` and not the variable -When a plugin or `/papi parse me %placeholder%` only returns the placeholder itself and no value should you check for the following things: - -### The expansion is actually installed. -In many cases is the cause that the expansion of the placeholder is missing. -Just execute `/papi ecloud download ` followed by `/papi reload` to activate it. You can find a list of Expansions and their Placeholders [[on this page|Placeholders]]. - -**NOTE!** -Not all placeholders come in their own expansion. Some plugins *hardcode* them in and load them on startup, when hooking into PlaceholderAPI. - -### Plugin actualls supports PlaceholderAPI -It can happen that the plugin you use to display the placeholder in doesn't support PlaceholderAPI. In such a case check, if the parse command returns the actual value of a placeholder. -If that is the case while the plugin is still displaying the placeholder, can this be an indicator of the plugin not supporting PlaceholderAPI. - -You can find a list of plugins supporting PlaceholderAPI [[here|Plugins-using-PlaceholderAPI]]. -Just make sure that "Supports placeholders" has a check mark in front of it. - -### No typo in the placeholder -Double-check that the placeholder you set doesn't contain a typo. You can use `/papi ecloud placeholders ` (replace `` with the name of the expansion) to get a list of all the placeholders the expansion may have. -Keep in mind that this only works for separate expansions on the eCloud and not for those that are loaded by plugins. - -### Plugin is enabled -If an expansion depends on a plugin, make sure you have the plugin installed and that it is enabled (Shows green in `/pl`). - -## I can't download the expansion -Make sure, that the connection to the cloud (https://api.extendedclip.com) isn't blocked by a firewall or similar. -Next step would be to check if the expansion actually exists on the cloud. Not all plugins provide their placeholders through a separate jar on the cloud. Some have them build in and register them on startup. - -If both checks failed, go to the cloud-page and download the jar manually. Put it then in the `expansions` folder of PlaceholderAPI (`/plugins/PlaceholderAPI/expansions`) - -## How can other plugins use my placeholders with PlaceholderAPI? -A tutorial can be found [[here|Hook into PlaceholderAPI]]! - -## Can I help on this wiki? -You sure can! -We welcome contributions to our wiki by everyone. If you found a typo or want to improve this wiki in another way, head over to the [Wiki's readme file][readme] to find out about how you can contribute towards this wiki. - -## PlaceholderAPI is posting an error about an outdated expansion? -``` -[00:00:01 ERROR]: [PlaceholderAPI] Failed to load Expansion class (Is a dependency missing?) -[00:00:01 ERROR]: [PlaceholderAPI] Cause: NoClassDefFoundError -``` - -If you receive the above error, try to do the following steps: - -- Make sure any required dependency of the mentioned expansion (e.g. a plugin) is installed. -- Make sure you use the latest version supported for the server version you use. -- If you downloaded the jar from the ecloud, make sure it isn't malformed/corrupted. - -If the issue persists after you've done those checks, report it to the author of the expansion. -In most cases is the issue that either a dependency is missing or that the expansion tries to use outdated methods from PlaceholderAPI. diff --git a/wiki/Home.md b/wiki/Home.md deleted file mode 100644 index 6a24fd0..0000000 --- a/wiki/Home.md +++ /dev/null @@ -1,77 +0,0 @@ -

- PlaceholderAPI -

-This wiki gives you information on how to create placeholders in your plugin that can be used in other plugins, how to use other placeholders inside your plugin, or how to make an expansion. -It also has a list with all available placeholders (Work in progress). - -### Setup -**[[Hook into PlaceholderAPI]]** -- [[First steps|Hook-into-PlaceholderAPI#first-steps]] -- [[Adding placeholders to PlaceholderAPI|PlaceholderExpansion]] - - [[Common Parts|PlaceholderExpansion#common-parts]] - - [[Without an external plugin|PlaceholderExpansion#without-a-plugin]] - - [[With an external Plugin (Separate Jar)|PlaceholderExpansion#with-a-plugin-external-jar]] - - [[With an external Plugin (Internal class)|PlaceholderExpansion#with-a-plugin-internal-class]] - - [[Relational Placeholders|PlaceholderExpansion#relational-placeholders]] -- [[Setting placeholders in your plugin|Hook-into-PlaceholderAPI#setting-placeholders-in-your-plugin]] - -### Other -**[[Commands]]** -**[[Expansion cloud]]** -**[[FAQ]]** -**[[Plugins using PlaceholderAPI]]** -**[[Placeholders]]** -- [[Standalone|Placeholders#standalone]] - - [[A|Placeholders#a]] - - [[B|Placeholders#b]] - - [[C|Placeholders#c]] - - [[D|Placeholders#d]] - - [[E|Placeholders#e]] - - [[F|Placeholders#f]] - - [[G|Placeholders#g]] - - [[H|Placeholders#h]] - - [[I|Placeholders#i]] - - [[J|Placeholders#j]] - - [[K|Placeholders#k]] - - [[L|Placeholders#l]] - - [[M|Placeholders#m]] - - [[N|Placeholders#n]] - - [[O|Placeholders#o]] - - [[P|Placeholders#p]] - - [[Q|Placeholders#q]] - - [[R|Placeholders#r]] - - [[S|Placeholders#s]] - - [[T|Placeholders#t]] - - [[U|Placeholders#u]] - - [[V|Placeholders#v]] - - [[W|Placeholders#w]] - - [[X|Placeholders#x]] - - [[Y|Placeholders#y]] - - [[Z|Placeholders#z]] -- [[Plugin-placeholders|Placeholders#plugin-placeholders-1]] - - [[A|Placeholders#a-1]] - - [[B|Placeholders#b-1]] - - [[C|Placeholders#c-1]] - - [[D|Placeholders#d-1]] - - [[E|Placeholders#e-1]] - - [[F|Placeholders#f-1]] - - [[G|Placeholders#g-1]] - - [[H|Placeholders#h-1]] - - [[I|Placeholders#i-1]] - - [[J|Placeholders#j-1]] - - [[K|Placeholders#k-1]] - - [[L|Placeholders#l-1]] - - [[M|Placeholders#m-1]] - - [[N|Placeholders#n-1]] - - [[O|Placeholders#o-1]] - - [[P|Placeholders#p-1]] - - [[Q|Placeholders#q-1]] - - [[R|Placeholders#r-1]] - - [[S|Placeholders#s-1]] - - [[T|Placeholders#t-1]] - - [[U|Placeholders#u-1]] - - [[V|Placeholders#v-1]] - - [[W|Placeholders#w-1]] - - [[X|Placeholders#x-1]] - - [[Y|Placeholders#y-1]] - - [[Z|Placeholders#z-1]] diff --git a/wiki/Hook-into-PlaceholderAPI.md b/wiki/Hook-into-PlaceholderAPI.md deleted file mode 100644 index d50e61e..0000000 --- a/wiki/Hook-into-PlaceholderAPI.md +++ /dev/null @@ -1,142 +0,0 @@ -[APIBadge]: https://img.shields.io/nexus/placeholderapi/me.clip/placeholderapi?server=https%3A%2F%2Frepo.extendedclip.com&label=API%20Version - -[SpigotBadge]: https://img.shields.io/spiget/version/6245?label=Spigot -[Spigot]: https://spigotmc.org/resources/6245 - -[GitHubBadge]: https://img.shields.io/github/v/release/PlaceholderAPI/PlaceholderAPI?label=GitHub%20Release -[GitHub]: /PlaceholderAPI/PlaceholderAPI/releases/latest - -> [![SpigotBadge]][Spigot] [![GitHubBadge]][GitHub] -> -> ![APIBadge] -> -> *The GitHub release may be different from the spigot release* - -This page is about using PlaceholderAPI in your own plugin, to either let other plugins use your plugin, or just use placeholders from other plugins in your own. - -Please note, that the examples in this page are only available for **PlaceholderAPI 2.10.0 or higher**! - -## First steps -Before you can actually make use of PlaceholderAPI, you first have to import it into your project. - -### Import with Maven -To import PlaceholderAPI, simply add the following code to your **pom.xml** -Replace `{VERSION}` with the version listed at the top of this page. -```xml - - - placeholderapi - https://repo.extendedclip.com/content/repositories/placeholderapi/ - - - - - me.clip - placeholderapi - {VERSION} - provided - - -``` - -### Import with Gradle -Here is how you can import PlaceholderAPI through gradle. -Put this into your **Gradle.build**. -Replace `{VERSION}` with the version listed at the top of this page. -```gradle -repositories { - maven { - url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' - } -} - -dependencies { - compileOnly 'me.clip:placeholderapi:{VERSION}' -} -``` - -### Set PlaceholderAPI as (soft)depend -Next step is to go to your plugin.yml and add PlaceholderAPI as a depend or softdepend, depending (no pun intended) on if it is optional or not. - -**Example Softdepend**: -```yaml -name: ExamplePlugin -version: 1.0 -author: author -main: your.main.path.here - -softdepend: [PlaceholderAPI] # This is used, if your plugin works without PlaceholderAPI. -``` - -**Example Depend**: -```yaml -name: ExamplePlugin -version: 1.0 -author: author -main: your.main.path.here - -depend: [PlaceholderAPI] # If your plugin requires PlaceholderAPI, to work, use this. -``` - -## Adding placeholders to PlaceholderAPI - -A full guide on how to create expansions can be found on the [[PlaceholderExpansion]] page of this wiki. - -## Setting placeholders in your plugin -PlaceholderAPI offers the ability, to automatically parse placeholders from other plugins within your own plugin, giving the ability for your plugin to support thousands of other placeholders without depending on each plugin individually. -To use placeholders from other plugins in our own plugin, we simply have to [(soft)depend on PlaceholderAPI](#set-placeholderapi-as-softdepend) and use the `setPlaceholders` method. - -It is also important to point out, that any required plugin/dependency for an expansion has to be on the server and enabled, or the `setPlaceholders` method will just return the placeholder itself (do nothing). - -**Example**: -Let's assume we want to send an own join message that shows the group a player has. -To achieve that, we can do the following: -```java -package at.helpch.placeholderapi; - -import me.clip.placeholderapi.PlaceholderAPI; - -import org.bukkit.Bukkit; -import org.bukkit.event.EventHandler; -import org.bukkit.event.EventPriority; -import org.bukkit.event.Listener; -import org.bukkit.event.player.PlayerJoinEvent; -import org.bukkit.plugin.java.JavaPlugin; -import me.clip.placeholderapi.PlaceholderAPI; - -public class JoinExample extends JavaPlugin implements Listener { - - @Override - public void onEnable() { - - if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) { - /* - * We register the EventListener here, when PlaceholderAPI is installed. - * Since all events are in the main class (this class), we simply use "this" - */ - Bukkit.getPluginManager().registerEvents(this, this); - } else { - /* - * We inform about the fact that PlaceholderAPI isn't installed and then - * disable this plugin to prevent issues. - */ - getLogger().warn("Could not find PlaceholderAPI! This plugin is required."); - Bukkit.getPluginManager().disablePlugin(this); - } - } - - @EventHandler(priority = EventPriority.HIGHEST) - public void onJoin(PlayerJoinEvent event) { - String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%"; - - /* - * We parse the placeholders using "setPlaceholders" - * This would turn %vault_rank% into the name of the Group, that the - * joining player has. - */ - joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText); - - event.setJoinMessage(joinText); - } -} -``` diff --git a/wiki/PlaceholderExpansion.md b/wiki/PlaceholderExpansion.md deleted file mode 100644 index 2957f8e..0000000 --- a/wiki/PlaceholderExpansion.md +++ /dev/null @@ -1,381 +0,0 @@ -[placeholderexpansion]: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java - -[playerexpansion]: https://github.com/PlaceholderAPI/Player-Expansion -[serverexpansion]: https://github.com/PlaceholderAPI/Server-Expansion -[mathexpansion]: https://github.com/Andre601/Math-expansion - -[relational]: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/expansion/Relational.java - -## Overview -This page will cover how you can create your own [`PlaceholderExpansion`][placeholderexpansion] which you can either [[Upload to the eCloud|Expansion cloud]] or integrate into your own plugin. - -It's worth noting that PlaceholderAPI relies on expansions being installed. PlaceholderAPI only acts as the core replacing utility while the expansions allow other plugins to use any installed placeholder in their own messages. -You can download Expansions either directly from the eCloud yourself, or download them through the [[download command of PlaceholderAPI|Commands#papi-ecloud-download]]. - -## Table of Contents - -- [Getting started](#getting-started) - - [Common Parts](#common-parts) -- [Without a Plugin](#without-a-plugin) -- [With a Plugin (External Jar)](#with-a-plugin-external-jar) -- [With a Plugin (Internal Class)](#with-a-plugin-internal-class) - - [Register the Expansion](#register-the-expansion) -- [Relational Placeholders](#relational-placeholders) - - [Notes about Relational Placeholders](#notes-about-relational-placeholders) - -## Getting started -For starters, you need to decide what type of [`PlaceholderExpansion`][placeholderexpansion] you want to create. There are various ways to create an expansion. This page will cover the most common ones. - -### Common Parts -All shown examples will share the same common parts that belong to the [`PlaceholderExpansion`][placeholderexpansion] class. -In order to not repeat the same basic info for each method throughout this page, and to greatly reduce its overall length, we will cover the most basic/necessary ones here. - -#### Basic PlaceholderExpansion Structure -```java -package at.helpch.placeholderapi.example.expansions; - -import org.bukkit.OfflinePlayer; -import me.clip.placeholderapi.expansion.PlaceholderExpansion; - -public class SomeExpansion extends PlaceholderExpansion { - - @Override - public String getAuthor() { - return "someauthor"; - } - - @Override - public String getIdentifier() { - return "example"; - } - - @Override - public String getVersion() { - return "1.0.0"; - } -} -``` -Let's quickly break down the different methods you have to implement. - -- #### getAuthor - This method allows you to set the name of the expansion's author. -- #### getIdentifier - The identifier is the part in the placeholder that is between the first `%` (Or `{` if bracket placeholders are used) and the first `_`. - Because of that can you not use `%`, `{`, `}` or `_` in youd identifier. - - If you still want to use those symbols can you override the `getName()` method to display a different name. -- #### getVersion - This is a string, which means it can contain more than just a number. This is used to determine if a new update is available or not when the expansion is shared on the eCloud. - For expansions that are part of a plugin, this does not really matter. - -Those are all the neccessary parts for your PlaceholderExpansion. -Any other methods that are part of the [`PlaceholderExpansion`][placeholderexpansion] class are optional and will usually not be used, or will default to a specific value. Please read the Javadoc comments of those methods for more information. - -You must choose between one of these two methods for handling the actual parsing of placeholders: - -- #### onRequest(OfflinePlayer, String) - If not explicitly set, this will automatically call [`onPlaceholderRequest(Player, String)`](#onplaceholderrequestplayer-string). - This method is recommended as it allows the usage of `null` and can therefore be used in placeholders that don't require a valid player to be used. -- #### onPlaceholderRequest(Player, String) - If not set, this method will return `null` which PlaceholderAPI sees as an invalid placeholder. - ----- -## Without a Plugin -An expansion does not always need a plugin to rely on. If the placeholders it provides can return values from just the server itself or some other source (i.e. Java itself), then it can work independently. - -Common examples of such Expansions are: - -- [Player Expansion][playerexpansion] -- [Server Expansion][serverexpansion] -- [Math Expansion][mathexpansion] - -These kinds of expansions don't require any additional plugins to function. -When creating such an expansion is it recommended to use [`onRequest(OfflinePlayer, String)`](#onrequestofflineplayer-string). - -#### Full Example -Please see the [Common parts](#common-parts) section for info on the other methods. - -```java -package at.helpch.placeholderapi.example.expansions; - -import org.bukkit.OfflinePlayer; -import me.clip.placeholderapi.expansion.PlaceholderExpansion; - -public class SomeExpansion extends PlaceholderExpansion { - - @Override - public String getAuthor() { - return "someauthor"; - } - - @Override - public String getIdentifier() { - return "example"; - } - - @Override - public String getVersion() { - return "1.0.0"; - } - - @Override - public String onRequest(OfflinePlayer player, String params) { - if(params.equalsIgnoreCase("name")) { - return player == null ? null : player.getName(); // "name" requires the player to be valid - } - - if(params.equalsIgnoreCase("placeholder1")) { - return "Placeholder Text 1"; - } - - if(params.equalsIgnoreCase("placeholder2")) { - return "Placeholder Text 2"; - } - - return null; // Placeholder is unknown by the Expansion - } -} -``` - ----- -## With a Plugin (External Jar) -If your expansion relies on a plugin to provide its placeholder values, you will need to override a few more methods to make sure everything will work correctly. - -Your expansion will need to override the `getRequiredPlugin()` method to return the name of the plugin your expansion depends on. -PlaceholderAPI automatically checks if this method will either return null, or if the name defined results in a non-null plugin. - -It is worth noting that it is a bit more difficult to make a separate jar file that depends on a plugin, as it will require the plugin to have some sort of accessible API in order to get the required values. -One way to bypass this is to override the `canRegister()` method with the following code: - -```java -private SomePlugin plugin = null; // This would be the plugin your expansion depends on - -@Override -public boolean canregister() { - // This sets plugin to the SomePlugin instance you get through the PluginManager - return (plugin = (SomePlugin) Bukkit.getPluginManager().getPlugin(getRequiredPlugin())) != null; -} -``` -Using this code-snippet, you can get a direct instance of the plugin and access things such as config values. -With that said, it is recommended instead to use an API if one is available, as this kind of plugin access is a relatively poor approach. - -#### Full Example -Please see the [Common parts](#common-parts) section for info on the other methods. - -```java -package at.helpch.placeholderapi.example.expansions; - -import at.helpch.placeholderapi.example.SomePlugin; -import org.bukkit.OfflinePlayer; -import me.clip.placeholderapi.expansion.PlaceholderExpansion; - -public class SomeExpansion extends PlaceholderExpansion { - - private SomePlugin plugin; // This instance is assigned in canRegister() - - @Override - public String getAuthor() { - return "someauthor"; - } - - @Override - public String getIdentifier() { - return "example"; - } - - @Override - public String getVersion() { - return "1.0.0"; - } - - @Override - public String getRequiredPlugin() { - return "SomePlugin"; - } - - @Override - public boolean canRegister() { - return (plugin = (SomePlugin) Bukkit.getPluginManager().getPlugin(getRequiredPlugin())) != null; - } - - @Override - public String onRequest(OfflinePlayer player, String params) { - if(params.equalsIgnoreCase("placeholder1")){ - return plugin.getConfig().getString("placeholders.placeholder1", "default1"); - } - - if(params.equalsIgnoreCase("placeholder2")){ - return plugin.getConfig().getString("placeholders.placeholder2", "default2"); - } - - return null; // Placeholder is unknown by the expansion - } -} -``` - ----- -## With a Plugin (Internal Class) -The way expansions are handled when they are part of the plugin itself is fairly similar to when you [make an expansion without a plugin dependency](#without-a-plugin). - -In fact, you don't even have to override the `getRequiredPlugin()` and `canRegister()` methods as it is always guaranteed that the plugin is available. -Something worth noting, however, is that you need to override the `persist()` method and make it return true. This ensures that the expansion won't be unregistered by PlaceholderAPI whenever it is reloaded. - -Finally, you can also use dependency injection as an easier way to access a plugin's methods. -Here is a small code example of how dependency injection may look: - -```java -public class SomeExpansion extends PlaceholderExpansion { - private final SomePlugin plugin; // The instance is created in the constructor and won't be modified, so it can be final - - public SomeExpansion(SomePlugin plugin) { - this.plugin = plugin; - } -} -``` - -#### Full Example -Please see the [Common parts](#common-parts) section for info on the other methods. - - -```java -package at.helpch.placeholderapi.example.expansions; - -import at.helpch.placeholderapi.example.SomePlugin; -import org.bukkit.OfflinePlayer; -import me.clip.placeholderapi.expansion.PlaceholderExpansion; - -public class SomeExpansion extends PlaceholderExpansion { - - private final SomePlugin plugin; - - public SomeExpansion(SomePlugin plugin) { - this.plugin = plugin; - } - - @Override - public String getAuthor() { - return "someauthor"; - } - - @Override - public String getIdentifier() { - return "example"; - } - - @Override - public String getVersion() { - return "1.0.0"; - } - - @Override - public boolean persist() { - return true; // This is required or else PlaceholderAPI will unregister the Expansion on reload - } - - @Override - public String onRequest(OfflinePlayer player, String params) { - if(params.equalsIgnoreCase("placeholder1")){ - return plugin.getConfig().getString("placeholders.placeholder1", "default1"); - } - - if(params.equalsIgnoreCase("placeholder2")) { - return plugin.getConfig().getString("placeholders.placeholder2", "default2"); - } - - return null; // Placeholder is unknown by the Expansion - } -} -``` - -### Register the Expansion -To register the expansion, you will need to call the `register()` method yourself. -This should be done in your plugin's `onEnable()` method after you make sure that PlaceholderAPI is installed and enabled. - -```java -package at.helpch.placeholderapi.example - -import org.bukkit.Bukkit; -import org.bukkit.plugin.java.JavaPlugin; - -public class SomePlugin extends JavaPlugin { - - @Override - public void onEnable() { - // Small check to make sure that PlaceholderAPI is installed - if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) { - new SomeExpansion(this).register(); - } - } -} -``` - ----- -## Relational Placeholders -Relational Placeholders are a bit more specific compared to the previous examples. -While they do use the same [common parts](#common-parts) that the other examples do, they have a different method to return placeholders. - -In order to use the relational placeholders feature, you will need to implement the [`Relational`][relational] interface, which in return adds the `onPlaceholderRequest(Player, Player, String)` method to use. - -#### Full Example -Please see the [Common parts](#common-parts) section for info on the other methods. - -In this example, we use the [Internal class setup](#with-a-plugin-internal-jar) and `SomePlugin` has an `areFriends(Player, Player)` method that returns true or false based on if the given players are friends. - -```java -package at.helpch.placeholderapi.example.expansions; - -import at.helpch.placeholderapi.example.SomePlugin; -import org.bukkit.ChatColor; -import org.bukkit.Player; -import me.clip.placeholderapi.expansion.PlaceholderExpansion; -import me.clip.placeholderapi.expansion.Relational; - -public class SomeExpansion extends PlaceholderExpansion implements Relational { - - private final SomePlugin plugin; - - public SomeExpansion(SomePlugin plugin) { - this.plugin = plugin; - } - - @Override - public String getAuthor() { - return "someauthor"; - } - - @Override - public String getIdentifier() { - return "example"; - } - - @Override - public String getVersion() { - return "1.0.0"; - } - - @Override - public boolean persist() { - return true; // This is required or else PlaceholderAPI will unregister the Expansion on reload - } - - @Override - public String onPlaceholderRequest(Player one, Player two, String identifier) { - if(one == null || two == null) - return null; // We require both Players to be online - - if(params.equalsIgnoreCase("friend")) { - if(plugin.areFriends(one, two)) { - return ChatColor.GREEN + one.getName() + " and " + two.getName() + " are friends!"; - } else { - return ChatColor.GREEN + one.getName() + " and " + two.getName() + " are not friends!"; - } - } - - return null; // Placeholder is unknown by the Expansion - } -} -``` - -### Notes about Relational Placeholders -Relational placeholders will always start with `%rel_` to properly identify them. -So in the above example, the full placeholder will look like `%rel_example_friend%`. diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md deleted file mode 100644 index 0190080..0000000 --- a/wiki/Placeholders.md +++ /dev/null @@ -1,5567 +0,0 @@ -[SimpleDateFormat]: http://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html -[TimeZoneIDs]: https://garygregory.wordpress.com/2013/06/18/what-are-the-java-timezone-ids/ - -[list]: https://github.com/PlaceholderAPI/PlaceholderAPI/discussions/510 - -This is a list of all available placeholders. -A download-command for the extension can be found at the area of the placeholder. -If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, then it means, that the plugin actually has the placeholders hard-coded into them and doesn't require a manual download of any expansion. - -> ## Notes (Please read) -> We only add and/or update placeholders on request. -> We aren't responsible, to keep the placeholders of your plugin(s) up to date. -> If anything about your expansion/plugin has changed, consider [making a Pull request](https://github.com/PlaceholderAPI/PlaceholderAPI/pulls) to commit the changes yourself. -> -> You can find a comprehensive guide on how to do this on the [Wiki's README file](https://github.com/PlaceholderAPI/PlaceholderAPI/blob/docs/wiki/wiki/README.md). - -- [Standalone](#standalone) - - ### **A** - - **[Advancements](#advancements)** - - **[Animations](#animations)** - - **[Armor](#armor)** - - **[ASCII](#ascii)** - - - ### **B** - - **[BungeeCord](#bungeecord)** - - - ### **C** - - **[CalculateNumbers](#calculatenumbers)** - - **[ChangeOutput](#changeoutput)** - - **[CheckItem](#checkitem)** - - **[CooldownBar](#cooldownbar)** - - - ### **D** - - *No Expansions* - - - ### **E** - - *No Expansions* - - - ### **F** - - **[Formatter](#formatter)** - - - ### **G** - - *No Expansions* - - - ### **H** - - *No Expansions* - - - ### **I** - - *No Expansions* - - - ### **J** - - **[Javascript](#javascript)** - - - ### **K** - - *No Expansions* - - - ### **L** - - **[ListPlayers](#listplayers)** - - **[LocalTime](#localtime)** - - - ### **M** - - **[Math](#math)** - - **[MVdW placeholders](#mvdw-placeholders)** - - **[MySQL](#mysql)** - - **[MySQLTokens](#mysqltokens)** - - - ### **N** - - *No Expansions* - - - ### **O** - - **[OtherPlayer](#otherplayer)** - - - ### **P** - - **[ParseNear](#parsenear)** - - **[ParseOther](#parseother)** - - **[Pinger](#pinger)** - - **[Player](#player)** - - **[PlayerList](#playerlist)** - - **[Plugin](#plugin)** - - **[Progress](#progress)** - - - ### **Q** - - *No Expansions* - - - ### **R** - - **[RainbowColor](#rainbowcolor)** - - **[RandomColor](#randomcolor)** - - **[RandomNumber](#randomnumber)** - - **[RedisBungee](#redisbungee)** - - **[RelCon](#relcon)** - - **[RNG](#rng)** - - - ### **S** - - **[ScoreboardObjectives](#scoreboardobjectives)** - - **[Server](#server)** - - **[Shortcut](#shortcut)** - - **[Sound](#sound)** - - **[SpeedPerSec](#speedpersec)** - - **[Statistic](#statistic)** - - **[String](#string)** - - - ### **T** - - **[Team](#team)** - - **[Teams](#teams)** - - - ### **U** - - *No Expansions* - - - ### **V** - - *No Expansions* - - - ### **W** - - **[World](#world)** - - - ### **X** - - *No Expansions* - - - ### **Y** - - *No Expansions* - - - ### **Z** - - *No Expansions* - ----- - -- [Plugin-placeholders](#plugin-placeholders) - - ### **A** - - **[AAC - AdvancedAntiCheat](#aac)** - - **[AbstractMenus](#abstractmenus)** - - **[AcidIsland](#acidisland)** - - **[AcidIslandRate](#acidislandrate)** - - **[Advanced Abilities](#advanced-abilities)** - - **[Advanced Achievements](#advanced-achievements)** - - **[AdvancedAFK](#advancedafk)** - - **[AdvancedCustomMenu+](#advancedcustommenu)** - - **[AdvancedLottery](#advancedlottery)** - - **[AdvancedModReq](#advancedmodreq)** - - **[ajLeaderboards](#ajleaderboards)** - - **[ajParkour](#ajparkour)** - - **[AlonsoLevels](#alonsolevels)** - - **[Animated Menu](#animated-menu)** - - **[AParkour](#aparkour)** - - **[ASkyBlock](#askyblock)** - - **[AsyncKeepAlive](#asynckeepalive)** - - **[AutoRank](#autorank)** - - **[AutoSell](#autosell)** - - - ### **B** - - **[BankSystem](#banksystem)** - - **[BattleLevels](#battlelevels)** - - **[BeautyQuests](#beautyquests)** - - **[BedWars1058](#bedwars1058)** - - **[BentoBox](#bentobox)** - - **[BetonQuest](#betonquest)** - - **[BlockParty](#blockparty)** - - **[BlockQuest](#blockquest)** - - **[Boxing](#boxing)** - - **[BuildBattlePro](#buildbattlepro)** - - **[BungeePerms](#bungeeperms)** - - **[BuyCraft](#buycraft)** - - - ### **C** - - **[CarlTheCreeper](#carlthecreeper)** - - **[ChatColor+](#chatcolor)** - - **[ChatColor+ Premium](#chatcolor-premium)** - - **[ChatReaction](#chatreaction)** - - **[CheckNameHistory](#checknamehistory)** - - **[Clans](#clans)** - - **[ClansFree](#clansfree)** - - **[Clans-API for Spigot/Clan tag in chat](#clans-api-for-spigotclan-tag-in-chat)** - - **[ClansPro](#clanspro)** - - **[ClanSystem](#clansystem)** - - **[CombatLogX](#combatlogx)** - - **[Compassance](#compassance)** - - **[Country on Join](#country-on-join)** - - **[CraftConomy](#craftconomy)** - - **[CraftingStore.net](#craftingstorenet)** - - **[CursedVIP](#cursedvip)** - - **[Custom Items](#custom-items)** - - - ### **D** - - **[Daily Rewards](#daily-rewards)** - - **[DeliveryMan](#deliveryman)** - - **[DeluxeChat](#deluxechat)** - - **[DeluxeCombat](#deluxecombat)** - - **[DeluxeMenus](#deluxemenus)** - - **[DeluxePM](#deluxepm)** - - **[DeluxeTags](#deluxetags)** - - **[Denizen](#denizen)** - - **[DiscordSRV](#discordsrv)** - - **[Disease](#disease)** - - **[DonateParty](#donateparty)** - - **[Donations Holograms](#donations-holograms)** - - **[DragonSlayer](#dragonslayer)** - - **[DungeonsXL](#dungeonsxl)** - - - ### **E** - - **[Economy Bank](#economy-bank)** - - **[Enjin & DonationCraft 2.x](#enjin--donationcraft-2x)** - - **[Envoys](#envoys)** - - **[EpicFriends](#epicfriends)** - - **[EpicLevels](#epiclevels)** - - **[essCore](#esscore)** - - **[Essentials](#essentials)** - - **[EZBlocks](#ezblocks)** - - **[EZPrestige](#ezprestige)** - - **[EZRanksPro](#ezrankspro)** - - - ### **F** - - **[Factions MCore](#factions-mcore)** - - **[FactionsUUID](#factionsuuid)** - - **[Factions relation placeholders](#factions-relation-placeholders)** - - **[FunnyGuilds](#funnyguilds)** - - - ### **G** - - **[GAListener](#galistener)** - - **[GangsPlus](#gangsplus)** - - **[GemsEconomy](#gemseconomy)** - - **[GriefDefender](#griefdefender)** - - **[GriefPrevention](#griefprevention)** - - **[Guilds](#guilds)** - - **[GuiRedeemMCMMO](#guiredeemmcmmo)** - - - ### **H** - - **[Head Database](#head-database)** - - **[Heroes](#heroes)** - - **[HoloBlock](#holoblock)** - - **[HPWizard](#hpwizard)** - - **[Hugs](#hugs)** - - - ### **I** - - **[InteractionVisualizer](#interactionvisualizer)** - - **[InteractiveChat](#interactivechat)** - - **[Island Border (ASkyblock / BentoBox / uSkyBlock / AcidIsland)](#island-border)** - - **[IslandRate (ASkyBlock Addon)](#islandrate)** - - **[IslandWorld](#islandworld)** - - - ### **J** - - **[Jobs Reborn](#jobs-reborn)** - - - ### **K** - - **[Karma](#karma)** - - **[KillStats](#killstats)** - - **[KitPvP](#kitpvp)** - - **[KingdomsX](#kingdomsx)** - - **[KP-PVP](#kp-pvp)** - - - ### **L** - - **[Lands](#lands)** - - **[LastLoginAPI](#lastloginapi)** - - **[LeaderHeads](#leaderheads)** - - **[LegendQuest](#legendquest)** - - **[LemonMobCoins](#lemonmobcoins)** - - **[LevelledMobs](#levelledmobs)** - - **[LevelUp](#levelup)** - - **[LuckPerms](#luckperms)** - - **[LWC](#lwc)** - - - ### **M** - - **[Marcely's Bedwars](#marcelys-bedwars)** - - **[Marriage](#marriage)** - - **[Marriage (Reloaded)](#marriage-reloaded)** - - **[MarriageMaster](#marriagemaster)** - - **[McInfected](#mcinfected)** - - **[McJobs](#mcjobs)** - - **[McMMO](#mcmmo)** - - **[MineChess](#minechess)** - - **[MineCord](#minecord)** - - **[MineCrates](#minecrates)** - - **[MobHunting](#mobhunting)** - - **[Multiverse-Core](#multiverse-core)** - - **[MyCommand](#mycommand)** - - **[MyPet](#mypet)** - - **[MyPrefixSystem](#myprefixsystem)** - - - ### **N** - - **[Nameless Plugin](#nameless-plugin)** - - **[NameMC-API-ServersMC Plugin](#namemc-api-serversmc)** - - **[Nicknamer](#nicknamer)** - - **[NickReloaded](#nickreloaded)** - - **[Nicky](#nicky)** - - - ### **O** - - **[OnePlayerSleep](#oneplayersleep)** - - **[OnTime](#ontime)** - - **[OpEconomy](#opeconomy)** - - **[OreAnnouncer](#oreannouncer)** - - **[OreMarket](#oremarket)** - - **[Outpost](#outpost)** - - - ### **P** - - **[Paintball Battle](#paintball-battle)** - - **[Parkour](#parkour)** - - **[Parties](#parties)** - - **[Party and Friends](#party-and-friends)** - - **[PermissionTimer](#permissiontimer)** - - **[PixelVip](#pixelvip)** - - **[Plan](#plan)** - - **[PlayTime](#playtime)** - - **[PlayerPoints](#playerpoints)** - - **[PlotSquared](#plotsquared)** - - **[PointsAPI](#pointsapi)** - - **[PowerRanks](#powerranks)** - - **[PremiumVanish](#premiumvanish)** - - **[Prison](#prison)** - - **[PrisonMines](#prisonmines)** - - **[PrisonRanksX](#prisonranksx)** - - **[ProCosmetics](#procosmetics)** - - **[ProfessionalBans](#professionalbans)** - - **[ProQuest](#proquest)** - - **[ProtectionStones](#protectionstones)** - - **[PVPLevels](#pvplevels)** - - **[PVP Stats](#pvp-stats)** - - **[PvPStats Plugin](#pvpstats-plugin)** - - - ### **Q** - - **[Quests](#quests)** - - **[QuestCreator](#questcreator)** - - **[QuickSell](#quicksell)** - - - ### **R** - - **[RabbitsVSPenguins](#rabbitsvspenguins)** - - **[RageMode](#ragemode)** - - **[Rankup](#rankup)** - - **[RealisticWorldGenerator](#realisticworldgenerator)** - - **[RedProtect](#redprotect)** - - **[ReferralSystem](#referralsystem)** - - **[RestrictedDimensions](#restricteddimensions)** - - **[RocketPlaceholders](#rocketplaceholders)** - - **[RogueParkour](#rogueparkour)** - - **[RoyalCommands](#royalcommands)** - - **[RPGInventory](#rpginventory)** - - **[RTP](#rtp)** - - - ### **S** - - **[Seasons](#seasons)** - - **[SellAll](#sellall)** - - **[SignLink](#signlink)** - - **[SimpleClans](#simpleclans)** - - **[SimpleCoins](#simplecoins)** - - **[SimpleCoinsAPI](#simplecoinsapi)** - - **[SimpleKillTracker](#simplekilltracker)** - - **[SimplePrefix](#simpleprefix)** - - **[Simple Suffix](#simple-suffix)** - - **[SkillAPI](#skillapi)** - - **[SkinsRestorer](#skinsrestorer)** - - **[Skript](#skript)** - - **[Skywars](#skywars)** - - **[Skywars X](#skywars-x)** - - **[SkywarsReloaded](#skywarsreloaded)** - - **[Spark](#spark)** - - **[SQLPerms](#sqlperms)** - - **[SQLTokens](#sqltokens)** - - **[Staff Facilities](#staff-facilities)** - - **[Staff++](#staffplusplus)** - - **[Statz](#statz)** - - **[Streaming Drops](#streaming-drops)** - - **[StrikePractice 2](#strikepractice-2)** - - **[stTitles](#sttitles)** - - **[SubServers](#subservers)** - - **[SuperbVote](#superbvote)** - - **[SuperCredits](#supercredits)** - - **[SuperVanish](#supervanish)** - - - ### **T** - - **[The Time](#the-time)** - - **[ThemePark](#themepark)** - - **[Thirst](#thirst)** - - **[TicketGUI](#ticketgui)** - - **[Timed Rewards](#timed-rewards)** - - **[TimeManager](#timemanager)** - - **[Time Tokens](#time-tokens)** - - **[TNTRun_Reloaded](#tntrun_reloaded)** - - **[TokenEnchant](#tokenenchant)** - - **[TokenManager](#tokenmanager)** - - **[Tokens](#tokens)** - - **[TokensPlus](#tokensplus)** - - **[Towny](#towny)** - - **[TownyChat](#townychat)** - - **[TransmuteIt](#transmuteit)** - - **[Treasures](#treasures)** - - **[Trey's Double Jump](#treys-double-jump)** - - **[TrickOrTreat](#trickortreat)** - - **[Two Factor Authentication](#twofactorauthentication)** - - - ### **U** - - **[USkyBlock](#uskyblock)** - - **[UltimateChat](#ultimatechat)** - - **[UltimateClaims](#ultimateclaims)** - - **[UltimateVotes](#ultimatevotes)** - - **[UnityGen](#unitygen)** - - - ### **V** - - **[Vault](#vault)** - - [Economy](#economy) - - [Permissions](#permissions) - - **[VenturaCalendar](#venturacalendar)** - - **[ViaVersion](#viaversion)** - - **[VKAutoPickup](#vkautopickup)** - - **[VoteParty](#voteparty)** - - **[VoteRoulette](#voteroulette)** - - **[VotingPlugin](#votingplugin)** - - - ### **W** - - **[WickedSkyWars](#wickedskywars)** - - **[WorldBorder](#worldborder)** - - **[WorldGuard](#worldguard)** - - - ### **X** - - **[XLTournaments](#xltournaments)** - - - ### **Y** - - *No Expansions* - - - ### **Z** - - *No Expansions* - ----- -## Standalone -Expansions listed here don't need any plugin or extra library to function properly, unless mentioned otherwise. -A majority of these Expansions are maintained by the PlaceholderAPI team and can be considered *official*. - -- ### **Advancements** - > /papi ecloud download Advancements - - More info about this expansion can be found on the [GitHub-Repository](https://github.com/matahombres/Advancements). - - ``` - %Advancements_% - %Advancements_player_;% - %Advancements_list% - %Advancements_list_% - %Advancements_playerList_% - %Advancements_playerList_,% - %Advancements_listFormat% - %Advancements_playerListFormat_% - %Advancements_completedAmount% - %Advancements_completedAmount_% - %Advancements_playerCompletedAmount_% - %Advancements_playerCompletedAmount_,% - %Advancements_remainingAmount% - %Advancements_remainingAmount_% - %Advancements_playerRemainingAmount_% - %Advancements_playerRemainingAmount_,% - ``` - ----- - -- ### **Animations** - > /papi ecloud download Animations - - ```html - %animations_Text% - %animations_Text% - %animations_Text% - ``` - - Please note: When using placeholders within the animation text, you must use the bracket variant. - Use `{player_name}` instead of `%player_name%` within the ` ` tags. - - Please visit the [dedicated wiki](https://github.com/Niall7459/KiteBoard-Documentation/wiki/Animations-and-Modifiers) for all available tags. - ----- - -- ### **Armor** - > /papi ecloud download Armor - - Gives you info about your armor - - ``` - Chose one value that's inside () and replace SLOT with one of the following: helmet, chestplate, leggings, boots. - - %armor_amount_SLOT% - %armor_color_(red/green/blue/hex)_SLOT% - %armor_durability_(left/max)_SLOT% - %armor_has_SLOT% - %armor_material_SLOT% - %armor_maxamount_SLOT% - ``` - ----- - -- ### **ASCII** - > /papi ecloud download ASCII - - Returns the [ASCII Value](http://www.asciitable.com/) based on input - - ``` - %ascii_% - ``` - - Ex: `%ascii_37%` returns `%` - ----- - -- ### **BungeeCord** - > /papi ecloud download Bungee - - Allows you to show, how many players are online on the entire network, or just on a specific server. - - ``` - %bungee_total% - %bungee_% - ``` - ----- - -- ### **CalculateNumbers** - > NO DOWNLOAD COMMAND - - Download the jar from [broken1arrow/CalculateNumbers/releases](https://github.com/broken1arrow/CalculateNumbers/releases) - - The idea with this expansion is that you should be able to charge dynamically, - for example in the deluxe menu. For tools, weapons - and armor when players need to - repair their belongings. Has also added optional so you can also combine it with - rank plugin if - you have one. - - Use decimal,to get two decimal digits. - - ``` - %number_numbervalue,tool:{a placeholder from your ranking plugin}% - %number_numbervalue,decimal,tool:{a placeholder from your ranking plugin}% - %number_numbervalue,armor:{a placeholder from your ranking plugin}% - %number_numbervalue,decimal,armor:{a placeholder from your ranking plugin}% - ``` - ----- - -- ### **ChangeOutput** - > /papi ecloud download changeitem - - Alows you to change the output based on what other placeholders return - - ``` - %changeoutput_____% - ``` - - * `` - * equals - match the input exactly - * ignorecase - match the input while ignoring cases - * ignorecolor - match the input while ignoring colour codes - * contains - check if the match contains input - * \>= - check if the input is larger than or equal to the matcher - * \> - check if the input is larger than the matcher - * <= - check if the input is less than or equal to the matcher - * < - check if the input is less than the matcher - * `` - this is your text that you wish to replace - * `` - this is the text we will be looking for to meet the conditions - * `` - if the input meets the condition, this text will be displayed - * `` - if the input does not meet the condition, this text will be displayed instead - - *All arguments can be replaced with other placeholders, wrapped in* `{}` - ----- - -- ### **CheckItem** - > /papi ecloud download CheckItem - - Allows you to check the inventory of a player for a certain item. - - ``` - %checkitem_,,<...>% - Returns if user has the item - %checkitem_amount_,,<...>% - Returns amount of items the user has - %checkitem_remove_,,<...>% - Removes the items from the players inventory - Can be used with amount, it just has to be after. (Ex. `%checkitem_amount_remove_<...>%`) Please be careful as it does REMOVE ITEMS FOR GOOD - %checkitem_give_,,<...>% - Gives the player items. Returns true if successful, returns the number of items NOT given if unsuccessful. (When unsuccessful items can still be given, it just might not be all of them) - ``` - - **Modifiers** - You can combine different modifiers to check for different values. - Available modifiers are: - - `namecontains:` - Checks if the item's display name contains ``* \*\* - - `namestartswith:` - Checks if the item's display name starts with ``* \*\* - - `nameequals:` - Checks if the item's display name equals ``* \*\* ^ - - `mat:` - Checks if the item is `` (For example: `STONE`) ^ - - `amt:` - Checks if the player has `` of items ^ - - `data:` - Checks if the item has data `` (Example: Red wool has `14` as data (`WOOL:14`)). - This is only for 1.12 and older! ^ - - `custommodeldata:` - Checks if the item has CustomModelData `` - This is only for 1.14 and newer! ^ - - `lorecontains:` - Checks if the item's lore contains ``* - - `loreequals:` - Checks if the item's lore equals `` Lines are separated by `|` ^ - - `matcontains:` - Checks if the item's material contains ``* - - `enchantments:;` - Checks if the item's enchantments contains `` with an optional `=level` - Uses vanilla minecraft enchantment names ^ - - `enchanted` - Checks if the item is enchanted (with anything) - - `potiontype:` - Checks if the item has the potiontype ([Click here for potion types](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html)) ^ - - `potionextended:` - Checks if a potion is extended ^ - - `potionupgraded:` - Checks if a potion is upgraded ^ - - `strict` - Requires `mat:` modifier. Strictly checks the name and lore for an item. (If a Stone named `Test` is in your inventory, and you're using `%checkitem_mat:stone,strict%`, it will return false) - - `inhand` - Check if the item is in the player's hand. `inhand` will check *both* hands. You can add `:main` or `:off` to specify. (Ex: `inhand:main`) - - `inslot` - Check if the item is in a specific slot ([Click here for valid slots](https://proxy.spigotmc.org/d3e11b631e22f45fc07c3fcd1c7000b2245fed78?url=http%3A%2F%2Fi.imgur.com%2F3YCrfC8.png)) - - **Notes:** - - * means case-sensitive - - ** means only one can be used - - ^ means that the modifier supports the `give` placeholder - - To use Commas in strings you must escape them using `\` (Ex: `loreequals:Milk\, Eggs\, Bread`) - - **Placeholders are supported, but they need to be in brackets! (Ex: `%player_name%` would be `{player_name}`** - ----- - -- ### **CooldownBar** - > /papi ecloud download CooldownBar - - More info about this expansion can be found on the [GitHub-Repository](https://github.com/aBo0oDyy/CooldownBar-Expansion). - - ``` - %cooldownbar_{placeholder}% - %cooldownbar_{placeholder}_p:% - %cooldownbar_{placeholder}_i:% - %cooldownbar_{placeholder}_r:% - %cooldownbar_{placeholder}_l:% - %cooldownbar_{placeholder}_c:% - %cooldownbar_{placeholder}_rdy:% - %cooldownbar_{essentials_kit_time_until_available_tools}_p:&a■_i:&e■_r:&7■_l:5_c:100_rdy:&aReadytoclaim!% - %cooldownbar_percentage_{placeholder}% - %cooldownbar_percentage_{placeholder}_c:% - %cooldownbar_percentage_{placeholder}_d:% - %cooldownbar_percentage_{essentials_kit_time_until_available_tools}_c:120_d:0% - ``` - ----- - -- ### **Formatter** - > /papi ecloud download Formatter - - More info about this expansion can be found on the [GitHub-Repository](https://github.com/Andre601/Formatter-Expansion). - - `[]` is optional and `<>` is required. - - ``` - %formatter_number_format_% - %formatter_number_format_[locale]:[format]_% - - %formatter_number_from:_to:_% # Converts from one time unit to another - - %formatter_number_time_% - %formatter_number_time_fromSeconds_% # Handles number as seconds - %formatter_number_time_fromSecs_% # Handles number as seconds - %formatter_number_time_fromMinutes_% # Handles number as minutes - %formatter_number_time_fromMins_% # Handles number as minutes - %formatter_number_time_fromHours_% # Handles number as hours - %formatter_number_time_fromHrs_% # Handles number as hours - - %formatter_text_replace___% - %formatter_text_substring_[start]:[end]_% - %formatter_text_uppercase_% - %formatter_text_lowercase_% - ``` - ----- - -- ### **Javascript** - > /papi ecloud download Javascript - - Gives you a way, to use javascript, to give a different output, depending on conditions. - - ``` - %javascript_% - ``` - ----- - -- ### **ListPlayers** - > /papi ecloud download ListPlayers - - Lists players with a certain permission or in a certain world... 'nuf said. - - ``` - %listplayers_with_perm_% - %listplayers_in_world_% - ``` - ----- - -- ### **LocalTime** - > /papi ecloud download LocalTime - - ``` - %localtime_time% - %localtime_time_% - %localtime_timezone_% - %localtime_timezone_,% - ``` - - Please read the [SimpleDateFormat] Javadoc page about possible formats and [this post][TimeZoneIDs] about available time zone IDs for ``. - ----- - -- ### **Math** - > /papi ecloud download Math - - Lets you make simple or advanced calculations. - Any placeholder that returns a number is supported (Use `{placeholder}` instead of `%placeholder%`) - - Supports all calculations you can do with [EvalEx](https://github.com/uklimaschewski/EvalEx). - Note that the `%` can't be used within the placeholder and that you have to use `[prc]` instead. - - ``` - %math_% - %math_[precision]:[rounding]_% - ``` - ----- - -- ### **MVdW Placeholders** - > /papi ecloud download MVdW - - Lets you use placeholders from [MVdWPlaceholderAPI](https://www.spigotmc.org/resources/11182/). - MVdWPlaceholderAPI and one of **[Maxims plugins](https://www.spigotmc.org/resources/2691/)**, that use it, are required! - A list of his placeholders can be found [here](https://www.spigotmc.org/wiki/mvdw-placeholders/) - - ``` - %mvdw_% - ``` - ----- - -- ### **MySQL** - > NO DOWNLOAD COMMAND - - ``` - %mysql_% - ``` - - `` is a set query that can be found in the config.yml under `plugins/PlaceholderAPI/expansion/MySQL`. - ----- - -- ### **MySQLTokens** - > NO DOWNLOAD COMMAND - - ``` - %mysqltokens_tokens% - ``` - ----- - -- ### **OtherPlayer** - > /papi ecloud download OtherPlayer - - Lets you get placeholders for other players. (Not the one that triggers the action) - - ``` - %otherplayer_displayname_% - %otherplayer_gamemode_% - %otherplayer_hasperm__perm_% - %otherplayer_haspotioneffect__effect_% - %otherplayer_health_% - %otherplayer_hunger_% - %otherplayer_iteminhand_% - %otherplayer_ip_% - %otherplayer_level_% - %otherplayer_locx_% - %otherplayer_locy_% - %otherplayer_locz_% - %otherplayer_oxygen_% - %otherplayer_spells_% - %otherplayer_uuid_% - %otherplayer_world_% - ``` - ----- - -- ### **ParseNear** - > /papi ecloud download ParseNear - - Lets you parse any placeholder for the closest player. Will return blank if no player is found. - - ``` - %parsenear_% # Parses placeholder for closest player - %parsenear__% # Parses placeholder for closest player in a radius - ``` - ----- - -- ### **ParseOther** - > /papi ecloud download ParseOther - - Lets you parse any placeholder for another player. - You can use placeholders in place of `username`. - Make sure to include the `{}` brackets, as it won't work without them. - - ``` - %parseother_{username}_{placeholder_without_percent_signs}% - ``` - ----- - -- ### **Pinger** - > /papi ecloud download Pinger - - Lets you ping a server through an IP or domain (with port), to check the online-status and to receive some information. - The placeholders have a "warmup" time of around one or two minutes after installing the expansion. - - **Note**: These placeholders have a separate update-delay in the config.yml of PlaceholderAPI - - Replace `testplugins.com:25565` with your own server/IP. - ``` - %pinger_gameversion_testplugins.com:25565% - %pinger_version_testplugins.com:25565% - %pinger_online_testplugins.com:25565% - %pinger_isonline_testplugins.com:25565% - %pinger_max_testplugins.com:25565% - %pinger_players_testplugins.com:25565% - %pinger_motd_testplugins.com:25565% - %pinger_pingversion_testplugins.com:25565% - ``` - `%pinger_online_testplugins.com:25565%` and `%pinger_isonline_testplugins.com:25565%` do the exact same thing. - ----- - -- ### **Player** - > /papi ecloud download Player - - Gives you various placeholders for the player, that triggers the action. - - ``` - %player_allow_flight% - %player_armor_helmet_name% - %player_armor_helmet_data% - %player_armor_chestplate_name% - %player_armor_chestplate_data% - %player_armor_leggings_name% - %player_armor_leggings_data% - %player_armor_boots_name% - %player_armor_boots_data% - %player_bed_x% - %player_bed_y% - %player_bed_z% - %player_bed_world% - %player_biome% - %player_biome_capitalized% - %player_can_pickup_items% - %player_colored_ping% - %player_compass_world% - %player_compass_x% - %player_compass_y% - %player_compass_z% - %player_custom_name% - %player_current_exp% - %player_direction% - %player_direction_xz% - %player_displayname% - %player_exp% - %player_exp_to_level% - %player_first_join_date% - %player_first_played% - %player_first_join% - %player_first_played_formatted% - %player_fly_speed% - %player_food_level% - %player_gamemode% - %player_has_empty_slot% - %player_has_played_before% - %player_empty_slots% - %player_has_potioneffect_% - %player_has_permission_% - %player_health% - %player_health_rounded% - %player_health_scale% - %player_ip% - %player_online% - %player_is_whitelisted% - %player_is_banned% - %player_is_flying% - %player_is_sneaking% - %player_is_sprinting% - %player_is_sleeping% - %player_is_inside_vehicle% - %player_is_op% - %player_item_in_hand% - %player_item_in_hand_name% - %player_item_in_hand_data% - %player_item_in_hand_level_% - %player_item_in_offhand% - %player_item_in_offhand_name% - %player_item_in_offhand_data% - %player_item_in_offhand_level_% - %player_locale% - %player_locale_display_name% - %player_locale_short% - %player_locale_country% - %player_locale_display_country% - %player_last_damage% - %player_last_played% - %player_last_join% - %player_last_played_formatted% - %player_last_join_date% - %player_level% - %player_light_level% - %player_max_air% - %player_max_health% - %player_max_health_rounded% - %player_max_no_damage_ticks% - %player_minutes_lived% - %player_name% - %player_no_damage_ticks% - %player_ping% - %player_ping_% - %player_remaining_air% - %player_saturation% - %player_seconds_lived% - %player_sleep_ticks% - %player_thunder_duration% - %player_ticks_lived% - %player_time% - %player_time_offset% - %player_total_exp% - %player_uuid% - %player_walk_speed% - %player_weather_duration% - %player_world% - %player_world_type% - %player_world_time_12% - %player_world_time_24% - %player_x% - %player_y% - %player_z% - %player_yaw% - %player_pitch% - ``` - ----- - -- ### PlayerList - > /papi ecloud download playerlist - - Returns the player list matching the specified syntax - - ``` - %playerlist_,,,,% - ``` - - **Type:** - - `all` - Matches all players - - `online` - Matches online players - - `offline` - Matches offline players - - **Subtypes:** - - `normal` - Matches all players. Requires no `` - - `perm` - Matches all players that match the permission defined by ``. Supports multiple permissions separated by `+` (`perm.1+perm.2`) - - `world` - Matches all players in the world defined by ``. Supports multiple worlds separated by `+` (`world+world_nether`) - - `nearby` - Matches all players in a certain radius defined by `` - - **Include:** - - `yes` - Include the player - - `no` - Exclude the player - - **Output:** - - `list` - Returns a list of players separated by `, `. You can also change the separator with `list-`.* - - `amount` - Returns amount of players matched - - `` - Returns the player at the specified index - - **Examples:** - ``` - %playerlist_all,normal,yes,list% # Tanguygab, cj89898, funnycube, clip, Frcsty, GabyTM, ItsMeGlare - %playerlist_online,perm,yes,amount,staff.admin% # 2 - %playerlist_online,world,yes,2,buildingworld+spawnworld%` # cj89898, funnycube - %playerlist_online,nearby,yes,list,5% # Tanguygab, cj89898, clip - %playerlist_online,nearby,no,list,5% # Tanguygab, clip - %playerlist_online,nearby,no,list--,20% # Tanguygab-clip-Terfs - ``` - - *You can also use `[placeholder]` for papi placeholders in addition to the javascript `{placeholder}`* - - *Note: `Offline` and `All` only support the `Normal` subtype.* - **Since `,` is used to separate the different parts of the placeholder, use `\.` instead if you want to display a `,`.** - ----- - -- ### **Plugin** - > /papi ecloud download Plugin - - Returns information about the specified plugin. - - ``` - %plugin_isenabled_% - %plugin_isdisabled_% - %plugin_exists_% - ``` - ----- - -- ### **Progress** - > /papi ecloud download progress - - More info about this expansion can be found on the [GitHub-Repository](https://github.com/aBo0oDyy/Progress-Expansion). - - ``` - %progress_bar_{placeholder}% - %progress_bar_{placeholder}_c:% - %progress_bar_{placeholder}_p:% - %progress_bar_{placeholder}_r:% - %progress_bar_{placeholder}_l:% - %progress_bar_{placeholder}_m:% - %progress_bar_{placeholder}_fullbar:% - - # Example - %progress_bar_{placeholder}_c:&a■_p:&e■_r:&7■_l:10_m:100_fullbar:&aCompleted!% - ``` - ----- - -- ### **RainbowColor** - > /papi ecloud download RainbowColor - - More info about the expansion can be found on the [GitHub-Repository](https://github.com/aBo0oDyy/RainbowColor-Expansion). - - ``` - %RainbowColor_% - %RainbowColor_custom_,,_% - - e.g. %RainbowColor_custom_a,f,e,b_This is an example% - ``` - ----- - -- ### **RandomColor** - > /papi ecloud download RandomColor - - More info about the expansion can be found on the [GitHub-Repository](https://github.com/Andre601/RandomColor). - - ``` - %randomcolor_all% - %randomcolor_color% - %randomcolor_combined% - %randomcolor_format% - %randomcolor_selected_% - ``` - ----- - -- ### **RandomNumber** - > /papi ecloud download RandomNumber - - It returns a auto-scaled random number. If you did not specify the scale, the scale will be automatically computed. If both min and max are integer number, the returned random number will also be an integer. - - ``` - %randomnumber_number% - %randomnumber_number_scale% - %randomnumber_number_min_max% - %randomnumber_number_min_max_scale% - ``` - ----- - -- ### **RedisBungee** - > /papi ecloud download RedisBungee - - Same like the [BungeeCord-placeholders](#bungeecord), but for RedisBungee - - ``` - %redisbungee_total% - %redisbungee_% - ``` - ----- - -- ### **RelCon** - > /papi ecloud download RelCon - - More info about the expansion can be found on the [GitHub-Repository](https://github.com/PlaceholderAPI/RelCon-Expansion). - - ``` - %rel_relcon_player___[text2]% - %rel_relcon_player__% - %rel_relcon_viewer___[text2]% - %rel_relcon_viewer__% - ``` - ----- - -- ### **RNG** - > /papi ecloud download RNG - - More info about the expansion can be found on the [GitHub-Repository](https://github.com/Kqliber/Expansion-RNG). - - ``` - %rng_online_player% - %rng_random% - %rng_,% - ``` - ----- - -- ### **ScoreboardObjectives** - > /papi ecloud download ScoreboardObjectives - - Get info from a scoreboard objective. - - ``` - %objective_score_% - %objective_score__[otherEntry]% - ``` - - **Note**: `[otherEntry]` can be another player name, Offline Player name, or non-player Entry - ----- - -- ### **Server** - > /papi ecloud download Server - - Lets you get information about the server. - - ``` - %server_name% - %server_online% - %server_version% - %server_max_players% - %server_unique_joins% - %server_uptime% - %server_ram_used% - %server_ram_free% - %server_ram_total% - %server_ram_max% - %server_tps% - %server_tps_1% - %server_tps_5% - %server_tps_15% - %server_tps_1_colored% - %server_tps_5_colored% - %server_tps_15_colored% - %server_online_% - %server_has_whitelist% - %server_total_chunks% - %server_total_living_entities% - %server_total_entities% - %server_time_% - %server_countdown__% - Boolean, if code is active - %opeconomy_max_uses_code_% - Shows max uses for code - %opeconomy_uses_code_% - Shows uses for code - %opeconomy_reward_code_% - Shows reward for entering code - ``` - ----- - -- ### **[OreAnnouncer](https://www.spigotmc.org/resources/33464/)** - > NO DOWNLOAD COMMAND - - You can find an up-to-date list of placeholders on the [OreAnnouncer Wiki](https://alessiodp.com/docs/oreannouncer/placeholders#outside). - ----- - -- ### **[OreMarket](https://www.spigotmc.org/resources/91015/)** - > NO DOWNLOAD COMMAND - - ``` - %oremarket_change_% - %oremarket_cost_% - %oremarket_name_% - %oremarket_percent_% - %oremarket_stock_% - %oremarket_value_% - ``` - ----- - -- ### **[Outpost](https://www.spigotmc.org/resources/38657/)** - > NO DOWNLOAD COMMAND - - ``` - %outpost_data_id_% - %outpost_data_name_% - %outpost_data_world_% - %outpost_data_region_% - %outpost_conqueror_owner_% - %outpost_conqueror_invader_% - %outpost_conqueror_percentage_% - %outpost_perks_money_% - %outpost_perks_exp_% - ``` - ----- - -- ### **[Paintball Battle](https://www.spigotmc.org/resources/76676/)** - > NO DOWNLOAD COMMAND - - ``` - %paintball_wins% - %paintball_loses% - %paintball_ties% - %paintball_kills% - %paintball_coins% - ``` - ----- - -- ### **[Parkour](https://www.spigotmc.org/resources/23685/)** - > NO DOWNLOAD COMMAND - - ``` - %parkour_course_completed_% - %parkour_course_completions_% - %parkour_course_record__deaths% - %parkour_course_record__milliseconds% - %parkour_course_record__player% - %parkour_course_record__time% - %parkour_course_views% - %parkour_current_checkpoint% - %parkour_current_course_checkpoints% - %parkour_current_course_completed% - %parkour_current_course_deaths% - %parkour_current_course_name% - %parkour_current_course_personal_best_deaths% - %parkour_current_course_personal_best_milliseconds% - %parkour_current_course_personal_best_player% - %parkour_current_course_personal_best_time% - %parkour_current_course_record_deaths% - %parkour_current_course_record_milliseconds% - %parkour_current_course_record_player% - %parkour_current_course_record_time% - %parkour_current_course_timer% - %parkour_global_course_count% - %parkour_global_player_count% - %parkour_global_version% - %parkour_leaderboard___deaths% - %parkour_leaderboard___milliseconds% - %parkour_leaderboard___player% - %parkour_leaderboard___time% - %parkour_player_courses_completed% - %parkour_player_courses_uncompleted% - %parkour_player_last_completed% - %parkour_player_last_joined% - %parkour_player_level% - %parkour_player_parkoins% - %parkour_player_personal_best__deaths% - %parkour_player_personal_best__milliseconds% - %parkour_player_personal_best__player% - %parkour_player_personal_best__time% - %parkour_player_prize_delay_% - %parkour_player_rank% - %parkour_topten__% - ``` - ----- - -- ### **[Parties](https://www.spigotmc.org/resources/3709/)** - > NO DOWNLOAD COMMAND - - ``` - %parties_color_code% - %parties_color_command% - %parties_color_name% - %parties_desc% - %parties_kills% - %parties_motd% - %parties_party% - %parties_rank_chat% - %parties_rank_name% - ``` - ----- - -- ### **[Party and Friends](https://www.spigotmc.org/resources/11633/)** - > NO DOWNLOAD COMMAND - - ``` - %friendsapi_friendcount% - %friendsapi_friendrequestcount% - %friendsapi_onlinefriendcount% - ``` - ----- - -- ### **[PermissionTimer](https://www.mc-market.org/resources/14050/)** - > /papi ecloud download PermissionTimer - - ``` - %pt_all% - %pt_perm_#% - %pt_timeleft_#% - ``` - ----- - -- ### **[PixelVip](https://www.spigotmc.org/resources/30438/)** - > NO DOWNLOAD COMMAND - - ``` - %pixelvip_expiration_millis% - %pixelvip_expiration_desc% - %pixelvip_active_vip% - ``` - ----- - -- ### **[Plan](https://www.spigotmc.org/resources/plan-player-analytics.32536/)** - > NO DOWNLOAD COMMAND - - The plugin provides placeholders for statistics stored in the plugin for players and the server. - - Check [Plan Wiki](https://github.com/plan-player-analytics/Plan/wiki/PlaceholderAPI) for the placeholders list. - ----- - -- ### **[PlayTime](https://www.spigotmc.org/resources/26016/)** - > /papi ecloud download PlayTime - - ``` - %playtime_player% - %playtime_time% - %playtime_timesjoined% - %playtime_serveruptime% - ``` - ----- - -- ### **[PlayerPoints](http://dev.bukkit.org/bukkit-plugins/playerpoints/)** - > /papi ecloud download PlayerPoints - - ``` - %playerpoints_points% - ``` - ----- - -- ### **[PlotSquared](https://www.spigotmc.org/resources/77506/)** - > NO DOWNLOAD COMMAND - - ``` - %plotsquared_currentplot_alias% - %plotsquared_currentplot_owner% - %plotsquared_currentplot_members% - %plotsquared_currentplot_members_added% - %plotsquared_currentplot_members_added_list% - %plotsquared_currentplot_members_trusted% - %plotsquared_currentplot_members_trusted_list% - %plotsquared_currentplot_members_denied% - %plotsquared_currentplot_members_denied_list% - %plotsquared_currentplot_world_name% - %plotsquared_currentplot_can_build% - %plotsquared_has_plot_% - %plotsquared_currentplot_x% - %plotsquared_currentplot_y% - %plotsquared_currentplot_xy% - %plotsquared_currentplot_rating% - %plotsquared_currentplot_biome% - %plotsquared_has_plot% - %plotsquared_has_build_rights% - %plotsquared_plot_count% - %plotsquared_plot_count_% - %plotsquared_allowed_plot_count% - %plotsquared_currentplot_localflag_% - %plotsquared_currentplot_flag_% - %plotsquared_currentplot_creationdate% - ``` - ----- - -- ### **[PointsAPI](https://www.spigotmc.org/resources/13957/)** - > NO DOWNLOAD COMMAND - - ``` - %pointsapi_points% - ``` - ----- - -- ### **[PowerRanks](https://www.spigotmc.org/resources/64696/)** - > NO DOWNLOAD COMMAND - - ``` - %powerranks_rank% - %powerranks_prefix% - %powerranks_suffix% - %powerranks_subrankprefix% - %powerranks_subranksuffix% - %powerranks_chatcolor% - %powerranks_namecolor% - %powerranks_usertag% - %powerranks_world% - %powerranks_playtime% - ``` - ----- - -- ### **[PremiumVanish](https://www.spigotmc.org/resources/14404/)** - > NO DOWNLOAD COMMAND - - ``` - %premiumvanish_isvanished% - %premiumvanish_vanishedplayers% - %premiumvanish_playercount% - %premiumvanish_playercountwithoutshowintab% - %premiumvanish_bungeeplayercount% - %premiumvanish_bungeeplayercount@% - %premiumvanish_target% - %premiumvanish_uselevel% - %premiumvanish_seelevel% - ``` - - `` is the name of the server it should show the player count of. - ----- - -- ### **[Prison](https://www.spigotmc.org/resources/1223/)** - > NO DOWNLOAD COMMAND - - Each placeholder has a shorter alias, which follows the primary placeholder below. - - **Player rank placeholders:** - Must be used directly with a player, such as with player chat prefixes. - These placeholders can return zero, one, or more rank related values depending upon how many ladders the player is on. - - ``` - %prison_rank% - %prison_r% - %prison_rank_tag% - %prison_rt% - %prison_rankup_cost% - %prison_rc% - %prison_rankup_cost_formatted% - %prison_rcf% - %prison_rankup_cost_percent% - %prison_rcp% - %prison_rankup_cost_bar% - %prison_rcb% - %prison_rankup_cost_remaining% - %prison_rcr% - %prison_rankup_cost_remaining_formatted% - %prison_rcrf% - %prison_rankup_rank% - %prison_rr% - %prison_rankup_rank_tag% - %prison_rrt% - ``` - - **Player rank placeholders for individual ladders:** - Must be used directly with a player. - Use the ladder name, all lowercase, in place of ``, and it will return zero or one rank related values. - - ``` - %prison_rank_% - %prison_r_% - %prison_rank_tag_% - %prison_rt_% - %prison_rankup_cost_% - %prison_rc_% - %prison_rankup_cost_formatted_% - %prison_rcf_% - %prison_rankup_cost_percent_% - %prison_rcp_% - %prison_rankup_cost_bar_% - %prison_rcb_% - %prison_rankup_cost_remaining_% - %prison_rcr_% - %prison_rankup_cost_remaining_formatted_% - %prison_rcrf_% - %prison_rankup_rank_% - %prison_rr_% - %prison_rankup_rank_tag_% - %prison_rrt_% - %prison_player_balance% - %prison_pb% - %prison_player_balance_% - %prison_pb_% - ``` - - **Mine relate placeholders:** - Use the name of the mine, all lowercase, in place of ``. - - ``` - %prison_mines_name_% - %prison_mn_% - %prison_mines_tag_% - %prison_mt_% - %prison_mines_interval_% - %prison_mi_% - %prison_mines_interval_formatted_% - %prison_mif_% - %prison_mines_timeleft_% - %prison_mtl_% - %prison_mines_timeleft_bar_% - %prison_mtlb_% - %prison_mines_timeleft_formatted_% - %prison_mtlf_% - %prison_mines_size_% - %prison_ms_% - %prison_mines_remaining_% - %prison_mr_% - %prison_mines_remaining_bar_% - %prison_mrb_% - %prison_mines_percent_% - %prison_mp_% - %prison_mines_player_count_% - %prison_mpc_% - %prison_mines_blocks_mined_% - %prison_mbm_% - %prison_mines_reset_count_% - %prison_mrc_% - ``` - - **Player-mine related placeholders:** - Must be used with a player. - These placeholders will only return non-blank values when the player is in a mine, and the results will be for that mine. - - ``` - %prison_mines_name_playermines% - %prison_mn_pm% - %prison_mines_tag_playermines% - %prison_mt_pm% - %prison_mines_interval_playermines% - %prison_mi_pm% - %prison_mines_interval_formatted_playermines% - %prison_mif_pm% - %prison_mines_timeleft_playermines% - %prison_mtl_pm% - %prison_mines_timeleft_bar_playermines% - %prison_mtlb_pm% - %prison_mines_timeleft_formatted_playermines% - %prison_mtlf_pm% - %prison_mines_size_playermines% - %prison_ms_pm% - %prison_mines_remaining_playermines% - %prison_mr_pm% - %prison_mines_remaining_bar_playermines% - %prison_mrb_pm% - %prison_mines_percent_playermines% - %prison_mp_pm% - %prison_mines_player_count_playermines% - %prison_mpc_pm% - %prison_mines_blocks_mined_playermines% - %prison_mbm_pm% - %prison_mines_reset_count_playermines% - %prison_mrc_pm% - ``` - ----- - -- ### **[PrisonMines](https://www.spigotmc.org/resources/4046/)** - > /papi ecloud download PrisonMines - - ``` - # Mine-specific placeholders - %prisonmines_blocks_mined_% - %prisonmines_percent_mined_% - %prisonmines_percent_left_% - %prisonmines_time_until_reset_% - %prisonmines_has_timed_reset_% - %prisonmines_has_percentage_reset_% - - # Player specific placeholders (Use Mine at the player's location) - %prisonmines_name% - %prisonmines_blocks_mined% - %prisonmines_percent_mined% - %prisonmines_percent_left% - %prisonmines_time_until_reset% - %prisonmines_has_timed_reset% - %prisonmines_has_percentage_reset% - ``` - ----- - -- ### **[PrisonRanksX](https://www.spigotmc.org/resources/55899)** - > NO DOWNLOAD COMMAND - - ``` - %prisonranksx_currentrank_name% - %prisonranksx_currentrank_displayname% - %prisonranksx_rankup_name% - %prisonranksx_rankup_displayname% - %prisonranksx_rankup_progress% - %prisonranksx_rankup_progress_double% - %prisonranksx_rankup_percentage% - %prisonranksx_rankup_cost% - %prisonranksx_rankup_cost_formatted% - %prisonranksx_prestige_name% - %prisonranksx_prestige_displayname% - %prisonranksx_nextprestige_cost% - %prisonranksx_nextprestige_cost_formatted% - %prisonranksx_money% - ``` - ----- - -- ### **[ProCosmetics](https://www.spigotmc.org/resources/49106/)** - > NO DOWNLOAD COMMAND - - ``` - %procosmetics_coins% - %procosmetics_cosmetics_activated% - %procosmetics_treasures_% - ``` - ----- - -- ### **[ProfessionalBans](https://www.spigotmc.org/resources/63657/)** - > NO DOWNLOAD COMMAND - - ``` - %professionalbans_onlinetime% - %professionalbans_firstjoin% - %professionalbans_reports% - ``` - ----- - -- ### **[ProQuest](https://www.spigotmc.org/resources/18249/)** - > NO DOWNLOAD COMMAND - - ``` - %proquests_completed_quests% - %proquests_active_quests% - %proquests_monthly_points% - %proquests_total_points% - %proquests_progress_bar_% - %proquests_progress_% - %proquests_total_% - ``` - ----- - -- ### **[ProtectionStones](https://www.spigotmc.org/resources/61797/)** - > NO DOWNLOAD COMMAND - - You can find an up-to-date list of placeholders in the [ProtectionStones Wiki](https://github.com/espidev/ProtectionStones/wiki/Placeholders). - ----- - -- ### **[PvPLevels](https://www.spigotmc.org/resources/20807/)** - > NO DOWNLOAD COMMAND - - ``` - %pvplevels_kills% - %pvplevels_deaths% - %pvplevels_xp% - %pvplevels_level% - %pvplevels_kdr% - %pvplevels_killstreak% - %pvplevels_xp_required% - %pvplevels_xp_progress% - %pvplevels_xp_progress_style% - %pvplevels_prefix% - %pvplevels_group% - ``` - ----- - -- ### **[PVP Stats](http://dev.bukkit.org/bukkit-plugins/pvp-stats/)** - > NO DOWNLOAD COMMAND - - ``` - %pvpstats_kills% - %pvpstats_deaths% - %pvpstats_elo% - %pvpstats_killstreak% - %pvpstats_maxstreak% - ``` - ----- - -- ### **[PvPStats Plugin](https://www.spigotmc.org/resources/69984/)** - > NO DOWNLOAD COMMAND - - ``` - %pvpstats_kills% - %pvpstats_deaths% - %pvpstats_killstreak% - %pvpstats_kdr% - ``` - ----- - -- ### **[Quests](https://www.spigotmc.org/resources/3711/)** - > /papi ecloud download Quests - - ``` - %quests_player_quest_points% - %quests_player_has_journal% - %quests_player_current_quest_amount% - %quests_player_completed_quest_amount% - %quests_player_current_quest_names% - %quests_player_completed_quest_names% - %quests_player_current_objectives_% - %quests_player_has_current_quest_% - %quests_player_has_completed_quest_% - %quests_player_cooldown_time_remaining_% - %quests_player_current_stage_number_% - %quests_player_can_accept_quest_% - %quests_player_meets_requirements_to_start_% - ``` - ----- - -- ### **[QuestCreator](https://www.spigotmc.org/resources/38734/)** - > NO DOWNLOAD COMMAND - - ``` - %questcreator_status_[model id]% - %questcreator_completion_[model id]% - %questcreator_cooldownmillis_[model id]% - %questcreator_cooldown_[model id]% - %questcreator_lastcompletionmillis_[model id]% - %questcreator_lastcompletion_[model id]% - %questcreator_variable_[variable name]% - %questcreator_hasjournaltoggle% - ``` - ----- - -- ### **[QuickSell](https://www.spigotmc.org/resources/6107/)** - > /papi ecloud download QuickSell - - ``` - %quicksell_booster% - %quicksell_booster_time% - ``` - ----- - -- ### **[RecentFind (Treasures Add-on)](https://www.spigotmc.org/resources/33366/)** - > NO DOWNLOAD COMMAND - - ``` - %treasuresrecentfind_find_number_% - %treasuresrecentfind_from_first_% - ``` - 1 is most recent, 2 is second most, 3 third most, etc. - ----- - -- ### **[RabbitsVSPenguins](https://www.spigotmc.org/resources/65277/)** - > NO DOWNLOAD COMMAND - - ``` - %rvp_arenaplayers_count_< arena >% - %rvp_arena_status_< arena >% - %rvp_kills% - %rvp_loses% - %rvp_ties% - %rvp_wins% - ``` - ----- - -- ### **[RageMode](https://www.spigotmc.org/resources/69169/)** - > NO DOWNLOAD COMMAND - - ``` - %ragemode_kills% - %ragemode_axe_kills% - %ragemode_direct_arrow_kills% - %ragemode_explosion_kills% - %ragemode_knife_kills% - %ragemode_deaths% - %ragemode_axe_deaths% - %ragemode_direct_arrow_deaths% - %ragemode_explosion_deaths% - %ragemode_knife_deaths% - %ragemode_current_streak% - %ragemode_longest_streak% - %ragemode_points% - %ragemode_games% - %ragemode_wins% - %ragemode_kd% - %ragemode_rank% - ``` - ----- - -- ### **[Rankup](https://www.spigotmc.org/resources/17933/)** - > NO DOWNLOAD COMMAND - - ``` - %rankup_current_rank% - %rankup_next_rank% - %rankup_current_prestige% - %rankup_next_prestige% - %rankup_money% - %rankup_money_formatted% - %rankup_prestige_money% - %rankup_prestige_money_formatted% - %rankup_money_left% - %rankup_money_left_formatted% - %rankup_percent_left% - %rankup_percent_left_formatted% - %rankup_percent_done_formatted% - %rankup_requirement_[_]% - %rankup_rank_requirement__[_]% - %rankup_rank_money_% - %rankup_rank_money__left% - %rankup_rank_requirement__money_percent_[done/left]% - ``` - ----- - -- ### **[RealisticWorldGenerator](https://www.spigotmc.org/resources/15905/)** - > NO DOWNLOAD COMMAND - - ``` - %rwg_schematicAmount% - %rwg_schematics% - %rwg_biome% - %rwg_position1% - %rwg_position2% - ``` - ----- - -- ### **[RedProtect](http://otmc.org/resources/15841/)** - > NO DOWNLOAD COMMAND - - ``` - %redprotect_player_in_region% - %redprotect_player_used_claims% - %redprotect_player_used_blocks% - %redprotect_player_total_claims% - %redprotect_player_total_blocks% - %redprotect_region_flag_value_% - ``` - ----- - -- ### **[ReferralSystem](https://www.spigotmc.org/resources/29709/)** - > NO DOWNLOAD COMMAND - - ``` - %rs_points% - %rs_referrals% - ``` - ----- - -- ### **[RestrictedDimensions](https://www.spigotmc.org/resources/80574/)** - > NO DOWNLOAD COMMAND - - ``` - %restricteddimensions_has_access_% - ``` - ----- - -- ### **[RocketPlaceholders](https://www.spigotmc.org/resources/82678/)** - > NO DOWNLOAD COMMAND - - ``` - %rp_% - ``` - - `` is the name you configured in the config.yml of this plugin. - [Read More](https://docs.rocketplugins.space/rocketplaceholders/configure) - ----- - -- ### **[RogueParkour](https://www.spigotmc.org/resources/26563/)** - > /papi ecloud download rogueparkour-temporary - - ``` - %RogueParkour-temporary_top_;% - %RogueParkour-temporary_get_% - ``` - ----- - -- ### **[RoyalCommands](https://www.spigotmc.org/resources/4113/)** - > NO DOWNLOAD COMMAND - - ``` - %royalcommands_nickname% - ``` - ----- - -- ### **[RPGInventory](https://www.spigotmc.org/resources/12498/)** - > NO DOWNLOAD COMMAND - - ``` - %rpginv_damage_bonus% - %rpginv_bow_damage_bonus% - %rpginv_hand_damage_bonus% - %rpginv_crit_damage_bonus% - %rpginv_crit_chance% - %rpginv_armor_bonus% - %rpginv_speed_bonus% - %rpginv_jump_bonus% - ``` - ----- - -- ### **[RTP](https://www.spigotmc.org/resources/94812/)** - > NO DOWNLOAD COMMAND - - ``` - %rtp_player_status% - %rtp_total_queue_length% - %rtp_public_queue_length% - %rtp_personal_queue_length% - %rtp_teleport_world% - %rtp_teleport_x% - %rtp_teleport_y% - %rtp_teleport_z% - ``` - ----- - -- ### **[Seasons](https://www.spigotmc.org/resources/39298/)** - > NO DOWNLOAD COMMAND - - ``` - %seasons_season% - %seasons_season_[world]% - %seasons_weather% - %seasons_weather_[world]% - %seasons_day% - %seasons_day_[world]% - ``` - - Replace `[world]` with the name of a loaded world. - *Placeholders ending in a `[world]` will retrieve information from the specified world instead of the player's current world.* - ----- - -- ### **[SellAll](https://www.spigotmc.org/resources/1221/)** - > NO DOWNLOAD COMMAND - - ``` - %sellall_multiplier% - %sellall_multitime% - ``` - ----- - -- ### **[SignLink](https://www.spigotmc.org/resources/39593/)** - > NO DOWNLOAD COMMAND - - ``` - %sl_[variable name]% - ``` - - Replace `[variable name]` with the name of the signlink variable. - ----- - -- ### **[SimpleClans](https://www.spigotmc.org/resources/71242/)** - > NO DOWNLOAD COMMAND - - You can find an up-to-date list of placeholders in the [SimpleClans Wiki](https://simpleclans.gitbook.io/simpleclans/other/placeholderapi-support). - ----- - -- ### **[SimpleCoins](https://dev.bukkit.org/projects/simplecoins) - > NO DOWNLOAD COMMAND - - ``` - %simplecoins_balane% - %simplecoins_currency_name% - ``` - ----- - -- ### **[SimpleCoinsAPI](https://www.spigotmc.org/resources/1432/)** - > NO DOWNLOAD COMMAND - - ``` - %simplecoinsapi_coins% - ``` - ----- - -- ### **[SimpleKillTracker](https://www.spigotmc.org/resources/17651/)** - > NO DOWNLOAD COMMAND - - ``` - %simplekilltracker_kills% - %simplekilltracker_deaths% - %simplekilltracker_kdr% - ``` - ----- - -- ### **[SimplePrefix](http://dev.bukkit.org/bukkit-plugins/simple-prefix/)** - > /papi ecloud download SimplePrefix - - ``` - %simpleprefix_prefix% - %simpleprefix_suffix% - ``` - ----- - -- ### **[Simple Suffix](http://dev.bukkit.org/bukkit-plugins/simple-suffix/)** - > NO DOWNLOAD COMMAND - - ``` - %simplesuffix_prefix% - %simplesuffix_suffix% - ``` - ----- - -- ### **[SkillAPI](https://www.spigotmc.org/resources/4824/)** - > /papi ecloud download SkillAPI - - ``` - %skillapi_attribute_points% - %skillapi_mana% - %skillapi_max_mana% - %skillapi_skill_level_% - %skillapi_skill_points_% - %skillapi_skill_cost_% - %skillapi_skill_levelreq_% - %skillapi_skill_is_maxed_% - %skillapi_skill_message_% - %skillapi_skill_type_% - %skillapi_skill_req_% - ``` - - The following placeholders are the same as above but instead of specifying the skillName, you can specify a number from 1 to pretty much infinity (amount of skills a player has) which will show the information related to the players 1st, 2nd, 3rd skill and so on... - ``` - %skillapi_player_skill_points_<#>% - %skillapi_player_skill_level_<#>% - %skillapi_player_skill_levelreq_<#>% - %skillapi_player_skill_name_<#>% - %skillapi_player_skill_message_<#>% - %skillapi_player_skill_req_<#>% - %skillapi_player_skill_type_<#>% - %skillapi_player_skill_can_autolevel_<#>% - %skillapi_player_skill_can_cast_<#>% - ``` - ----- - -- ### **[SkinsRestorer](https://www.spigotmc.org/resources/2124/)** - > /papi ecloud download SkinsRestorer - - ``` - %skinsrestorer_getSkinName% - ``` - ----- - -- ### **[Skript](https://github.com/bensku/Skript)** - > /papi ecloud download skript - - ``` - %skript_% - ``` - ----- - -- ### **[SkyWars](hhttps://www.spigotmc.org/resources/6525/)** - > NO DOWNLOAD COMMAND - - ``` - %skywars_coins% - %skywars_stats_deaths% - %skywars_stats_kills% - %skywars_stats_wins% - %skywars_stats_played% - %skywars_stats_arrow_shot% - %skywars_stats_arrow_hit% - %skywars_stats_blocks_broken% - %skywars_stats_blocks_placed% - %skywars_stats_distance_walked% - %skywars_stats_time_played% - %skywars_glass% - %skywars_arena_name% - %skywars_arena_max_players% - %skywars_arena_ingame_players% - ``` - ----- - -- ### **[SkyWars X](hhttps://www.spigotmc.org/resources/28120/)** - > NO DOWNLOAD COMMAND - - ``` - %skywars_players_count% - %skywars_parties_count% - %skywars_lobby_players_count% - %skywars_arenas_count% - %skywars_kits_count% - %skywars_trails_count% - %skywars_cages_count% - %skywars_kills% - %skywars_deaths% - %skywars_wins% - %skywars_modifier% - %skywars_projectiles_launched% - %skywars_projectiles_hit% - %skywars_player_exp% - %skywars_player_rank% - %skywars_blocks_placed% - %skywars_blocks_broken% - %skywars_arena% - %skywars_party_leader% - %skywars_selected_kit% - %skywars_selected_trail% - %skywars_selected_cage% - %skywars_selected_cage% - %skywars_coins% - ``` - ----- - -- ### **[SkywarsReloaded](https://www.spigotmc.org/resources/3796/)** - > NO DOWNLOAD COMMAND - - ``` - # Deprecated in old versions - %skywarsreloaded_score% - %skywarsreloaded_wins% - %skywarsreloaded_kills% - %skywarsreloaded_deaths% - %skywarsreloaded_games% - %skywarsreloaded_games_played% - %skywarsreloaded_map_name% - %skywarsreloaded_selected_kit% - %skywarsreloaded_blocks% - %skywarsreloaded_timevote% - %skywarsreloaded_time_vote% - %skywarsreloaded_opvote% - %skywarsreloaded_op_vote% - - # Tested on version (5.4.2) - %swr_wins% - %swr_losses% - %swr_kills% - %swr_deaths% - %swr_xp% - %swr_level% - %swr_games_played% - %swr_kill_death% - %swr_win_loss% - ``` - ----- - -- ### **[Spark](https://github.com/lucko/spark)** - > NO DOWNLOAD COMMAND - - ``` - %spark_tps% - %spark_tps_5s% - %spark_tps_10s% - %spark_tps_1m% - %spark_tps_5m% - %spark_tps_15m% - %spark_cpu_system% - %spark_cpu_system_10s% - %spark_cpu_system_1m% - %spark_cpu_system_15m% - %spark_cpu_process% - %spark_cpu_process_10s% - %spark_cpu_process_1m% - %spark_cpu_process_15m% - %spark_tickduration% - %spark_tickduration_10s% - %spark_tickduration_1m% - ``` - ----- - -- ### **[SQLPerms](https://www.spigotmc.org/resources/1462/)** - > NO DOWNLOAD COMMAND - - ``` - %sqlperms_rank_% - %sqlperms_prefix_% - ``` - ----- - -- ### **[SQLTokens](https://www.spigotmc.org/resources/3482/)** - > NO DOWNLOAD COMMANDS - - ``` - %sqltokens_tokens% - ``` - ----- - -- ### **[Staff Facilities](https://www.spigotmc.org/resources/13097/)** - > /papi ecloud download StaffFacilities - - ``` - %stafffacilities_bungeetotal% - %stafffacilities_staffonline% - %stafffacilities_onlineplayers% - %stafffacilities_dutysize% - %stafffacilities_ischatmuted% - %stafffacilities_playergamemode% - %stafffacilities_isplayerfrozen% - %stafffacilities_maintenancemode% - %stafffacilities_amountofreports% - %stafffacilities_onduty% - %stafffacilities_ongodmode% - %stafffacilities_onfly% - %stafffacilities_vanished% - %stafffacilities_fakeleaved% - %stafffacilities_watchovered% - %stafffacilities_staffwatched% - %stafffacilities_staffvanished% - %stafffacilities_tab_duty% - %stafffacilities_tab_fakeleave% - %stafffacilities_tab_freeze% - %stafffacilities_tab_staffvanish% - %stafffacilities_tab_vanish% - ``` - ----- - -- ### **[Staff++](https://www.spigotmc.org/resources/staff.83562/)** -> /papi ecloud download staffplusplus - -All placeholders are listed here: https://wiki.staffplusplus.org/integrations/papi-expansion - ----- - -- ### **[Statz](https://www.spigotmc.org/resources/25969/)** - > /papi ecloud download Statz - - ``` - %statz_deaths% - %statz_blocks_broken% - %statz_blocks_placed% - %statz_blocks_broken_% - %statz_blocks_placed_% - %statz_blocks_broken_% - %statz_blocks_placed_% - %statz_caught_items% - %statz_crafted_items% - %statz_damage_taken% - %statz_distance_traveled% - %statz_distance_traveled_allworlds_% - %statz_distance_traveled_% - %statz_distance_traveled_:% - %statz_food_eaten% - %statz_food_eaten_% - %statz_joins% - %statz_mobs_killed% - %statz_mobs_killed_% - %statz_players_killed% - %statz_time_formated_dhm% - %statz_time_formated_dh% - %statz_time_formated_d% - %statz_time_day% - %statz_time_hour% - %statz_time_minute% - %statz_time_played% - %statz_times_shorn% - %statz_villager_trades% - %statz_villager_trades_% - %statz_xp_gained% - ``` - ----- - -- ### **[Streaming Drops](https://www.spigotmc.org/resources/76996/)** - > NO DOWNLOAD COMMAND - - ``` - %streamingdrops_dropsamount% - %streamingdrops_generaldropsamount% - %streamingdrops_globallivetag% - %streamingdrops_nextdroptime% - %streamingdrops_senddrops% - %streamingdrops_streamerlivetag% - %streamingdrops_topdropsprefix% - %streamingdrops_twitch% - ``` - ----- - -- ### **[StrikePractice 2](https://www.spigotmc.org/resources/46906/)** - > NO DOWNLOAD COMMAND - - ``` - %strikepractice_players% - %strikepractice_next_event_name% - %strikepractice_next_event_time% - %strikepractice_in_fight% - %strikepractice_in_queue% - %strikepractice_in_ranked_queue% - %strikepractice_in_unranked_queue% - %strikepractice_online_staff% - %strikepractice_tps% - %strikepractice_time% - - # Per Player/Event placeholders - %strikepractice_ping% - %strikepractice_kills% - %strikepractice_deaths% - %strikepractice_premiummatches% - %strikepractice_brackets_wins% - %strikepractice_lms_wins% - %strikepractice_party_vs_party_wins% - %strikepractice_player% - %strikepractice_custom_name% - %strikepractice_display_name% - %strikepractice_world% - %strikepractice_global_elo% - %strikepractice_elo_rank% - %strikepractice_elo_% - %strikepractice_party_members% - %strikepractice_party_owner% - %strikepractice_enderpearl_cooldown% - %strikepractice_is_enderpearl_cooldown% - %strikepractice_arena% - %strikepractice_kit% - %strikepractice_raw_arena% - %strikepractice_raw_kit% - %strikepractice_ranked% - %strikepractice_is_cooldown_(tag)% - %strikepractice_cooldown _(tag)% - %strikepractice_duration% - %strikepractice_total_duration% - %strikepractice_opponent% - %strikepractice_opponent_ping% - %strikepractice_cps% - %strikepractice_opponent_cps% - %strikepractice_total_rounds% - %strikepractice_round% - %strikepractice_own_wins% - %strikepractice_opponent_wins% - %strikepractice_is_bestof% - %strikepractice_build% - %strikepractice_ffa_players% - %strikepractice_ffa_rollback% - %strikepractice_[sumo/juggernaut/koth/lms/brackets]_started% - %strikepractice_enemy_team_members% - %strikepractice_own_team_members% - %strikepractice_enemy_team_left% - %strikepractice_own_team_left% - %strikepractice_search_range1% - %strikepractice_search_range1% - %strikepractice_queuetype% - %strikepractice_wait_time% - %strikepractice_current_fight_player1% - %strikepractice_current_fight_player2% - %strikepractice_player1_ping% - %strikepractice_player2_ping% - %strikepractice_player1_cps% - %strikepractice_player2_cps% - %strikepractice_players_left% - %strikepractice_total_players% - %strikepractice_estimated_time_left% - %strikepractice_alive% - %strikepractice_timer% - %strikepractice_capper% - %strikepractice_capper_team% - %strikepractice_juggernaut% - %strikepractice_limits_update% - %strikepractice_rankeds_left% - %strikepractice_rank% - %strikepractice_unrankeds_left% - - %strikepractice_top_[stats][number]% - %strikepractice_top_[stats][number]_value% - ``` - ----- - -- ### **[stTitles](https://www.spigotmc.org/resources/8310/)** - > NO DOWNLOAD COMMANDS - - ``` - %sttitles_name% - %sttitles_id% - %sttitles_display% - %sttitles_content% - ``` - ----- - -- ### **[SubServers](https://github.com/ME1312/SubServers-2)** - > NO DOWNLOAD COMMAND - - ``` - %subservers_proxies()% - %subservers_proxy.displayname()% - %subservers_proxy.type()_{Master Proxy, Proxy}% - %subservers_proxy.players()% - %subservers_proxy.subdata()_{Connected, Disconnected}% - %subservers_proxy.subdata.channels()% - %subservers_proxy.subdata.subchannels()% - %subservers_proxy.signature()% - - %subservers_hosts()% - %subservers_host.displayname()% - %subservers_host.available()_{Available, Unavailable}% - %subservers_host.enabled()_{Enabled, Disabled}% - %subservers_host.address()% - %subservers_host.creator.templates()% - %subservers_host.creator.template.displayname(,