From a4d8009ce4699b1df9eb06b42832ab534cf9a45b Mon Sep 17 00:00:00 2001 From: broken1arrow Date: Wed, 12 May 2021 17:19:05 +0200 Subject: [PATCH 1/3] Has change and add descriptions Try other way and see if this work better to pull uppdates. --- wiki/Placeholders.md | 858 ++++++++++++++++++++++--------------------- 1 file changed, 433 insertions(+), 425 deletions(-) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index e89fcf5..fc73221 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -20,21 +20,21 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - **[Animations](#animations)** - **[Armor](#armor)** - **[ASCII](#ascii)** - + - ### **B** - **[BungeeCord](#bungeecord)** - + - ### **C** - **[CalculateNumbers](#calculatenumbers)** - **[CheckItem](#checkitem)** - **[CooldownBar](#cooldownbar)** - + - ### **D** - *No Expansions* - + - ### **E** - *No Expansions* - + - ### **F** - **[Formatter](#formatter)** @@ -46,17 +46,17 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - ### **I** - *No Expansions* - + - ### **J** - **[Javascript](#javascript)** - ### **K** - *No Expansions* - + - ### **L** - **[ListPlayers](#listplayers)** - **[LocalTime](#localtime)** - + - ### **M** - **[Math](#math)** - **[MVdW placeholders](#mvdw-placeholders)** @@ -65,10 +65,10 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - ### **N** - *No Expansions* - + - ### **O** - **[OtherPlayer](#otherplayer)** - + - ### **P** - **[ParseNear](#parsenear)** - **[ParseOther](#parseother)** @@ -80,14 +80,14 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - ### **Q** - *No Expansions* - + - ### **R** - **[RainbowColor](#rainbowcolor)** - **[RandomColor](#randomcolor)** - **[RedisBungee](#redisbungee)** - **[RelCon](#relcon)** - **[RNG](#rng)** - + - ### **S** - **[ScoreboardObjectives](#scoreboardobjectives)** - **[Server](#server)** @@ -95,7 +95,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - **[Sound](#sound)** - **[SpeedPerSec](#speedpersec)** - **[Statistic](#statistic)** - + - ### **T** - **[Team](#team)** - **[Teams](#teams)** @@ -105,7 +105,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - ### **V** - *No Expansions* - + - ### **W** - **[World](#world)** @@ -410,9 +410,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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_;% @@ -436,28 +436,28 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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% @@ -470,22 +470,22 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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_% @@ -495,9 +495,17 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **CalculateNumbers** > NO DOWNLOAD COMMAND - + (Will fix 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}% @@ -509,16 +517,16 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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: @@ -559,7 +567,7 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can 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 (Also checks off-hand) - + **Notes:** - * means case-sensitive - ** means only one can be used @@ -571,9 +579,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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:% @@ -593,13 +601,13 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **Formatter** > /papi ecloud download Formatter - + More info about this expansion can be found on the [GitHub-Repository](https://github.com/Andre601/Formatter-Expansion). - + ``` %formatter_number_format_% %formatter_number_format_[locale]:[format]_% - + %formatter_number_time_% %formatter_number_time_seconds_% # Handles number as seconds %formatter_number_time_secs_% # Handles number as seconds @@ -607,7 +615,7 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can %formatter_number_time_mins_% # Handles number as minutes %formatter_number_time_hours_% # Handles number as hours %formatter_number_time_hrs_% # Handles number as hours - + %formatter_replace___% %formatter_text_substring__% %formatter_text_uppercase_% @@ -618,9 +626,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **Javascript** > /papi ecloud download Javascript - + Gives you a way, to use javascript, to give a different output, depending on conditions. - + ``` %javascript_% ``` @@ -629,9 +637,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **ListPlayers** > /papi ecloud download ListPlayers - + Lists players with a certain permission or in a certain world... 'nuf said. - + ``` %listplayers_with_perm_% %listplayers_in_world_% @@ -641,27 +649,27 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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]_% @@ -671,11 +679,11 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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_% ``` @@ -704,9 +712,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **OtherPlayer** > /papi ecloud download OtherPlayer - + Lets you get placeholders for other players. (Not the one that triggers the action) - + ``` %otherplayer_displayname_% %otherplayer_gamemode_% @@ -730,9 +738,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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 @@ -742,11 +750,11 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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}% ``` @@ -755,12 +763,12 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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% @@ -778,9 +786,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **Player** > /papi ecloud download Player - + Gives you various placeholders for the player, that triggers the action. - + ``` %player_allow_flight% %player_bed_x% @@ -853,33 +861,33 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### 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 @@ -889,9 +897,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can %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 `,`.** @@ -899,9 +907,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **Plugin** > /papi ecloud download Plugin - + Returns information about the specified plugin. - + ``` %plugin_isenabled_% %plugin_isdisabled_% @@ -912,9 +920,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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:% @@ -923,7 +931,7 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can %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!% ``` @@ -932,13 +940,13 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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% ``` @@ -946,9 +954,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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% @@ -961,9 +969,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **RedisBungee** > /papi ecloud download RedisBungee - + Same like the [BungeeCord-placeholders](#bungeecord), but for RedisBungee - + ``` %redisbungee_total% %redisbungee_% @@ -973,9 +981,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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__% @@ -987,9 +995,9 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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% @@ -1000,23 +1008,23 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **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% @@ -1044,35 +1052,35 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can %server_countdown__