java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
com.ordwen.odailyquests.externs.hooks.placeholders.PAPIExpansion

public class PAPIExpansion 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
    Constructor
    Description
    PAPIExpansion(PlayerQuestsInterface playerQuestsInterface)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    int
    Retrieves the current progression value of a quest.
     
    onRequest(org.bukkit.OfflinePlayer offlinePlayer, String params)
     
    boolean
     

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

    canRegister, configurationContains, equals, get, getBoolean, getConfigSection, getConfigSection, getDescription, getDouble, getExpansionType, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlugin, getRequiredPlugin, getString, getStringList, info, isRegistered, log, log, register, setExpansionType, severe, severe, toString, unregister, warning

    Methods inherited from class me.clip.placeholderapi.PlaceholderHook

    onPlaceholderRequest

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getIdentifier

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

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

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

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

      @NotNull public List<String> getPlaceholders()
      Overrides:
      getPlaceholders in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • onRequest

      public String onRequest(org.bukkit.OfflinePlayer offlinePlayer, @NotNull String params)
      Overrides:
      onRequest in class me.clip.placeholderapi.PlaceholderHook
    • getPlayerQuestProgression

      public int getPlayerQuestProgression(String params, PlayerQuests playerQuests)
      Retrieves the current progression value of a quest.
      Parameters:
      params - the placeholder parameters
      playerQuests - the player's quests
      Returns:
      the current progression value, or -1 if invalid