configuration/Language

Language Configuration

In the file lang.yml you can change the messages, LevelHearts outputs.

The file is grouped by language. You can change the current language in the config.yml unter chat.language.

Translations

We are working on translating the plugin in as many languages as possible. For that, we need your help! Everybody can commit translations. For that, go to the localization tab. Thanks for your help!

Localization

Format codes

To format the messages with color, underlining, extra characters and other, you can use color codes. Including a format code is very easy, you just write it in the line and everything after that will be formatted:

This is &(red)red and &(blue)blue text!

The syntax for a format code is:

&(name)

Formats

Colors  
&(aqua) Aqua color
&(black) Black color
&(blue) Blue color
&(darkaqua) Dark aqua color
&(darkblue) Dark blue color
&(darkgray) Dark gray color
&(darkgreen) Dark green color
&(darkpurple) Dark purple color
&(darkred) Dark red color
&(gold) Gold color
&(grey) Grey color
&(green) Green color
&(lightpurple) Light purple color
&(red) Red color
&(white) White color
&(yellow) Yellow color
Format  
&(bold) Bold text
&(italic )Italic text
&(underline) Underlined text
&(strikethrough) Stroken-through text
Special characters  
&(heart) ❤ Heart (\u2764)
&(heartsmall) ♥ Small heart (\u2665)
&(heartrotated) ❥ Rotated heart (\u2765)
&(heartexclamation ❣ Exlamation heart (\u2763)
Misc  
&(prefix) Plugin prefix (can be defined in prefix path)

Placeholders

For most output texts, there are values that will change. Therefor you need to include placeholders in your messages. These are similar to format codes, but use a percent-sign (%):

%(name)

Deprecated values

Format Codes

These format codes are deprecated, it is preferred to just write them as plain text (UTF-8).

Deprecated  
&(auml) German ä umlaut
&(ouml) German o umlaut
&(uuml) German u umlaut
&(Acyrl) Cyrillic Capital Letter А
&(BEcyrl) Cyrillic Capital Letter Б
&(VEcyrl) Cyrillic Capital Letter В
&(GHEcyrl) Cyrillic Capital Letter Г
&(DEcyrl) Cyrillic Capital Letter Д
&(IEcyrl) Cyrillic Capital Letter Е
&(ZHEcyrl) Cyrillic Capital Letter Ж
&(ZEcyrl) Cyrillic Capital Letter З
&(Icyrl) Cyrillic Capital Letter И
&(Icyrls) Cyrillic Capital Letter Й
&(KAcyrl) Cyrillic Capital Letter К
&(ELcyrl) Cyrillic Capital Letter Л
&(EMcyrl) Cyrillic Capital Letter М
&(ENcyrl) Cyrillic Capital Letter Н
&(Ocyrl) Cyrillic Capital Letter О
&(PEcyrl) Cyrillic Capital Letter П
&(ERcyrl) Cyrillic Capital Letter Р
&(EScyrl) Cyrillic Capital Letter С
&(TEcyrl) Cyrillic Capital Letter Т
&(Ucyrl) Cyrillic Capital Letter У
&(EFcyrl) Cyrillic Capital Letter Ф
&(HAcyrl) Cyrillic Capital Letter Х
&(TSEcyrl) Cyrillic Capital Letter Ц
&(CHEcyrl) Cyrillic Capital Letter Ч
&(SHAcyrl) Cyrillic Capital Letter Ш
&(SHCHAcyrl) Cyrillic Capital Letter Щ
&(SIGNcyrlh) Cyrillic Capital Letter Ъ
&(YERUcyrl) Cyrillic Capital Letter Ы
&(SIGNcyrls) Cyrillic Capital Letter Ь
&(Ecyrl) Cyrillic Capital Letter Э
&(YUcyrl) Cyrillic Capital Letter Ю
&(YAcyrl) Cyrillic Capital Letter Я
&(acyrl) Cyrillic Small Letter а
&(becyrl) Cyrillic Small Letter б
&(vecyrl) Cyrillic Small Letter в
&(ghecyrl) Cyrillic Small Letter г
&(decyrl) Cyrillic Small Letter д
&(iecyrl) Cyrillic Small Letter е
&(zhecyrl) Cyrillic Small Letter ж
&(zecyrl) Cyrillic Small Letter з
&(icyrl) Cyrillic Small Letter и
&(icyrls) Cyrillic Small Letter й
&(kacyrl) Cyrillic Small Letter к
&(elcyrl) Cyrillic Small Letter л
&(emcyrl) Cyrillic Small Letter м
&(encyrl) Cyrillic Small Letter н
&(ocyrl) Cyrillic Small Letter о
&(pecyrl) Cyrillic Small Letter п
&(ercyrl) Cyrillic Small Letter р
&(escyrl) Cyrillic Small Letter с
&(tecyrl) Cyrillic Small Letter т
&(ucyrl) Cyrillic Small Letter у
&(efcyrl) Cyrillic Small Letter ф
&(hacyrl) Cyrillic Small Letter х
&(tsecyrl) Cyrillic Small Letter ц
&(checyrl) Cyrillic Small Letter ч
&(shacyrl) Cyrillic Small Letter ш
&(shchacyrl) Cyrillic Small Letter щ
&(signcyrlh) Cyrillic Small Letter ъ
&(yerucyrl) Cyrillic Small Letter ы
&(signcyrls) Cyrillic Small Letter ь
&(ecyrl) Cyrillic Small Letter э
&(yucyrl) Cyrillic Small Letter ю
&(yacyrl) Cyrillic Small Letter я

Comments

Posts Quoted:
Reply
Clear All Quotes