github-actions[bot] 2020-08-04 14:09:52 +00:00
parent cedc00f88c
commit 4b29134648
2 changed files with 22 additions and 6 deletions

@ -225,16 +225,16 @@ public class SomeExpansion extends PlaceholderExpansion {
* <br>Since version 2.9.1 can you use OfflinePlayers in your requests.
*
* @param player
* A {@link org.bukkit.OfflinePlayer OfflinePlayer}.
* A {@link org.bukkit.Player Player}.
* @param identifier
* A String containing the identifier/value.
*
* @return possibly-null String of the requested identifier.
*/
@Override
public String onRequest(OfflinePlayer player, String identifier){
public String onPlaceholderRequest(Player player, String identifier){
if(player == null){
if(p == null){
return "";
}
@ -355,17 +355,17 @@ public class SomeExpansion extends PlaceholderExpansion {
* This is the method called when a placeholder with our identifier
* is found and needs a value.
* <br>We specify the value identifier in this method.
* <br>Since version 2.10.8 you must OfflinePlayer in your requests.
* <br>Since version 2.9.1 can you use OfflinePlayers in your requests.
*
* @param player
* A {@link org.bukkit.OfflinePlayer OfflinePlayer}.
* A {@link org.bukkit.Player Player}.
* @param identifier
* A String containing the identifier/value.
*
* @return possibly-null String of the requested identifier.
*/
@Override
public String onRequest(OfflinePlayer player, String identifier){
public String onPlaceholderRequest(Player player, String identifier){
if(player == null){
return "";

@ -74,6 +74,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th
- **[BlockQuests](#blockquests)**
- **[BuildBattlePro](#buildbattlepro)**
- **[BungeePerms](#bungeeperms)**
- **[BuyCraft](#buycraft)**
## **C**
- **[CarlTheCreeper](#carlthecreeper)**
@ -1397,6 +1398,21 @@ Available gamemodes:
```
----
- ### **[BuyCraft](https://www.spigotmc.org/resources/82261/)
> NO DOWNLOAD COMMAND
Note: You have to download the jar from the linked Spigot page.
```
%buycraftAPI_recent_currency_<number>%
%buycraftAPI_recent_name_<number>%
%buycraftAPI_recent_price_<number>%
%buycraftapi_top_donator_currency%
%buycraftapi_top_donator_name%
%buycraftapi_top_donator_price%
```
----
- ### **[CarlTheCreeper](https://www.spigotmc.org/resources/18008/)**
> NO DOWNLOAD COMMAND