Package net.lewmc.essence
Class EssencePAPIExpansion
java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
net.lewmc.essence.EssencePAPIExpansion
public class EssencePAPIExpansion
extends me.clip.placeholderapi.expansion.PlaceholderExpansion
Essence's PlaceholderAPI Expansion class.
-
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
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, persist, register, setExpansionType, severe, severe, toString, unregister, warning
Methods inherited from class me.clip.placeholderapi.PlaceholderHook
onPlaceholderRequest
-
Constructor Details
-
EssencePAPIExpansion
Sets up the class.- Parameters:
plugin
- Reference to the main Essence class.
-
-
Method Details
-
getAuthor
Retrieves the author.- Specified by:
getAuthor
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
- Returns:
- String - Author's name
-
getIdentifier
Retrieves the identifier.- Specified by:
getIdentifier
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
- Returns:
- String - The identifier
-
getVersion
Retrieves the version.- Specified by:
getVersion
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
- Returns:
- String - The version
-
onRequest
Handles the PAPI request.- Overrides:
onRequest
in classme.clip.placeholderapi.PlaceholderHook
- Parameters:
player
- OfflinePlayer - The player making the request.param
- String - The param.- Returns:
- String - The placeholder response.
-