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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull String
@NotNull String
@NotNull String
onPlaceholderRequest
(org.bukkit.entity.Player player, @NotNull String identifier) boolean
persist()
void
playedLoggedOut
(@NotNull org.bukkit.entity.Player player) void
putPlayerKillerInfo
(@NotNull org.bukkit.entity.Player player, @Nullable LivingEntityWrapper lmEntity) void
putPlayerOrMobDeath
(@NotNull org.bukkit.entity.Player player, @Nullable LivingEntityWrapper lmEntity, boolean isPlayerDeath) void
removePlayer
(@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, warning
Methods 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:
persist
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
canRegister
public boolean canRegister()- Overrides:
canRegister
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getIdentifier
- Specified by:
getIdentifier
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getAuthor
- Specified by:
getAuthor
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getVersion
- Specified by:
getVersion
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
onPlaceholderRequest
public String onPlaceholderRequest(org.bukkit.entity.Player player, @NotNull @NotNull String identifier) - Overrides:
onPlaceholderRequest
in classme.clip.placeholderapi.PlaceholderHook
-