Package dev.majek.pc.hooks
Class PAPI
- java.lang.Object
-
- me.clip.placeholderapi.PlaceholderHook
-
- me.clip.placeholderapi.expansion.PlaceholderExpansion
-
- dev.majek.pc.hooks.PAPI
-
public class PAPI extends me.clip.placeholderapi.expansion.PlaceholderExpansionHandles integration with PlaceholderAPI.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringapplyPlaceholders(org.bukkit.entity.Player player, String message)booleancanRegister()@NotNull StringgetAuthor()@NotNull StringgetIdentifier()@NotNull StringgetVersion()StringonRequest(org.bukkit.OfflinePlayer player, @NotNull String identifier)booleanpersist()-
Methods inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion
configurationContains, equals, get, getBoolean, getConfigSection, getConfigSection, getDescription, getDouble, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getPlugin, getRequiredPlugin, getString, getStringList, info, isRegistered, log, log, register, severe, severe, toString, unregister, warning
-
-
-
-
Constructor Detail
-
PAPI
public PAPI(PartyChat plugin)
-
-
Method Detail
-
canRegister
public boolean canRegister()
- Overrides:
canRegisterin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
persist
public boolean persist()
- Overrides:
persistin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getAuthor
@NotNull public @NotNull String getAuthor()
- Specified by:
getAuthorin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getIdentifier
@NotNull public @NotNull String getIdentifier()
- Specified by:
getIdentifierin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getVersion
@NotNull public @NotNull String getVersion()
- Specified by:
getVersionin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
onRequest
public String onRequest(org.bukkit.OfflinePlayer player, @NotNull @NotNull String identifier)
- Overrides:
onRequestin classme.clip.placeholderapi.PlaceholderHook
-
-