getLocalized

fun Player.getLocalized(key: String, placeholders: Map<String, String> = emptyMap(), prefixMessage: Boolean = false): Component