Package valorless.havenbags.hooks
Class PlaceholderAPI
java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
valorless.havenbags.hooks.PlaceholderAPI
public class PlaceholderAPI
extends me.clip.placeholderapi.expansion.PlaceholderExpansion
-
Nested Class Summary
Nested classes/interfaces inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion
me.clip.placeholderapi.expansion.PlaceholderExpansion.Type -
Field Summary
Fields inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion
expansionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis is the method called when a placeholder with our identifier is found and needs a value.booleanpersist()Methods inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion
canRegister, configurationContains, equals, get, getBoolean, getConfigSection, getConfigSection, getDescription, getDouble, getExpansionType, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getPlugin, getRequiredPlugin, getString, getStringList, info, isRegistered, log, log, register, setExpansionType, severe, severe, toString, unregister, warningMethods inherited from class me.clip.placeholderapi.PlaceholderHook
onPlaceholderRequest
-
Constructor Details
-
PlaceholderAPI
public PlaceholderAPI()
-
-
Method Details
-
persist
public boolean persist()- Overrides:
persistin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getAuthor
- Specified by:
getAuthorin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getIdentifier
- Specified by:
getIdentifierin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getVersion
- Specified by:
getVersionin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
onRequest
This is the method called when a placeholder with our identifier is found and needs a value.
We specify the value identifier in this method.
Since version 2.9.1 can you use OfflinePlayers in your requests.- Overrides:
onRequestin classme.clip.placeholderapi.PlaceholderHook- Parameters:
player- AnOfflinePlayer.identifier- A String containing the identifier/value.- Returns:
- possibly-null String of the requested identifier.
-