parseComponent

public static Component parseComponent(String message, Array<TagResolver> placeholders)

Parse MiniMessage from a string and replace placeholders.

Return

The parsed component

Parameters

message

The string to parse

placeholders

The placeholders


public static Component parseComponent(CommandSender sender, String message, Array<TagResolver> placeholders)

Parse MiniMessage from a string, replace placeholders and replace and PlaceholderAPI placeholders.

Return

The parsed component

Parameters

sender

The sender

message

The string to parse

placeholders

The placeholders