java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
me.wolfyscript.customcrafting.placeholderapi.PlaceHolder

public class PlaceHolder extends me.clip.placeholderapi.expansion.PlaceholderExpansion
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlaceHolder​(CustomCrafting customCrafting)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    The placeholder identifier should go here.
     
    onRequest​(org.bukkit.OfflinePlayer p, String identifier)
     
    boolean
     

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

    configurationContains, get, getConfigSection, getConfigSection, getDescription, getDouble, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getPlugin, getRequiredPlugin, getString, getStringList, isRegistered, register

    Methods inherited from class me.clip.placeholderapi.PlaceholderHook

    onPlaceholderRequest

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • persist

      public boolean persist()
      Overrides:
      persist in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • canRegister

      public boolean canRegister()
      Overrides:
      canRegister in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getIdentifier

      public String getIdentifier()
      The placeholder identifier should go here.
      This is what tells PlaceholderAPI to call our onRequest method to obtain a value if a placeholder starts with our identifier.
      This must be unique and can not contain % or _
      Specified by:
      getIdentifier in class me.clip.placeholderapi.expansion.PlaceholderExpansion
      Returns:
      The identifier in %<identifier>_<value>% as String.
    • getAuthor

      public String getAuthor()
      Specified by:
      getAuthor in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • onRequest

      public String onRequest(org.bukkit.OfflinePlayer p, String identifier)
      Overrides:
      onRequest in class me.clip.placeholderapi.PlaceholderHook