public class PlanPlaceHolders
extends me.clip.placeholderapi.expansion.PlaceholderExpansion
Current used services for placeholders:
ServerPlaceHolders
:
ServerKeys.TPS
,ServerKeys.NAME
,
ServerKeys.SERVER_UUID
OperatorPlaceholders
: ServerKeys.OPERATORS
WorldTimePlaceHolder
: ServerKeys.WORLD_TIMES
SessionPlaceHolder
: ServerKeys.SESSIONS
,
ServerKeys.PLAYERS
,ServerKeys.PING
,ServerKeys.ALL_TIME_PEAK_PLAYERS
,
ServerKeys.RECENT_PEAK_PLAYERS
Modifier and Type | Field and Description |
---|---|
com.djrapitops.plugin.logging.error.ErrorHandler |
errorHandler |
Constructor and Description |
---|
PlanPlaceHolders(PlanSystem system,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRegister() |
java.lang.String |
getAuthor() |
java.lang.String |
getIdentifier() |
java.lang.String |
getPlugin() |
java.lang.String |
getVersion() |
java.lang.String |
onPlaceholderRequest(org.bukkit.entity.Player p,
java.lang.String params) |
boolean |
persist() |
configurationContains, get, getConfigSection, getConfigSection, getDescription, getDouble, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getRequiredPlugin, getString, getStringList, isRegistered, register
public final com.djrapitops.plugin.logging.error.ErrorHandler errorHandler
public PlanPlaceHolders(PlanSystem system, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
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 getIdentifier()
getIdentifier
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
public java.lang.String getPlugin()
getPlugin
in class me.clip.placeholderapi.expansion.PlaceholderExpansion
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 java.lang.String onPlaceholderRequest(org.bukkit.entity.Player p, java.lang.String params)
onPlaceholderRequest
in class me.clip.placeholderapi.PlaceholderHook