Class PlaceholderAPIParser

java.lang.Object
org.lushplugins.chatcolorhandler.parsers.custom.PlaceholderAPIParser
All Implemented Interfaces:
Parser

public class PlaceholderAPIParser extends Object implements Parser
  • Field Details

  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Parser
      Returns:
      The type of the parser ParserTypes
    • parseString

      public String parseString(@NotNull @NotNull String string, @NotNull @NotNull Parser.OutputType outputType)
      Description copied from interface: Parser
      Parse a string
      Specified by:
      parseString in interface Parser
      Parameters:
      string - The string to parse
      outputType - The output type to parse for
      Returns:
      The parsed string
    • parseString

      public String parseString(@NotNull @NotNull String string, @NotNull @NotNull Parser.OutputType outputType, org.bukkit.entity.Player player)
      Description copied from interface: Parser
      Parse a string in relation to a player
      Specified by:
      parseString in interface Parser
      Parameters:
      string - The string to parse
      outputType - The output type to parse for
      player - The player to apply whilst parsing
      Returns:
      The parsed string