getServerLanguage

abstract fun getServerLanguage(languageName: String?): Map<String, String>

Gets server language data by name or default language if not found.

Return

A map representing the server language data.

Parameters

languageName

The name of the language to retrieve.


open fun getServerLanguage(holder: McChatHolder): Map<String, String>

Gets server language data based on the chat holder's language setting.

Return

A map representing the server language data.

Parameters

holder

The chat holder whose language setting is used.