Add support for hex color codes in locale

This commit is contained in:
nossr50
2024-04-13 12:58:52 -07:00
parent 4d98d25215
commit c0952a2ba3
11 changed files with 176 additions and 20 deletions

View File

@ -1,4 +1,8 @@
Version 2.2.006
Added support for hex color codes in the locale file, uses the format &#RRGGBB (see notes)
Fixed a bug where sometimes the locale name of a skill would get lowercased
Fixed en_US locale string 'Commands.Skill.Leaderboard' not being colored properly
Fixed skill commands incorrectly telling you to use their locale name, this isn't currently possible
Updated outdated wiki URLs in commands to point to the new wiki
Removed the msg about skills being migrated to a new system when using /mmoinfo command
Added new config custom_item_support.yml
@ -7,6 +11,10 @@ Version 2.2.006
Added new locale entry 'Anvil.Salvage.Reject.CustomModelData'
NOTES:
Hex Color support in locale files is here!
The hex color code format for the locale files is &#RRGGBB
An example entry applying yellow as a hex color code would look like this:
Axes.SkillName=&#FFFF00Axes
Let me know in detail what kind of support you'd like to see in mcMMO regarding custom items, I'm open to suggestions.
This update adds a new config file to allow server owners to disable repair or salvage on items with custom models,
This prevention mechanism is not enabled by default, change the settings in custom_item_support.yml if you want to enable it.