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 Details

  • Method Details

    • persist

      public boolean persist()
      Overrides:
      persist in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • canRegister

      public boolean canRegister()
      Overrides:
      canRegister in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getAuthor

      @NotNull public @NotNull String getAuthor()
      Specified by:
      getAuthor in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getIdentifier

      @NotNull public @NotNull String getIdentifier()
      Specified by:
      getIdentifier in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • getVersion

      @NotNull public @NotNull String getVersion()
      Specified by:
      getVersion in class me.clip.placeholderapi.expansion.PlaceholderExpansion
    • onPlaceholderRequest

      public String onPlaceholderRequest(@Nullable @Nullable Player player, @NotNull @NotNull String identifier)
      Overrides:
      onPlaceholderRequest in class me.clip.placeholderapi.PlaceholderHook