Compare commits

..

2 Commits

Author SHA1 Message Date
Andre_601
721cc30e0c Merge branch 'wiki' into feat/wiki-deluxemenus-placeholders 2024-12-04 16:38:07 +01:00
Andre_601
4df989c620 [Wiki] Add new DeluxeMenus placeholders 2024-07-21 02:48:13 +02:00
5 changed files with 86 additions and 400 deletions

View File

@@ -37,7 +37,7 @@ In order to not repeat the same basic info for each method throughout this page,
Tab the :material-plus-circle: icons in the code block below for additional information. Tab the :material-plus-circle: icons in the code block below for additional information.
/// ///
```java { .annotate title="SomeExpansion.java" } ```{ .java .annotate title="SomeExpansion.java" }
package at.helpch.placeholderapi.example.expansion; package at.helpch.placeholderapi.example.expansion;
import me.clip.placeholderapi.expansion.PlaceholderExpansion; import me.clip.placeholderapi.expansion.PlaceholderExpansion;
@@ -45,71 +45,52 @@ import me.clip.placeholderapi.expansion.PlaceholderExpansion;
public class SomeExpansion extends PlaceholderExpansion { public class SomeExpansion extends PlaceholderExpansion {
@Override @Override
@NotNull
public String getAuthor() { public String getAuthor() {
return "Author"; // (1) return "Author"; // (1)
} }
@Override @Override
@NotNull
public String getIdentifier() { public String getIdentifier() {
return "example"; // (2) return "example"; // (2)
} }
@Override @Override
@NotNull
public String getVersion() { public String getVersion() {
return "1.0.0"; // (3) return "1.0.0"; // (3)
} }
// These methods aren't overriden by default.
// You have to override one of them.
@Override
public String onRequest(OfflinePlayer player, @NotNull String params) {
// (4)
}
@Override
public String onPlaceholderRequest(Player player, @NotNull String params) {
// (5)
}
} }
``` ```
1. This method allows you to set the name of the expansion's author. May not be null. 1. This method allows you to set the name of the expansion's author.
2. The identifier is the part in the placeholder that is between the first `%` (or `{` for bracket placeholders) and the first `_`. 2. The identifier is the part in the placeholder that is between the first `%` (or `{` if bracket placeholders are used) and the first `_`.
The identifier may not be null nor contain `%`, `{`, `}` or `_`. The identifier may not contain `%`, `{`, `}` or `_`.
If you still want to use them in your expansion name, override the `getName()` method. If you still want to use them in your expansion name, override the `getName()` method.
3. This method returns the version of the expansion. May not be null. 3. This method returns the version of the expansion.
Due to it being a string are you not limited to numbers alone, but it is recommended to stick with a number pattern. Due to it being a string are you not limited to numbers alone, but it is recommended to stick with a number pattern.
PlaceholderAPI uses this String to compare with the latest version on the eCloud (if uploaded to it) to see if a new version is available. PlaceholderAPI uses this String to compare with the latest version on the eCloud (if uploaded to it) to see if a new version is available.
If your expansion is included in a plugin, this does not matter. If your expansion is included in a plugin, this does not matter.
4. Called by PlaceholderAPI to have placeholder values parsed. You must also choose between one of these two methods for handling the actual parsing of placeholders (Exception being expansions providing [relational placeholders](#making-a-relational-expansion)):
When not overriden will call `onPlaceholderRequest(Player, String)`, converting the OfflinePlayer to a Player if possible or else providing `null`.
Using this method is recommended for the usage of the OfflinePlayer, allowing to use data from a player without their precense being required.
**Parameters**:
- `player` - Nullable OfflinePlayer instance to parse placeholders against.
- `params` - Non-null String representing the part of the placeholder after the first `_` and before the closing `%` (or `}` for bracket placeholders).
5. Called by PlaceholderAPI through `onRequest(OfflinePlayer, String)` to have placeholder values parsed. - `onRequest(OfflinePlayer, String)`
When not overriden will return `null`, which PlaceholderAPI will understand as an invalid Placeholder. The first parameter is the player that the placeholders are parsed against, given as an OfflinePlayer instance. This can be null.
The second parameter is the content of the placeholder after the first `_` and before the closing `%` (or `}` if bracket placeholders are used). This String is never null.
**Parameters**: If not explicity overriden, this will automatically call `onPlaceholderRequest(Player, String)`, passing the parameters as-is to it.
This method is recommended as it allows the usage of offline players, meaning the player does not need to be online to obtain certain certain data from them such as name or UUID.
- `onPlaceholderRequest(Player, String)`
The first parameter is the player that the placeholders are parsed against, given as a Player instance. This can be null.
The second parameter is the content of the placeholder after the first `_` and before the closing `%` (or `}` if bracket placeholders are used). This String is never null.
- `player` - Nullable Player instance to parse placeholders against. If not set, this method will return `null` which PlaceholderAPI sees as an invalid placeholder.
- `params` - Non-null String representing the part of the placeholder after the first `_` and before the closing `%` (or `}` for bracket placeholders).
/// note /// note
Overriding `onRequest(OfflinePlayer, String)` or `onPlaceholderRequest(Player, String)` is not required if you [create relational placeholders](#making-a-relational-expansion). PlaceholderAPI always calls `onRequest(Player, String)` in a PlaceholderExpansion.
/// ///
---- ----
@@ -139,7 +120,7 @@ Please see the [Basic PlaceholderExpansion Structure](#basic-placeholderexpansio
Tab the :material-plus-circle: icons in the code block below for additional information. Tab the :material-plus-circle: icons in the code block below for additional information.
//// ////
```java { .annotate title="SomeExpansion.java" } ```{ .java .annotate title="SomeExpansion.java" }
package at.helpch.placeholderapi.example.expansion; package at.helpch.placeholderapi.example.expansion;
import at.helpch.placeholderapi.example.SomePlugin; import at.helpch.placeholderapi.example.SomePlugin;
@@ -215,7 +196,7 @@ This is being done by creating a new instance of your PlaceholderExpansion class
Here is a quick example: Here is a quick example:
```java { .annotate title="SomePlugin.java" } ```{ .java .annotate title="SomePlugin.java" }
package at.helpch.placeholderapi.example; package at.helpch.placeholderapi.example;
import at.helpch.placeholderapi.example.expansion.SomeExpansion; import at.helpch.placeholderapi.example.expansion.SomeExpansion;
@@ -265,7 +246,7 @@ Tab the :material-plus-circle: icons in the code block below for additional info
This is an example expansion without any plugin dependency. This is an example expansion without any plugin dependency.
```java { .annotate title="SomeExpansion.java" } ```{ .java .annotate title="SomeExpansion.java" }
package at.helpch.placeholderapi.example.expansion; package at.helpch.placeholderapi.example.expansion;
import me.clip.placeholderapi.expansion.PlaceholderExpansion; import me.clip.placeholderapi.expansion.PlaceholderExpansion;
@@ -322,7 +303,7 @@ Tab the :material-plus-circle: icons in the code block below for additional info
This is an example expansion with a plugin dependency. This is an example expansion with a plugin dependency.
```java { .annotate title="SomeExpansion.java" } ```{ .java .annotate title="SomeExpansion.java" }
package at.helpch.placeholderapi.example.expansion; package at.helpch.placeholderapi.example.expansion;
import at.helpch.placeholderapi.example.SomePlugin; import at.helpch.placeholderapi.example.SomePlugin;

View File

@@ -9,10 +9,10 @@ This page shows all commands, including with a detailed description of what ever
## Overview ## Overview
- **[Parse Commands](#parse-commands)** - **[Parse Commands](#parse-commands)**
- [`/papi bcparse <player|me|--null> <text>`](#papi-bcparse) - [`/papi bcparse <player|me|--null> <string>`](#papi-bcparse)
- [`/papi cmdparse <player|me|--null> <text>`](#papi-cmdparse) - [`/papi cmdparse <player|me|--null> <string>`](#papi-cmdparse)
- [`/papi parse <player|me|--null> <text>`](#papi-parse) - [`/papi parse <player|me|--null> <string>`](#papi-parse)
- [`/papi parserel <player|me> <player|me> <text>`](#papi-parserel) - [`/papi parserel <player> <player> <string>`](#papi-parserel)
- **[eCloud Commands](#ecloud-commands)** - **[eCloud Commands](#ecloud-commands)**
- [`/papi ecloud clear`](#papi-ecloud-clear) - [`/papi ecloud clear`](#papi-ecloud-clear)
@@ -52,7 +52,7 @@ Parses placeholders of a String and broadcasts the result to all players.
**Arguments**: **Arguments**:
- `<player|me|--null>` - The Player to parse values of the placeholder (Use `me` for yourself and `--null` to force a null player (Useful for consoles)). - `<player|me|--null>` - The Player to parse values of the placeholder (Use `me` for yourself and `--null` to force a null player (Useful for consoles)).
- `<text>` - Text with placeholders to parse. - `<Text with placeholders>` - The text to parse.
**Example**: **Example**:
``` ```
@@ -69,7 +69,7 @@ Parses placeholders of a String and executes it as a command.
**Arguments**: **Arguments**:
- `<player|me|--null>` - The Player to parse values of the placeholder (Use `me` for yourself and `--null` to force a null player (Useful for consoles)). - `<player|me|--null>` - The Player to parse values of the placeholder (Use `me` for yourself and `--null` to force a null player (Useful for consoles)).
- `<text>` - Text with placeholders to parse and execute as command (Don't include the `/` for the command). - `<Command with placeholders>` - The Text to parse and execute as command. Please leave away the `/` of the command.
**Example**: **Example**:
``` ```
@@ -86,7 +86,7 @@ Parses the placeholders in a given text and shows the result.
**Arguments**: **Arguments**:
- `<player|me|--null>` - The Player to parse values of the placeholder (Use `me` for yourself and `--null` to force a null player (Useful for consoles)). - `<player|me|--null>` - The Player to parse values of the placeholder (Use `me` for yourself and `--null` to force a null player (Useful for consoles)).
- `<text>` - Text with placeholders to parse. - `<Text with placeholders>` - The text to parse.
**Example**: **Example**:
``` ```
@@ -102,9 +102,9 @@ Parses a relational placeholder.
**Arguments**: **Arguments**:
- `<player1|me>` - The first player (Use `me` for yourself). - `<player1>` - The first player.
- `<player2|me>` - the second player to compare with (Use `me` for yourself). - `<player2>` - the second player to compare with.
- `<text>` - Text with placeholders to parse. - `<Text with placeholders>` - The actual placeholder to parse.
**Example**: **Example**:
``` ```
@@ -116,8 +116,7 @@ Parses a relational placeholder.
### eCloud Commands ### eCloud Commands
These commands all start with `/papi ecloud` and are used for things related about the [Expansion Cloud](../developers/expansion-cloud.md). These commands all start with `/papi ecloud` and are used for things related about the [Expansion Cloud](../developers/expansion-cloud.md).
Only executing `/papi ecloud` without any arguments will list all commands available for it.
#### `/papi ecloud clear` #### `/papi ecloud clear`
@@ -251,7 +250,7 @@ Gives you information about the specified Expansion.
/// info | /// info |
**Description**: **Description**:
Lists all active/registered expansions. 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. 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` #### `/papi register`

View File

@@ -34,7 +34,7 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[CooldownBar](#cooldownbar)** - **[CooldownBar](#cooldownbar)**
- **D** - **D**
- *[Distance](#distance)* - *No Expansions*
- **E** - **E**
- **[Enchantment](#enchantment)** - **[Enchantment](#enchantment)**
@@ -81,7 +81,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[PlayerList](#playerlist)** - **[PlayerList](#playerlist)**
- **[Plugin](#plugin)** - **[Plugin](#plugin)**
- **[Progress](#progress)** - **[Progress](#progress)**
- **[PronounDB](#pronoundb)**
- **Q** - **Q**
- *No Expansions* - *No Expansions*
@@ -93,7 +92,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[RedisBungee](#redisbungee)** - **[RedisBungee](#redisbungee)**
- **[RelCon](#relcon)** - **[RelCon](#relcon)**
- **[RNG](#rng)** - **[RNG](#rng)**
- **[Reparser](#reparser)**
- **S** - **S**
- **[ScoreboardObjectives](#scoreboardobjectives)** - **[ScoreboardObjectives](#scoreboardobjectives)**
@@ -110,7 +108,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **U** - **U**
- **[Unicode](#unicode)** - **[Unicode](#unicode)**
- **[UnixTime](#unixtime)**
- **V** - **V**
- *No Expansions* - *No Expansions*
@@ -179,8 +176,9 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[CheckNameHistory](#checknamehistory)** - **[CheckNameHistory](#checknamehistory)**
- **[ClaimChunk](#claimchunk)** - **[ClaimChunk](#claimchunk)**
- **[Clans](#clans)** - **[Clans](#clans)**
- **[Clans](#clans)** - **[ClansFree](#clansfree)**
- **[Clans-API for Spigot/Clan tag in chat](#clans-api-for-spigotclan-tag-in-chat)** - **[Clans-API for Spigot/Clan tag in chat](#clans-api-for-spigotclan-tag-in-chat)**
- **[ClansPro](#clanspro)**
- **[ClanSystem](#clansystem)** - **[ClanSystem](#clansystem)**
- **[CombatLogX](#combatlogx)** - **[CombatLogX](#combatlogx)**
- **[Compassance](#compassance)** - **[Compassance](#compassance)**
@@ -235,7 +233,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[GemsEconomy](#gemseconomy)** - **[GemsEconomy](#gemseconomy)**
- **[GriefDefender](#griefdefender)** - **[GriefDefender](#griefdefender)**
- **[GriefPrevention](#griefprevention)** - **[GriefPrevention](#griefprevention)**
- **[GrimAC](#grimac)**
- **[Guilds](#guilds)** - **[Guilds](#guilds)**
- **[GuiRedeemMCMMO](#guiredeemmcmmo)** - **[GuiRedeemMCMMO](#guiredeemmcmmo)**
@@ -250,7 +247,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[HyacinthHello](#hyacinthhello)** - **[HyacinthHello](#hyacinthhello)**
- **I** - **I**
- **[ImageFrame](#imageframe)**
- **[InteractionVisualizer](#interactionvisualizer)** - **[InteractionVisualizer](#interactionvisualizer)**
- **[InteractiveChat](#interactivechat)** - **[InteractiveChat](#interactivechat)**
- **[Island Border (ASkyblock / BentoBox / uSkyBlock / AcidIsland)](#island-border)** - **[Island Border (ASkyblock / BentoBox / uSkyBlock / AcidIsland)](#island-border)**
@@ -298,7 +294,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[MyPrefixSystem](#myprefixsystem)** - **[MyPrefixSystem](#myprefixsystem)**
- **N** - **N**
- **[NameColor](#namecolor)**
- **[Nameless Plugin](#nameless-plugin)** - **[Nameless Plugin](#nameless-plugin)**
- **[NameMC-API-ServersMC Plugin](#namemc-api-serversmc)** - **[NameMC-API-ServersMC Plugin](#namemc-api-serversmc)**
- **[Nicknamer](#nicknamer)** - **[Nicknamer](#nicknamer)**
@@ -327,7 +322,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **[Plan](#plan)** - **[Plan](#plan)**
- **[PlayerStats](#playerstats)** - **[PlayerStats](#playerstats)**
- **[PlayTime](#playtime)** - **[PlayTime](#playtime)**
- **[PlayTimeManager](#playtimemanager)**
- **[PlaytimeRewards](#playtimerewards)** - **[PlaytimeRewards](#playtimerewards)**
- **[PlayerPoints](#playerpoints)** - **[PlayerPoints](#playerpoints)**
- **[PlotSquared](#plotsquared)** - **[PlotSquared](#plotsquared)**
@@ -372,7 +366,6 @@ Further details on how to contribute to this list or the wiki as a whole can be
- **S** - **S**
- **[Sack](#sack)** - **[Sack](#sack)**
- **[ScreamingBedWars](#screamingbedwars)**
- **[Seasons](#seasons)** - **[Seasons](#seasons)**
- **[SellAll](#sellall)** - **[SellAll](#sellall)**
- **[SignLink](#signlink)** - **[SignLink](#signlink)**
@@ -731,27 +724,6 @@ More info about this expansion can be found on the [GitHub-Repository](https://g
---- ----
### **Distance**
/// command | papi ecloud download Distance
///
This expansion provides placeholders to calculate the distance between two locations.
Supports placeholder inside placeholder, use `{}` instead of `%` for inner placeholders.
More info about this expansion can be found on the [GitHub-Repository](https://github.com/Clexus/DistanceExpansion).
`[]` is optional
```
%distance_x1,y1,z1[,x2,y2,z2][,decimals]%
%distance_player1[,player2][,decimals]%
%distance_player[,x,y,z][,decimals]%
%distance_UUID1[,UUID2][,decimals]%
```
----
### **Enchantment** ### **Enchantment**
/// download | https://github.com/TeamVK/PAPI-Enchantment/releases /// download | https://github.com/TeamVK/PAPI-Enchantment/releases
/// ///
@@ -787,12 +759,10 @@ Use `{{u}}` for underscores and `{{prc}}` for percent symbols.
%formatter_number_round_<number>% %formatter_number_round_<number>%
%formatter_number_round_[precision]:[roundingmode]_<number>% %formatter_number_round_[precision]:[roundingmode]_<number>%
%formatter_number_shorten_<number>% %formatter_number_shorten_<number>%
%formatter_number_shorten_<rounding_mode>_<number>%
%formatter_number_time_<number>% %formatter_number_time_<number>%
%formatter_number_time_<timeunit>_<number>% # Handles number as <timeunit> %formatter_number_time_<timeunit>_<number>% # Handles number as <timeunit>
%formatter_text_capitalize_<text>% %formatter_text_capitalize_<text>%
%formatter_text_capitalize_<option>_<text>%
%formatter_text_length_<text>% %formatter_text_length_<text>%
%formatter_text_lowercase_<text>% %formatter_text_lowercase_<text>%
%formatter_text_replace_[target]_[replacement]_<text>% %formatter_text_replace_[target]_[replacement]_<text>%
@@ -1188,18 +1158,6 @@ More info about this expansion can be found on the [GitHub-Repository](https://g
---- ----
### **PronounDB**
/// download | https://github.com/JasperLorelai/Expansion-PronounDB/releases
///
Shows the pronouns of a Minecraft player with a linked account on https://pronoundb.org/
```
%pronoundb%
```
----
### **RainbowColor** ### **RainbowColor**
/// command | papi ecloud download RainbowColor /// command | papi ecloud download RainbowColor
/// ///
@@ -1290,18 +1248,6 @@ More info about the expansion can be found on the [GitHub-Repository](https://gi
---- ----
### **Reparser**
/// command | papi ecloud download reparser
///
Parses a provided input twice.
```
%reparser_<text>%
```
----
### **ScoreboardObjectives** ### **ScoreboardObjectives**
/// command | papi ecloud download ScoreboardObjectives /// command | papi ecloud download ScoreboardObjectives
/// ///
@@ -1564,18 +1510,6 @@ Example: `%unicode_1000%` would show `က`
---- ----
### **UnixTime**
/// download | https://api.extendedclip.com/expansions/unixtime/
///
```
%unixtime_[UNIX]_[DateTimeFormat]%
```
Example: `%unixtime_1750277249389_dd.MM.yyyy-HH:mm:ss%` would show `18.06.2025 20:07:29`
----
### **World** ### **World**
/// command | papi ecloud download world /// command | papi ecloud download world
/// ///
@@ -1903,11 +1837,8 @@ For more info, visit the [wiki](https://asl.andre601.ch/placeholderapi/#own-plac
%asl_favicon% %asl_favicon%
%asl_motd% %asl_motd%
%asl_playercount_extraplayers% %asl_playercount_extraplayers%
%asl_playercount_hideplayers%
%asl_playercount_hideplayershover%
%asl_playercount_hover% %asl_playercount_hover%
%asl_playercount_maxplayers% %asl_playercount_maxplayers%
%asl_playercount_onlineplayers%
%asl_playercount_text% %asl_playercount_text%
%asl_server_playersmax% %asl_server_playersmax%
``` ```
@@ -2493,32 +2424,14 @@ Please check the [wiki](https://github.com/booksaw/PlaceholderAPI) for more info
---- ----
### **[Clans](https://www.spigotmc.org/resources/87515/)** ### **[ClansFree](https://www.spigotmc.org/resources/78415/)**
/// integrated | Built into Plugin /// integrated | Built into Plugin
/// ///
``` ```
%clans_land_status% - Get the relation status with the current claim youre in %clans_name%
%clans_land_chunk_map_line#% - Get relative claim map data in placeholder form replacing # with a number 1-5 for a 5x5 grid. %clans_raidshield%
%clans_clan_name% - Get the name of the clan of the player %clans_rank%
%clans_clan_description% - Get the description of the clan of the player
%clans_clan_color% - Get the color of the clan of the player
%clans_clan_pvp_mode% - Get the pvp mode of the clan of the player
%clans_clan_balance% - Get the money balance of the clan of the player
%clans_clan_power% - Get the amount of power points the clan of the player has.
%clans_clan_top_slot_#% - Get the name of the clan within the specified placement replacing # with the desired ranking.
%clans_clan_top_slot_#_power% - Get the name of the clan within the specified placement based on clan power replacing # with the desired ranking.
%clans_clan_top_slot_#_color% - Get the name of the clan within the specified placement but colored with their clan color repalcing # with the desired ranking.
%clans_clan_war_active% - Get the current active arena status of the player.
%clans_clan_war_score% - Get the current arena score of the clan for the player.
%clans_clan_war_hours% - Get how long the players clan has been at battle in the current arena.
%clans_clan_war_minutes% - Get how long the players clan has been at battle in the current arena.
%clans_clan_war_seconds% - Get how long the players clan has been at battle in the current arena.
%clans_clan_members_online% - Get the count of online clan members for the player
%clans_member_rank% - Get the name of the rank the player currently resides in within their clan
%clans_member_rank_short% - Get the symbol for the rank the player currently resides in within their clan.
%clans_member_bio% - Get the players bio for their clan.
%clans_raidshield_status% - Get the current raidshield status
``` ```
---- ----
@@ -2534,6 +2447,34 @@ Please check the [wiki](https://github.com/booksaw/PlaceholderAPI) for more info
---- ----
### **[ClansPro](https://www.spigotmc.org/resources/87515/)**
/// integrated | Built into Plugin
///
```
%clanspro_clan_name%
%clanspro_clan_description%
%clanspro_clan_color%
%clanspro_clan_pvp_mode%
%clanspro_clan_balance%
%clanspro_clan_power%
%clanspro_clan_top_slot_#%
%clanspro_clan_top_slot_#_power%
%clanspro_clan_top_slot_#_color%
%clanspro_clan_war_active%
%clanspro_clan_war_score%
%clanspro_clan_war_hours%
%clanspro_clan_war_minutes%
%clanspro_clan_war_seconds%
%clanspro_clan_members_online%
%clanspro_member_rank%
%clanspro_member_rank_short%
%clanspro_member_bio%
%clanspro_raidshield_status%
```
----
### **[ClanSystem](https://www.spigotmc.org/resources/34696/)** ### **[ClanSystem](https://www.spigotmc.org/resources/34696/)**
/// integrated | Built into Plugin /// integrated | Built into Plugin
/// ///
@@ -2761,13 +2702,17 @@ Please check the [wiki](https://github.com/booksaw/PlaceholderAPI) for more info
/// ///
``` ```
%deluxemenus_meta_<key>_<dataType>_<default_value>% %deluxemenus_meta_<key>_<dataType>_<defaultValue>%
%deluxemenus_meta_has_value_<key>_<dataType>%
%deluxemenus_is_in_menu%
%deluxemenus_opened_menu%
%deluxemenus_last_menu%
``` ```
- Key: The key of the meta you want to check - `<key>`: The key of the meta you want to check
- Data Type: Can be `STRING`, `BOOLEAN`, `DOUBLE`, `LONG`, or `INTEGER`. - `<dataType>`: Can be `STRING`, `BOOLEAN`, `DOUBLE`, `LONG`, or `INTEGER`.
*If the given key has a different data type, an error will occur.* *If the given key has a different data type, an error will occur.*
- Default Value: The value returned if nothing is found. - `<defaultValue>`: The value returned if nothing is found.
---- ----
@@ -3290,26 +3235,6 @@ These placeholders work with FactionsUUID and MCore all you need is downloading
---- ----
### **[GrimAC](https://modrinth.com/plugin/grimac/)**
/// integrated | Built into Plugin
///
```
%grim_player%
%grim_player_uuid%
%grim_player_ping%
%grim_player_brand%
%grim_player_h_sensitivity%
%grim_player_v_sensitivity%
%grim_player_fast_math%
%grim_player_tps%
%grim_player_version%
%grim_prefix%
%grim_version%
```
----
### **[Guilds](https://www.spigotmc.org/resources/48920/)** ### **[Guilds](https://www.spigotmc.org/resources/48920/)**
/// integrated | Built into Plugin /// integrated | Built into Plugin
/// ///
@@ -3467,19 +3392,6 @@ You can find an up-to-date list of placeholders in the [HyacinthHello wiki](http
---- ----
### **[ImageFrame](https://www.spigotmc.org/resources/106031/)**
/// integrated | Built into Plugin
///
```
%imageframe_"<player>:<imagemap>"_playback_bar_<length>_[character]_[current_section_prefix]_[remaining_section_prefix]%
%imageframe_"<player>:<imagemap>"_playback_current%
%imageframe_"<player>:<imagemap>"_playback_total%
%imageframe_"<player>:<imagemap>"_playback_pause%
```
----
### **[InteractionVisualizer](https://www.spigotmc.org/resources/77050/)** ### **[InteractionVisualizer](https://www.spigotmc.org/resources/77050/)**
/// integrated | Built into Plugin /// integrated | Built into Plugin
/// ///
@@ -3810,7 +3722,7 @@ More info about these placeholders can be found [here](https://panoply.tech/lead
---- ----
### **[LevelUp](https://polymart.org/resource/457/)** ### **[LevelUp](https://polymart.org/resource/457/)**
/// integrated | Built into Plugin /// command | papi ecloud download LevelUp
/// ///
``` ```
@@ -4235,13 +4147,12 @@ Miscellaneous placeholders:
---- ----
### **[MineResetLite](https://polymart.org/resource/137/)** ### **[MineResetLite](https://polymart.org/resource/137/)**
/// integrated | Built into Plugin /// command | papi ecloud download MineResetLite
/// ///
``` ```
%mineresetlite_<mine>_time% %mineresetlite_<mine>_time%
%mineresetlite_<mine>_time_remaining% %mineresetlite_<mine>_time_remaining%
%mineresetlite_<mine>_time_remaining_seconds%
%mineresetlite_<mine>_precentage% %mineresetlite_<mine>_precentage%
%mineresetlite_<mine>_blocks_mined% %mineresetlite_<mine>_blocks_mined%
%mineresetlite_<mine>_percentage_mined% %mineresetlite_<mine>_percentage_mined%
@@ -4265,46 +4176,10 @@ Miscellaneous placeholders:
---- ----
### **[Multiverse-Core](https://modrinth.com/plugin/multiverse-core)** ### **[Multiverse-Core](https://www.spigotmc.org/resources/390/)**
/// tab | Multiverse-Core v5 /// command | papi ecloud download multiverse
//// integrated | Built into Plugin
////
//// warning | The below Placeholders are only for Multiverse-Core v5!
////
All placeholders allow a `_<world>` to be added with `<world>` being the name of a Multiverse-loaded World.
Example: `%multiverse-core_alias_myworld%`
```
%multiverse-core_alias%
%multiverse-core_animalspawn%
%multiverse-core_autoheal%
%multiverse-core_blacklist%
%multiverse-core_currency%
%multiverse-core_difficulty%
%multiverse-core_entryfee%
%multiverse-core_environment%
%multiverse-core_flight%
%multiverse-core_gamemode%
%multiverse-core_generator%
%multiverse-core_hunger%
%multiverse-core_monstersspawn%
%multiverse-core_name%
%multiverse-core_playerlimit%
%multiverse-core_price%
%multiverse-core_pvp%
%multiverse-core_seed%
%multiverse-core_time%
%multiverse-core_type%
%multiverse-core_weather%
```
/// ///
/// tab | Multiverse-Core v4
//// command | papi ecloud download multiverse
////
``` ```
%multiverse_world_alias% %multiverse_world_alias%
%multiverse_world_all_property_names% %multiverse_world_all_property_names%
@@ -4333,7 +4208,6 @@ Example: `%multiverse-core_alias_myworld%`
%multiverse_world_style% %multiverse_world_style%
%multiverse_world_type% %multiverse_world_type%
``` ```
///
---- ----
@@ -4382,16 +4256,6 @@ Example: `%multiverse-core_alias_myworld%`
---- ----
### **[NameColor](https://modrinth.com/plugin/namecolor)**
/// integrated | Built into Plugin
///
```
%namecolor_display_name%
```
----
### **[Nameless Plugin](https://www.spigotmc.org/resources/59032/)** ### **[Nameless Plugin](https://www.spigotmc.org/resources/59032/)**
/// integrated | Built into Plugin /// integrated | Built into Plugin
/// ///
@@ -4725,7 +4589,7 @@ Replace `[Type]` with the top type. Supported values: `DAILY, WEEKLY, MONTHLY, Y
---- ----
### **[PermissionTimer](https://www.mc-market.org/resources/14050/)** ### **[PermissionTimer](https://www.mc-market.org/resources/14050/)**
/// integrated | Built into Plugin /// command | papi ecloud download PermissionTimer
/// ///
``` ```
@@ -4811,36 +4675,6 @@ For more information and usage examples, see the [PlayerStatsExpansion GitHub](h
---- ----
### **[PlayTimeManager](https://modrinth.com/plugin/playtimemanager)**
/// integrated | Built into Plugin
///
For a detailed explanation of how to use PlayTimeManager's placeholders, you can take a look at the [PlayTimeManager Wiki](https://github.com/TheGaBr0/PlayTimeManager/wiki/Placeholders).
```
%PTM_playtime%
%PTM_playtime_#%
%PTM_playtime_<nickname>%
%PTM_playtime_#_<nickname>%
%PTM_firstjoin%
%PTM_firstjoin_<nickname>%
%PTM_lastseen_<nickname>%
%PTM_lastseen_elapsed_<nickname>%
%PTM_lastseen_elapsed_#_<nickname>%
%PTM_playtime_top_<rank>%
%PTM_playtime_top_#_<rank>%
%PTM_nickname_top_<rank>%
%PTM_lastseen_top_<rank>%
%PTM_lastseen_elapsed_top_<rank>%
%PTM_lastseen_elapsed_top_#_<rank>%
%PTM_rank%
%PTM_rank_<nickname>%
%PTM_lp_prefix_top_<rank>%
%PTM_joinstreak%
%PTM_joinstreak_<nickname>%
```
----
### **[PlaytimeRewards](https://www.spigotmc.org/resources/100231/)** ### **[PlaytimeRewards](https://www.spigotmc.org/resources/100231/)**
/// integrated | Built into Plugin /// integrated | Built into Plugin
/// ///
@@ -5876,7 +5710,7 @@ For a description of the placeholders please read the [PvPManager Wiki](https://
---- ----
### **[Sack](https://polymart.org/resource/493/)** ### **[Sack](https://polymart.org/resource/493/)**
/// integrated | Built into Plugin /// command | papi ecloud download Sack
/// ///
``` ```
@@ -5888,119 +5722,7 @@ For a description of the placeholders please read the [PvPManager Wiki](https://
%sack_total_slots% : the total number of slots for all sacks in your inventory. %sack_total_slots% : the total number of slots for all sacks in your inventory.
%sack_total_item_count% : the total number of items held in all sacks in your inventory. %sack_total_item_count% : the total number of items held in all sacks in your inventory.
``` ```
----
### **[ScreamingBedWars](https://hangar.papermc.io/ScreamingSandals/ScreamingBedWars)**
/// integrated | Built into Plugin
///
You can find an up-to-date list of placeholders with detailed information and examples in the [ScreamingBedWars Documentation](https://docs.screamingsandals.org/BedWars/latest/placeholderapi/).
```
# Global placeholders
%bedwars_all_games_players%
%bedwars_all_games_maxplayers%
%bedwars_all_games_anyrunning%
%bedwars_all_games_anywaiting%
# Placeholders for the current game the player is in
%bedwars_current_game%
%bedwars_current_game_players%
%bedwars_current_game_minplayers%
%bedwars_current_game_maxplayers%
%bedwars_current_game_world%
%bedwars_current_game_state%
%bedwars_current_game_time%
%bedwars_current_game_timeformat%
%bedwars_current_game_elapsedtime%
%bedwars_current_game_elapsedtimeformat%
%bedwars_current_game_running%
%bedwars_current_game_waiting%
%bedwars_current_available_teams%
%bedwars_current_connected_teams%
%bedwars_current_teamchests%
# Placeholders related to the player's team in the current game
%bedwars_current_team%
%bedwars_current_team_color%
%bedwars_current_team_colored%
%bedwars_current_team_players%
%bedwars_current_team_maxplayers%
%bedwars_current_team_bed%
%bedwars_current_team_teamchests%
%bedwars_current_team_bedsymbol%
# Placeholders for a specific team within the current game
%bedwars_current_game_team_<team_name>_colored%
%bedwars_current_game_team_<team_name>_color%
%bedwars_current_game_team_<team_name>_ingame%
%bedwars_current_game_team_<team_name>_players%
%bedwars_current_game_team_<team_name>_maxplayers%
%bedwars_current_game_team_<team_name>_bed%
%bedwars_current_game_team_<team_name>_bedsymbol%
%bedwars_current_game_team_<team_name>_teamchests%
# Placeholders related to a specific game
%bedwars_game_<game>_name%
%bedwars_game_<game>_players%
%bedwars_game_<game>_minplayers%
%bedwars_game_<game>_maxplayers%
%bedwars_game_<game>_world%
%bedwars_game_<game>_state%
%bedwars_game_<game>_available_teams%
%bedwars_game_<game>_connected_teams%
%bedwars_game_<game>_teamchests%
%bedwars_game_<game>_time%
%bedwars_game_<game>_timeformat%
%bedwars_game_<game>_elapsedtime%
%bedwars_game_<game>_elapsedtimeformat%
%bedwars_game_<game>_running%
%bedwars_game_<game>_waiting%
# Placeholders related to a specific team in a specific game
%bedwars_game_<game>_team_<team_name>_colored%
%bedwars_game_<game>_team_<team_name>_color%
%bedwars_game_<game>_team_<team_name>_ingame%
%bedwars_game_<game>_team_<team_name>_players%
%bedwars_game_<game>_team_<team_name>_maxplayers%
%bedwars_game_<game>_team_<team_name>_bed%
%bedwars_game_<game>_team_<team_name>_bedsymbol%
%bedwars_game_<game>_team_<team_name>_teamchests%
# Player statistics
%bedwars_stats_deaths%
%bedwars_stats_destroyed_beds%
%bedwars_stats_kills%
%bedwars_stats_loses%
%bedwars_stats_score%
%bedwars_stats_wins%
%bedwars_stats_games%
%bedwars_stats_kd%
# Statistics of a specific player
%bedwars_otherstats_<player>_deaths%
%bedwars_otherstats_<player>_destroyed_beds%
%bedwars_otherstats_<player>_kills%
%bedwars_otherstats_<player>_loses%
%bedwars_otherstats_<player>_score%
%bedwars_otherstats_<player>_wins%
%bedwars_otherstats_<player>_games%
%bedwars_otherstats_<player>_kd%
# Leaderboard information (<position> is the desired ranking spot, starting with 1)
%bedwars_leaderboard_score_<position>_name%
%bedwars_leaderboard_score_<position>_uuid%
%bedwars_leaderboard_score_<position>_deaths%
%bedwars_leaderboard_score_<position>_destroyed_beds%
%bedwars_leaderboard_score_<position>_kills%
%bedwars_leaderboard_score_<position>_loses%
%bedwars_leaderboard_score_<position>_score%
%bedwars_leaderboard_score_<position>_wins%
%bedwars_leaderboard_score_<position>_games%
%bedwars_leaderboard_score_<position>_kd%
```
---- ----
### **[Seasons](https://www.spigotmc.org/resources/39298/)** ### **[Seasons](https://www.spigotmc.org/resources/39298/)**
@@ -6803,8 +6525,8 @@ If you add ```_long``` to the cost related placeholder, it will returne a number
%tokenenchant_<enchantment>_version% %tokenenchant_<enchantment>_version%
%tokenenchant_<enchantment>_fullrefund% %tokenenchant_<enchantment>_fullrefund%
%tokenenchant_<enchantment>_fullrefund_long% : Deprecated. (For formatting, use NumberFormat placeholder %nf_%.) %tokenenchant_<enchantment>_fullrefund_long% : Deprecated. (For formatting, use NumberFormat placeholder %nf_%.)
%tokenenchant_<enchantment>_refund_Y% %tokenenchnat_<enchantment>_refund_Y%
%tokenenchant_<enchantment>_refund_Y_long% : Deprecated. (For formatting, use NumberFormat placeholder %nf_%.) %tokenenchnat_<enchantment>_refund_Y_long% : Deprecated. (For formatting, use NumberFormat placeholder %nf_%.)
%tokenenchant_<enchantment>_alias% %tokenenchant_<enchantment>_alias%
%tokenenchant_tokenmultiplier% %tokenenchant_tokenmultiplier%
%tokenenchant_<enchantment>_occurrencemultiplier% %tokenenchant_<enchantment>_occurrencemultiplier%

View File

@@ -410,9 +410,6 @@ If your plugin isn't shown here and you want it to be added, [read the Wiki READ
- **[GriefPrevention](https://www.spigotmc.org/resources/1884/)** - **[GriefPrevention](https://www.spigotmc.org/resources/1884/)**
- [ ] Supports placeholders. - [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#griefprevention)**] - [x] Provides own placeholders. [**[Link](placeholder-list.md#griefprevention)**]
- **[GrimAC](https://modrinth.com/plugin/grimac/)**
- [x] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#grimac)**]
- **[Guilds](https://www.spigotmc.org/resources/48920/)** - **[Guilds](https://www.spigotmc.org/resources/48920/)**
- [ ] Supports placeholders. - [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#guilds)**] - [x] Provides own placeholders. [**[Link](placeholder-list.md#guilds)**]
@@ -449,9 +446,6 @@ If your plugin isn't shown here and you want it to be added, [read the Wiki READ
---- ----
## I ## I
- **[ImageFrame](https://www.spigotmc.org/resources/106031/)**
- [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#imageframe)**]
- **[InteractionVisualizer](https://www.spigotmc.org/resources/77050/)** - **[InteractionVisualizer](https://www.spigotmc.org/resources/77050/)**
- [ ] Supports placeholders. - [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#interactionvisualizer)**] - [x] Provides own placeholders. [**[Link](placeholder-list.md#interactionvisualizer)**]
@@ -593,9 +587,6 @@ If your plugin isn't shown here and you want it to be added, [read the Wiki READ
---- ----
## N ## N
- **[NameColor](https://modrinth.com/plugin/namecolor)**
- [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#namecolor)**]
- **[Nameless Plugin](https://www.spigotmc.org/resources/59032/)** - **[Nameless Plugin](https://www.spigotmc.org/resources/59032/)**
- [ ] Supports placeholders. - [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#nameless-plugin)**] - [x] Provides own placeholders. [**[Link](placeholder-list.md#nameless-plugin)**]
@@ -677,9 +668,6 @@ If your plugin isn't shown here and you want it to be added, [read the Wiki READ
- **[PlayTime](https://www.spigotmc.org/resources/26016/)** - **[PlayTime](https://www.spigotmc.org/resources/26016/)**
- [ ] Supports placeholders. - [ ] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#playtime)**] - [x] Provides own placeholders. [**[Link](placeholder-list.md#playtime)**]
- **[PlayTimeManager](https://modrinth.com/plugin/playtimemanager)**
- [x] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#playtimemanager)**]
- **[PlaytimeRewards](https://www.spigotmc.org/resources/100231/)** - **[PlaytimeRewards](https://www.spigotmc.org/resources/100231/)**
- [x] Supports placeholders. - [x] Supports placeholders.
- [x] Provides own placeholders. [**[Link](placeholder-list.md#playtimerewards)**] - [x] Provides own placeholders. [**[Link](placeholder-list.md#playtimerewards)**]
@@ -837,9 +825,6 @@ If your plugin isn't shown here and you want it to be added, [read the Wiki READ
- **[Scoreboard Sidebar API](https://www.spigotmc.org/resources/21042/)** - **[Scoreboard Sidebar API](https://www.spigotmc.org/resources/21042/)**
- [x] Supports placeholders. - [x] Supports placeholders.
- [ ] Provides own placeholders. [Link] - [ ] Provides own placeholders. [Link]
- **[ScreamingBedWars](https://hangar.papermc.io/ScreamingSandals/ScreamingBedWars)**
- [ ] Supports placeholders.
- [X] Provides own placeholders. [**[Link](placeholder-list.md#screamingbedwars)**]
- **[ScrollBoard](https://www.spigotmc.org/resources/24697/)** - **[ScrollBoard](https://www.spigotmc.org/resources/24697/)**
- [x] Supports placeholders. - [x] Supports placeholders.
- [ ] Provides own placeholders. [Link] - [ ] Provides own placeholders. [Link]

View File

@@ -133,5 +133,4 @@ markdown_extensions:
- pymdownx.blocks.details - pymdownx.blocks.details
- pymdownx.blocks.tab: - pymdownx.blocks.tab:
alternate_style: true alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}}
- pymdownx.tasklist - pymdownx.tasklist