Class PlaceholderAPIHandler

java.lang.Object
me.yleoft.zAPI.handlers.PlaceholderAPIHandler

public class PlaceholderAPIHandler extends Object
  • Constructor Details

    • PlaceholderAPIHandler

      public PlaceholderAPIHandler()
  • Method Details

    • applyHookPlaceholders

      public String applyHookPlaceholders(@Nullable @Nullable org.bukkit.OfflinePlayer player, @NotNull @NotNull String params)
      Parses the placeholders for a specific player.
      Parameters:
      player - The player to apply placeholders for
      params - The string to apply placeholders to
      Returns:
      The parsed placeholder
    • applyPlaceholders

      public String applyPlaceholders(@Nullable @Nullable org.bukkit.OfflinePlayer player, @NotNull @NotNull String text)
      Apply placeholders to a string for a specific player.
      Parameters:
      player - The player to apply placeholders for
      text - The string to apply placeholders to
      Returns:
      The string with placeholders applied