From 82761594654e70fed89d9f9c637bd5d942af046c Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Thu, 30 Jun 2022 19:49:50 +0000
Subject: [PATCH] Update pages
---
.github/workflows/push_to_wiki.yml | 39 +
Commands.md | 8 +-
Common-Issues.md | 35 +
Home.md | 4 +-
PlaceholderExpansion.md | 15 +-
Plugins-using-PlaceholderAPI.md | 2 +-
_Footer.md | 2 +-
.../Commands.md | 239 +
.../Expansion-cloud.md | 67 +
.../FAQ.md | 55 +
.../Home.md | 77 +
.../Hook-into-PlaceholderAPI.md | 142 +
.../PlaceholderExpansion.md | 381 ++
.../Placeholders.md | 5998 +++++++++++++++++
.../Plugins-using-PlaceholderAPI.md | 1049 +++
.../_Footer.md | 23 +
.../_Sidebar.md | 77 +
.../img/icon.png | Bin 0 -> 98371 bytes
.../img/papi-logo.png | Bin 0 -> 17997 bytes
.../img/wiki-logo.png | Bin 0 -> 12743 bytes
...5b58795eb840d8951065ae0d5b98f81fc460c3.txt | 1 +
21 files changed, 8196 insertions(+), 18 deletions(-)
create mode 100644 .github/workflows/push_to_wiki.yml
create mode 100644 Common-Issues.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Commands.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Expansion-cloud.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/FAQ.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Home.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Hook-into-PlaceholderAPI.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/PlaceholderExpansion.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Placeholders.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Plugins-using-PlaceholderAPI.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/_Footer.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/_Sidebar.md
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/img/icon.png
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/img/papi-logo.png
create mode 100644 temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/img/wiki-logo.png
create mode 100644 temp_wiki_excluded_ed5b58795eb840d8951065ae0d5b98f81fc460c3.txt
diff --git a/.github/workflows/push_to_wiki.yml b/.github/workflows/push_to_wiki.yml
new file mode 100644
index 0000000..6920935
--- /dev/null
+++ b/.github/workflows/push_to_wiki.yml
@@ -0,0 +1,39 @@
+#
+# This is a GitHub Action that allows us to auto-update the wiki
+# when a Pull request changes specific files in the wiki branch.
+#
+name: Update Wiki from Repository
+
+on:
+ push:
+ #
+ # Only trigger when the push changes any files in the wiki-folder.
+ #
+ branches:
+ - 'wiki'
+ #
+ # Ignore changes to the README.md file
+ #
+ paths-ignore:
+ - 'README.md'
+ #
+ # Releases cause this action to also fire.
+ # Using this prevents this problem.
+ #
+ tags-ignore:
+ - '**'
+
+jobs:
+ update:
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Checkout Code'
+ uses: actions/Checkout@v3
+ - name: 'Update Wiki'
+ uses: Andrew-Chen-Wang/github-wiki-action@v3
+ env:
+ WIKI_DIR: '.'
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GH_MAIL: 'actions@github.com'
+ GH_NAME: 'github-actions[bot]'
+ EXCLUDED_FILES: 'README.md'
diff --git a/Commands.md b/Commands.md
index 6316624..071ea40 100644
--- a/Commands.md
+++ b/Commands.md
@@ -3,9 +3,9 @@ This page shows all commands, including with a detailed description of what ever
## Overview
- **[Parse Commands](#parse-commands)**
- - [`/papi bcparse `](#papi-bcparse)
+ - [`/papi bcparse `](#papi-bcparse)
- [`/papi cmdparse `](#papi-cmdparse)
- - [`/papi parse `](#papi-parse)
+ - [`/papi parse `](#papi-parse)
- [`/papi parserel `](#papi-parserel)
- **[eCloud Commands](#ecloud-commands)**
@@ -41,7 +41,7 @@ These commands are used to parse placeholders into their respective values. Usef
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 or `--null` for no Player.
+ * `` - The Player to parse values of the placeholder (Use `me` for yourself).
* `` - The text to parse.
**Example**:
@@ -67,7 +67,7 @@ These commands are used to parse placeholders into their respective values. Usef
Parses the placeholders in a given text and shows the result.
**Arguments**:
- * `` - The Player to parse values of the placeholder. Use `me` for yourself or `--null` for no Player.
+ * `` - The Player to parse values of the placeholder (Use `me` for yourself).
* `` - The text to parse.
**Example**:
diff --git a/Common-Issues.md b/Common-Issues.md
new file mode 100644
index 0000000..bbaa00b
--- /dev/null
+++ b/Common-Issues.md
@@ -0,0 +1,35 @@
+This page lists common issues you may encounter with PlaceholderAPI and how you can solve them.
+
+If you have more questions, feel free to join the [Discord Server](https://discord.gg/helpchat).
+
+## `java.lang.NoClassDefFoundError: com/google/gson/Gson`
+
+If you encounter an issue such as
+
+```
+org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
+```
+
+does it mean that the Server you're using PlaceholderAPI on does not have Gson included.
+This is often the case for servers running 1.8 or older. To fix this, make sure to use at least 1.8.8 as that version does include the required dependency.
+
+## Expansions won't work
+
+If one or multiple expansions don't work, make sure you checked the following:
+
+- You executed `/papi reload` after downloading the expansion(s).
+- Any required plugin is installed and enabled.
+- The expansion is valid (See next sections).
+
+## `Failed to load expansion class ...`
+
+### `- One of its properties is null which is not allowed`
+
+When this error appears does it mean that either `getAuthor()`, `getIdentifier()` or `getVersion()` in the expansion return `null` which is not allowed.
+In such a case, contact the developer of the expansion and inform them about this issue and that it should be fixed.
+
+### `(Is a dependency missing?)`
+
+This error is given whenever the expansion cannot be loaded, which often happens due to a missing dependency (required plugin) or because creating an expansion instance failed.
+
+The only thing you can do is to provide the full error so that we can check if the issue is caused by PlaceholderAPI (More unlikely) or by the expansion.
\ No newline at end of file
diff --git a/Home.md b/Home.md
index 136a104..6a24fd0 100644
--- a/Home.md
+++ b/Home.md
@@ -1,7 +1,6 @@
+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/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Hook-into-PlaceholderAPI.md b/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Hook-into-PlaceholderAPI.md
new file mode 100644
index 0000000..d50e61e
--- /dev/null
+++ b/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Hook-into-PlaceholderAPI.md
@@ -0,0 +1,142 @@
+[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/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/PlaceholderExpansion.md b/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/PlaceholderExpansion.md
new file mode 100644
index 0000000..2957f8e
--- /dev/null
+++ b/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/PlaceholderExpansion.md
@@ -0,0 +1,381 @@
+[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/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Placeholders.md b/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Placeholders.md
new file mode 100644
index 0000000..ca88977
--- /dev/null
+++ b/temp_wiki_ed5b58795eb840d8951065ae0d5b98f81fc460c3/Placeholders.md
@@ -0,0 +1,5998 @@
+[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.
+
+> **Note**
+> 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**
+ - **[GraalJS](#graaljs)**
+
+ - ### **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**
+ - **[Unicode](#unicode)**
+
+ - ### **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)**
+ - **[HoloMobHealth](#holomobhealth)**
+ - **[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)**
+ - **[MineResetLite](#mineresetlite)**
+ - **[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**
+ - **[OneBlock](#oneblock)**
+ - **[OnePlayerSleep](#oneplayersleep)**
+ - **[OnTime](#ontime)**
+ - **[OpEconomy](#opeconomy)**
+ - **[OreAnnouncer](#oreannouncer)**
+ - **[OreMarket](#oremarket)**
+ - **[Outpost](#outpost)**
+
+ - ### **P**
+ - **[Paintball Battle](#paintball-battle)**
+ - **[Parkour](#parkour)**
+ - **[ParkPlusMC](#parkplusmc)**
+ - **[Parties](#parties)**
+ - **[Party and Friends](#party-and-friends)**
+ - **[PermissionTimer](#permissiontimer)**
+ - **[PixelVip](#pixelvip)**
+ - **[Plan](#plan)**
+ - **[PlayTime](#playtime)**
+ - **[PlaytimeRewards](#playtimerewards)**
+ - **[PlayerPoints](#playerpoints)**
+ - **[PlotSquared](#plotsquared)**
+ - **[PointsAPI](#pointsapi)**
+ - **[PowerBoard](#powerboard)**
+ - **[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**
+ - **[Sack](#sack)**
+ - **[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 changeoutput
+
+ 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)
+ %checkitem_getinfo:_,,<...>% - Returns information about an item in a slot. Returns information in the same order listed on this wiki. List is seperated via " &r" (Ex. %checkitem_getinfo:0_mat:)
+ ```
+
+ *Note: `mainhand` and `offhand` work in `getinfo:`*
+
+ **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))
+ - `nbtstrings:=;=`
+ Checks if the item's nbtStrings contains `` with the value of ``. * ^ ~
+ - `nbtints:=;=`
+ Checks if the item's nbtInts contains `` with the value of ``. * ^ ~
+
+ *For nbt data you can use compounds by putting `..` inside your string Example (`%checkitem_nbtstrings:PublicBukkitValues..executableitems:ei-id=Free_Money%`)* ^
+
+ **Notes:**
+ - \* means case-sensitive
+ - ** means only one can be used
+ - ^ means that the modifier supports the `give` placeholder
+ - ~ means that the modifier works with the `getinfo` 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_%
+ ```
+
+----
+
+- ### **[GraalJS](https://github.com/ruViolence/GraalJS-Expansion)**
+ > /papi ecloud download GraalJS
+
+ More info about this expansion can be found on the [GitHub-Repository](https://github.com/ruViolence/GraalJS-Expansion).
+
+ ```
+ %graaljs_%
+ %graaljs__arg1%
+ %graaljs__arg1,arg2,arg3%
+ ```
+
+----
+
+- ### **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_