Package me.lokka30.levelledmobs.managers
Class PlaceholderApiIntegration
java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
me.lokka30.levelledmobs.managers.PlaceholderApiIntegration
public class PlaceholderApiIntegration
extends me.clip.placeholderapi.expansion.PlaceholderExpansion
Manages communication to PlaceholderAPI (PAPI)
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull String@NotNull String@NotNull StringonPlaceholderRequest(org.bukkit.entity.Player player, @NotNull String identifier) booleanpersist()voidplayedLoggedOut(@NotNull org.bukkit.entity.Player player) voidputPlayerKillerInfo(@NotNull org.bukkit.entity.Player player, @Nullable LivingEntityWrapper lmEntity) voidputPlayerOrMobDeath(@NotNull org.bukkit.entity.Player player, @Nullable LivingEntityWrapper lmEntity, boolean isPlayerDeath) voidremovePlayer(@NotNull org.bukkit.entity.Player player) Methods inherited from class me.clip.placeholderapi.expansion.PlaceholderExpansion
configurationContains, equals, get, getBoolean, getConfigSection, getConfigSection, getDescription, getDouble, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getPlugin, getRequiredPlugin, getString, getStringList, info, isRegistered, log, log, register, severe, severe, toString, unregister, warningMethods inherited from class me.clip.placeholderapi.PlaceholderHook
onRequest
-
Constructor Details
-
PlaceholderApiIntegration
-
-
Method Details
-
putPlayerOrMobDeath
public void putPlayerOrMobDeath(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable LivingEntityWrapper lmEntity, boolean isPlayerDeath) -
putPlayerKillerInfo
public void putPlayerKillerInfo(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable LivingEntityWrapper lmEntity) -
playedLoggedOut
public void playedLoggedOut(@NotNull @NotNull org.bukkit.entity.Player player) -
removePlayer
public void removePlayer(@NotNull @NotNull org.bukkit.entity.Player player) -
persist
public boolean persist()- Overrides:
persistin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
canRegister
public boolean canRegister()- Overrides:
canRegisterin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getIdentifier
- Specified by:
getIdentifierin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getAuthor
- Specified by:
getAuthorin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getVersion
- Specified by:
getVersionin classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
onPlaceholderRequest
public String onPlaceholderRequest(org.bukkit.entity.Player player, @NotNull @NotNull String identifier) - Overrides:
onPlaceholderRequestin classme.clip.placeholderapi.PlaceholderHook
-