public class TARDISPlaceholderExpansion
extends me.clip.placeholderapi.expansion.PlaceholderExpansion
Constructor and Description |
---|
TARDISPlaceholderExpansion(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRegister() |
java.lang.String |
getAuthor() |
java.lang.String |
getIdentifier() |
java.lang.String |
getVersion() |
java.lang.String |
onPlaceholderRequest(org.bukkit.entity.Player player,
java.lang.String identifier)
This is the method called when a placeholder with our identifier is found and needs a value.
|
boolean |
persist() |
configurationContains, get, getConfigSection, getConfigSection, getDescription, getDouble, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getPlugin, getRequiredPlugin, getString, getStringList, isRegistered, register
public TARDISPlaceholderExpansion(TARDIS plugin)
public java.lang.String getIdentifier()
getIdentifier
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
%<identifier>_<value>%
as String.public java.lang.String getAuthor()
getAuthor
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
public java.lang.String getVersion()
getVersion
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
public boolean persist()
persist
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
public boolean canRegister()
canRegister
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
public java.lang.String onPlaceholderRequest(org.bukkit.entity.Player player, java.lang.String identifier)
onPlaceholderRequest
in class me.clip.placeholderapi.PlaceholderHook
player
- An org.bukkit.Playeridentifier
- A String containing the identifier