From 0c08f1c8869ae648ca051d69c36c75ef6d3d2430 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Thu, 11 Aug 2022 17:57:49 +0200 Subject: [PATCH 1/3] [Wiki] Add question about PlaceholderExpansion --- FAQ.md | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/FAQ.md b/FAQ.md index 5f443f4..79bbc85 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2,29 +2,35 @@ Here are frequently asked questions about stuff related to PlaceholderAPI. +## What is an Expansion? +An expansion (aka PlaceholderExpansion) usualy refers to a separate jar file that is added to PlaceholderAPI's `expansion` folder to add extra placeholders to use in other plugins. +External PlaceholderExpansions are downloaded from PlaceholderAPI's eCloud through the [[`/papi ecloud download `|Commands#papi-ecloud-dpwnload]] command. + +Some plugins may provide their PlaceholderExpansion directly without any external jar file being used. + ## 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`). +- ### 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. From 44dfbf4ed4708ea39c31898922429d9c2b4f3fd4 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Fri, 12 Aug 2022 00:20:38 +0200 Subject: [PATCH 2/3] Fix typo --- FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 79bbc85..1054e19 100644 --- a/FAQ.md +++ b/FAQ.md @@ -4,7 +4,7 @@ Here are frequently asked questions about stuff related to PlaceholderAPI. ## What is an Expansion? An expansion (aka PlaceholderExpansion) usualy refers to a separate jar file that is added to PlaceholderAPI's `expansion` folder to add extra placeholders to use in other plugins. -External PlaceholderExpansions are downloaded from PlaceholderAPI's eCloud through the [[`/papi ecloud download `|Commands#papi-ecloud-dpwnload]] command. +External PlaceholderExpansions are downloaded from PlaceholderAPI's eCloud through the [[`/papi ecloud download `|Commands#papi-ecloud-download]] command. Some plugins may provide their PlaceholderExpansion directly without any external jar file being used. From 8e9dedf3dad8a67cb6d36ffd615f9fb2afd345d1 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Sun, 28 Aug 2022 23:17:38 +0200 Subject: [PATCH 3/3] typo --- FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 1054e19..ebf2db9 100644 --- a/FAQ.md +++ b/FAQ.md @@ -18,7 +18,7 @@ When a plugin or `/papi parse me %placeholder%` only returns the placeholder its **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 +- ### Plugin actually 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.