Class Placeholder

java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
dev.oumaimaa.papi.Placeholder

public final class Placeholder extends me.clip.placeholderapi.expansion.PlaceholderExpansion
Custom PlaceholderAPI expansion for KawaiiAD, providing debug and cooldown status.
  • 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
    Placeholder(KawaiiAdPlugin plugin, String version)
    Constructs the PAPI expansion.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
     
    @NotNull String
     
    @NotNull String
     
    onRequest(org.bukkit.OfflinePlayer player, @NotNull String identifier)
     
    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, getPlaceholders, 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

    • Placeholder

      public Placeholder(KawaiiAdPlugin plugin, String version)
      Constructs the PAPI expansion.
      Parameters:
      plugin - The main plugin instance.
      version - The plugin version.
  • Method Details

    • getIdentifier

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

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

      @NotNull public @NotNull 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
    • onRequest

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