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
KonstruktorenKonstruktorBeschreibungPapiExpansion(@NotNull ProgressionService progression, @NotNull StatsService stats, @NotNull String version) -
Methodenübersicht
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, warningVon Klasse geerbte Methoden me.clip.placeholderapi.PlaceholderHook
onPlaceholderRequest
-
Konstruktordetails
-
PapiExpansion
public PapiExpansion(@NotNull @NotNull ProgressionService progression, @NotNull @NotNull StatsService stats, @NotNull @NotNull String version) - Parameter:
progression- the progression service to read levels fromstats- the statistics service backing the stats and leaderboard placeholdersversion- the plugin version reported to PlaceholderAPI
-
-
Methodendetails
-
getIdentifier
- Angegeben von:
getIdentifierin Klasseme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getAuthor
- Angegeben von:
getAuthorin Klasseme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getVersion
- Angegeben von:
getVersionin Klasseme.clip.placeholderapi.expansion.PlaceholderExpansion
-
persist
public boolean persist()- Setzt außer Kraft:
persistin Klasseme.clip.placeholderapi.expansion.PlaceholderExpansion
-
onRequest
@Nullable public @Nullable String onRequest(@Nullable @Nullable OfflinePlayer player, @NotNull @NotNull String params) - Setzt außer Kraft:
onRequestin Klasseme.clip.placeholderapi.PlaceholderHook
-