template

inline fun MiniMessage.template(input: String, vararg template: Pair<String, *>, builder: Component.() -> Unit = {}): Component

Parses a string into a component.

Return

the output component

Since

0.3.1

Parameters

input

The input string

template

Template pairs to resolve

builder

Block to apply to the component