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 Link icon

    Nested classes/interfaces inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion Link icon

    me.clip.placeholderapi.expansion.PlaceholderExpansion.Type
  • Field Summary Link icon

    Fields inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion Link icon

    expansionType
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Sets up the class.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    @NotNull String
    Retrieves the author.
    @NotNull String
    Retrieves the identifier.
    @NotNull String
    Retrieves the version.
    onRequest(org.bukkit.OfflinePlayer player, @NotNull String param)
    Handles the PAPI request.

    Methods inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion Link icon

    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 Link icon

    onPlaceholderRequest

    Methods inherited from class java.lang.Object Link icon

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details Link icon

    • EssencePAPIExpansion Link icon

      public EssencePAPIExpansion(Essence plugin)
      Sets up the class.
      Parameters:
      plugin - Reference to the main Essence class.
  • Method Details Link icon

    • getAuthor Link icon

      @NotNull public @NotNull String getAuthor()
      Retrieves the author.
      Specified by:
      getAuthor in class me.clip.placeholderapi.expansion.PlaceholderExpansion
      Returns:
      String - Author's name
    • getIdentifier Link icon

      @NotNull public @NotNull String getIdentifier()
      Retrieves the identifier.
      Specified by:
      getIdentifier in class me.clip.placeholderapi.expansion.PlaceholderExpansion
      Returns:
      String - The identifier
    • getVersion Link icon

      @NotNull public @NotNull String getVersion()
      Retrieves the version.
      Specified by:
      getVersion in class me.clip.placeholderapi.expansion.PlaceholderExpansion
      Returns:
      String - The version
    • onRequest Link icon

      public String onRequest(org.bukkit.OfflinePlayer player, @NotNull @NotNull String param)
      Handles the PAPI request.
      Overrides:
      onRequest in class me.clip.placeholderapi.PlaceholderHook
      Parameters:
      player - OfflinePlayer - The player making the request.
      param - String - The param.
      Returns:
      String - The placeholder response.