Package wtf.choco.veinminer.integration
Class PlaceholderExpansionVeinMiner
java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
wtf.choco.veinminer.integration.PlaceholderExpansionVeinMiner
public final class PlaceholderExpansionVeinMiner
extends me.clip.placeholderapi.expansion.PlaceholderExpansion
A
PlaceholderExpansion
for VeinMiner's placeholders.
Supported placeholders:
- %veinminer_enabled%: Whether or not at least one vein miner category is enabled
- %veinminer_enabled_<tool>%: Whether or not the vein miner category is enabled
- %veinminer_active%: Whether or not vein miner is active and ready to use
- %veinminer_vein_mining%: Whether or not the player is currently vein mining. Active only for a brief moment
- %veinminer_using_client_mod%: Whether or not the player has the client mod installed
- %veinminer_selected_pattern%: The key of the player's selected vein mining pattern
- %veinminer_activation_strategy%: The name of the player's selected activation strategy
-
Constructor Summary
ConstructorDescriptionPlaceholderExpansionVeinMiner
(@NotNull VeinMinerPlugin plugin) Construct a newPlaceholderExpansionVeinMiner
. -
Method Summary
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, isRegistered, register, toString, unregister
Methods inherited from class me.clip.placeholderapi.PlaceholderHook
onRequest
-
Constructor Details
-
PlaceholderExpansionVeinMiner
Construct a newPlaceholderExpansionVeinMiner
.- Parameters:
plugin
- the plugin instance
-
-
Method Details
-
persist
public boolean persist()- Overrides:
persist
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
canRegister
public boolean canRegister()- Overrides:
canRegister
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getAuthor
- Specified by:
getAuthor
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getIdentifier
- Specified by:
getIdentifier
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
getVersion
- Specified by:
getVersion
in classme.clip.placeholderapi.expansion.PlaceholderExpansion
-
onPlaceholderRequest
public String onPlaceholderRequest(@Nullable @Nullable Player player, @NotNull @NotNull String identifier) - Overrides:
onPlaceholderRequest
in classme.clip.placeholderapi.PlaceholderHook
-