Locale and Translations
If you are using a Proxy (BungeeCord/Velocity), you must configure locale files on the proxy.
Default values
- languages (opens in a new tab)
- language_english (opens in a new tab)
- command.properties (opens in a new tab)
Community translation
How to Contribute
We have our own Crowdin page (opens in a new tab) where you can contribute your translations.
If your language is missing, you can contact support on our discord.
How to update
You can download updated translations from our dev
branch (opens in a new tab).
Select language
Language codes
Specifications
Language (translated) | Language | config value | file name |
---|---|---|---|
繁體中文(香港特別行政區) | Chinese Traditional (Hong Kong) | zh_hk | language_zh_hk.properties (opens in a new tab) |
Français (Québec) | Canadian French | fr_ca | language_fr_ca.properties (opens in a new tab) |
Português (Brasil) | Brazilian Portuguese | pt_br | language_pt_br.properties (opens in a new tab) |
Español (Argentina) | Argentinian Spanish | es_ar | language_es_ar.properties (opens in a new tab) |
Norsk nynorsk (Norge) | Norwegian Nynorsk | nn_no | language_nn_no.properties (opens in a new tab) |
Change fallback language
Customization info
If you do not like the default translations, you can customize it to your own liking. In this section, you can find an overview of how to locate and info on when which locale is triggered.
Help Messages
In this section we will explain how you can change the help messages.
[!] A RESTART IS REQUIRED [!]
plugins/SkinsRestorer/languages/language_<code>.properties
Line 14 till 27 are the {description}
of the acf-core.help_format
skinsrestorer.help_skin_set=Changes your skin.
skinsrestorer.help_skin_set_other=Sets the skin for a target player.
skinsrestorer.help_skin_set_other_url=Sets the skin from an url for a target player.
skinsrestorer.help_skin_clear=Clears your skin.
skinsrestorer.help_skin_clear_other=Clears the skin of a target player.
skinsrestorer.help_skin_search=Search up a skin that you want
skinsrestorer.help_skin_update=Updates your skin.
skinsrestorer.help_skin_update_other=Updates the skin of a target player.
skinsrestorer.help_sr_reload=Reloads the configuration file.
skinsrestorer.help_sr_status=Checks plugin needed API services.
skinsrestorer.help_sr_drop=Removes players or skin data.
skinsrestorer.help_sr_props=Displays the players current skin properties.
skinsrestorer.help_sr_apply_skin=Re-apply the skin for target user.
skinsrestorer.help_sr_createcustom=Create a custom server wide skin.
command.properties:
This is what the format looks like.
As you can see, acf-core.help_header
& acf-core.help_format
are used with
the /skin
When performing a wrong command, this is how it will tell you:
- warning:
acf-core.no_command_matched_search
- search command matching:
acf-core.help_search_header
- matching commands in
acf-core.help_format
format
acf-core.no_command_matched_search=&e[&2SkinsRestorer&e] &4Error&8: &cno such command&4: <c2>{search}</c2>.
acf-core.help_page_information=- Showing page <c2>{page}</c2> of <c2>{totalpages}</c2> (<c3>{results}</c3> results).
acf-core.help_no_results=&e[&2SkinsRestorer&e] &4Error&8: &cNo more results&4.
acf-core.help_header=&3[&2&lSkinsRestorer&r&3] &7- &bShowing help for &a{commandprefix}{command}&7.
acf-core.help_format=&2 &2{command} &a{parameters} &7{separator}&7 &f{description}
acf-core.help_detailed_header=&3[&2&lSkinsRestorer&r&3] &7- <c1>Showing info for </c1><c2>{commandprefix}{command}</c2>
acf-core.help_detailed_command_format=<c1>{command}</c1> <c2>{parameters}</c2> <c3>{separator} {description}</c3>
acf-core.help_detailed_parameter_format=<c2>{name}</c2>: <c3>{description}</c3>
acf-core.help_search_header=&3[&2&lSkinsRestorer&r&3] &7- &bCommands matching <c2>{commandprefix}{command} {search}</c2>
Permissions messages
skinsrestorer.player_has_no_permission_skin={prefix} &4Error&8: &cYou don't have permission to set this skin.
skinsrestorer.player_has_no_permission_url={prefix} &4Error&8: &cYou don't have permission to set skins by URL.
&
acf-core.permission_denied=&3[&2&lSkinsRestorer&r&3] &cI'm sorry, but you do not have permission to perform this command.
Success messages
SkinsRestorer has different Success messages when using different commands
User:
Command and aliases | Description | Locale |
---|---|---|
/skin <skin> | Your skin has been changed. | SKIN_CHANGE_SUCCESS |
/skin set <player> | You set %player's skin. | ADMIN_SET_SKIN |
/skin clear | Your skin has been cleared. | SKIN_CLEAR_SUCCESS |
/skin update | Your skin has been updated. | SUCCESS_UPDATING_SKIN |
Admin:
Command and aliases | Description | Locale |
---|---|---|
/skin clear <player> | Skin cleared for player %player. | SKIN_CLEAR_ISSUER |
/skin update <player> | Skin updated for player %player. | SUCCESS_UPDATING_SKIN_OTHER |
/sr drop <player> | %data data dropped for %target | SKIN_DATA_DROPPED |
/sr set <player> <skin> | you set %player skin | ADMIN_SET_SKIN |
Other useful messages
skinsrestorer.not_premium={prefix} &4Error&8: &cPremium player with that name does not exist.
skinsrestorer.error_no_skin={prefix} &4Error&8: &cThis player has no skin set.
skinsrestorer.skin_cooldown={prefix} &4Error&8: &cYou can change your skin again in &e{0} &cseconds.
skinsrestorer.wait_a_minute={prefix} &4Error&8: &cPlease wait a minute before requesting that skin again. (Rate Limited)
skinsrestorer.generic_error={prefix} &4Error&8: &cAn error occurred while requesting skin data, please try again later!
ERROR messages
In this section we list an overview of the error messages.
Locale | occurrence/ trigger | message description |
---|---|---|
SKIN_DISABLED | when %p set config.DisabledSkins | skin is disabled |
INVALID_PLAYER | when %skin is to small, nonexistent or bad link | %skin is not a valid username or URL. |
ERROR_UPDATING_URL | when %p does /skin update while having custom (url) skin | You can't update custom url skins |
ERROR_INVALID_URLSKIN | when player use url that does not point to a valid skin (skin image) | Invalid skin url or format |
ERROR_MS_FULL | When the API for custom url skins has timed out / offline | API timed out while uploading skin |
ERROR_MS_GENERIC | The error from our API that we send to the player | MS Error: %error |
GENERIC_ERROR | unused (might change in the future) | An error occurred while requesting skin |
ERROR_NO_SKIN | setting the skin of Mojang account that has no skin | his player has no skin set |
ALT_API_FAILED | When the alternative back-up API also fails | Skin Data API is overloaded |
MS_API_FAILED | When the api used for custom skins is offline / busy | |
NO_SKIN_DATA | When no skin data could be acquired |
Prefix
The prefix (messages.yml
PREFIX
) is turned on by default. And can be disabled in SkinsRestorer folder Config.yml
-> DisablePrefix: false
The default value is &e[&2SkinsRestorer&e]
Keep in mind how it ends with a white space "
" at the end. Depending on your punctuation preferences you can
change this also.
SkinsGUI
Some lines for the skins' menu can be found in the messages.yml
.
Below is a list with those lines:
Description | line txt | Locale |
---|---|---|
Message after performing /skins | Opening the skins menu | MENU_OPEN |
Inventory title | Skins menu - page %page | SKINSMENU_TITLE_NEW |
When hovering on the right panel | » Next Page » | NEXT_PAGE |
When hovering on the left panel | « Previous Page « | PREVIOUS_PAGE |
When hovering the center red | Remove Skin | REMOVE_SKIN |
hovering on a skull / skin | Click to select this skin | SELECT_SKIN |
Custom Help
If you set UseOldSkinHelp: true
you are able to use the pre 13.6 help system in messages.yml
-> HELP_PLAYER