Class PlaceholderAPIParser
java.lang.Object
org.lushplugins.chatcolorhandler.parsers.custom.PlaceholderAPIParser
- All Implemented Interfaces:
Parser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lushplugins.chatcolorhandler.parsers.Parser
Parser.OutputType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetType()parseString(@NotNull String string, @NotNull Parser.OutputType outputType) Parse a stringparseString(@NotNull String string, @NotNull Parser.OutputType outputType, org.bukkit.entity.Player player) Parse a string in relation to a player
-
Field Details
-
INSTANCE
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceParser- Returns:
- The type of the parser
ParserTypes
-
parseString
public String parseString(@NotNull @NotNull String string, @NotNull @NotNull Parser.OutputType outputType) Description copied from interface:ParserParse a string- Specified by:
parseStringin interfaceParser- Parameters:
string- The string to parseoutputType- 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:ParserParse a string in relation to a player- Specified by:
parseStringin interfaceParser- Parameters:
string- The string to parseoutputType- The output type to parse forplayer- The player to apply whilst parsing- Returns:
- The parsed string
-