Klasse PapiExpansion

java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
de.delinkedde.mobarenareborn.integration.PapiExpansion

public final class PapiExpansion extends me.clip.placeholderapi.expansion.PlaceholderExpansion
PlaceholderAPI expansion exposing class progression placeholders.

Provides %mobarena_class_level_<class>% and %mobarena_class_xp_<class>%. Values come from the in-memory progression cache, which holds every online player (loaded on join), so the placeholders are accurate for online players.

This class is only loaded when PlaceholderAPI is present; it is referenced behind a runtime guard so its (optional) PlaceholderAPI superclass never needs to resolve otherwise.

  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen me.clip.placeholderapi.expansion.PlaceholderExpansion

    me.clip.placeholderapi.expansion.PlaceholderExpansion.Type
  • Feldübersicht

    Von Klasse geerbte Felder me.clip.placeholderapi.expansion.PlaceholderExpansion

    expansionType
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    PapiExpansion(@NotNull ProgressionService progression, @NotNull StatsService stats, @NotNull String version)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    @NotNull String
     
    @NotNull String
     
    @NotNull String
     
    @Nullable String
    onRequest(@Nullable OfflinePlayer player, @NotNull String params)
     
    boolean
     

    Von Klasse geerbte Methoden 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

    Von Klasse geerbte Methoden me.clip.placeholderapi.PlaceholderHook

    onPlaceholderRequest

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Konstruktordetails

    • PapiExpansion

      public PapiExpansion(@NotNull @NotNull ProgressionService progression, @NotNull @NotNull StatsService stats, @NotNull @NotNull String version)
      Parameter:
      progression - the progression service to read levels from
      stats - the statistics service backing the stats and leaderboard placeholders
      version - the plugin version reported to PlaceholderAPI
  • Methodendetails

    • getIdentifier

      @NotNull public @NotNull String getIdentifier()
      Angegeben von:
      getIdentifier in Klasse me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getAuthor

      @NotNull public @NotNull String getAuthor()
      Angegeben von:
      getAuthor in Klasse me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getVersion

      @NotNull public @NotNull String getVersion()
      Angegeben von:
      getVersion in Klasse me.clip.placeholderapi.expansion.PlaceholderExpansion
    • persist

      public boolean persist()
      Setzt außer Kraft:
      persist in Klasse me.clip.placeholderapi.expansion.PlaceholderExpansion
    • onRequest

      @Nullable public @Nullable String onRequest(@Nullable @Nullable OfflinePlayer player, @NotNull @NotNull String params)
      Setzt außer Kraft:
      onRequest in Klasse me.clip.placeholderapi.PlaceholderHook