parse

public static Array<BaseComponent> parse(CommandSender sender, String message, Array<TagResolver> placeholders)

Parse MiniMessage from a string, replace placeholders and replace and PlaceholderAPI placeholders and return a Spigot friendly component.

Return

The BaseComponent array used in Spigot

Parameters

sender

The sender

message

The string to parse

placeholders

The placeholders