try Send I18n Error
fun CommandSender.trySendI18nError(plugin: ColosseumPlugin, key: String, alt: String, vararg placeholders: Pair<String, String>)
Tries to send an internationalized error message to the command sender. If the translation is missing, sends the alternative message instead.
Parameters
plugin
The ColosseumPlugin instance.
key
The key for the message in the i18n files.
alt
The alternative message to send if the translation is missing.
placeholders
The placeholders to replace in the message.