This is a demo of a CAS (Create a Sim) system from the Sims 4 but in Minecraft.
Here is a video showcase: https://youtu.be/948Oqij41wA
In the plugin folder, create a folder called "layers" - this is where all the layers will be stored.
Inside of this folder, each category of layer needs its own subfolder, with a prefix of priority (the order in which it will be applied to the skin), for example:
- 1-Skin_Base
- 2-Eyes
- 3-Pants
- 4-Shoes
- 5-Shirt
- 6-Overshirt
- 7-Hair
- 8-Hat
Inside of any of these layer folders is where you will put each item folder, and each of their swatch pngs (colour variations). Lets take skin base for example:
- 1-Skin_Base
- 1-Standard
- 1-Lightest_Tone-f0d5ba.png
- 2-Standard_Tone-d9a48a.png
- 3-Darkest_tone-886657.png
- 1-Standard
This means that there is 1 skin base option - "Standard", which has 3 colour variations - "Lightest Tone", "Standard Tone" and "Darkest Tone".
Add your MineSkin API Key to the config.json file and you're good to go!
If you change the layers in the folder (moving priority, just adding new layers is fine), you will need to invalidate the cache. You can do this by deleting the cache.json file.