> For the complete documentation index, see [llms.txt](https://cosmeticscore.devs.beer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cosmeticscore.devs.beer/first-install/install-base-resourcepack/any-plugin-and-resourcepack.md).

# Any plugin and resourcepack

## Installing the resourcepack <mark style="color:orange;">if you already have a custom resourcepack</mark>

If you already have a custom resourcepack on your server you must merge the **CosmeticsCore** assets and (optional) default cosmetics.

### Step 1

Open the zip file which can be found here: `plugins/CosmeticsCore/default_assets.zip` .

Extract it to a new folder, on your desktop for example.

Delete this folder: `plugins/ItemsAdder/`

Delete this folder if you don't have **ModelEngine** plugin: `plugins/ModelEngine/`

If you don't need the default cosmetics and you only need the UI you have to delete these folders and files:

* `resourcepack/assets/cosmetics/`
* `plugins/CosmeticsCore/`

Open the `resourcepack` folder.

Copy `assets/z_cosmetics` and `assets/cosmetics` folder into your resourcepack.&#x20;

<figure><img src="https://517658335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcHqkAbmdfwmU7TFYbk0w%2Fuploads%2FQn8tpNJj0OG2y5i2HnTz%2Fimage.png?alt=media&amp;token=97408e56-29d0-439a-9670-7393727944d8" alt=""><figcaption></figcaption></figure>

### Step 2

Open the file `assets/minecraft/models/item/fermented_spider_eye.json` with your favorite editor (example: **VSCode**) and don't close it (the file is inside the zip).

<figure><img src="https://517658335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcHqkAbmdfwmU7TFYbk0w%2Fuploads%2FCv2ulxZCfeHh0UndwstW%2Fimage.png?alt=media&amp;token=99e702af-87dc-4364-a242-045806762214" alt=""><figcaption></figcaption></figure>

### Step 3

Open the same previous file path in **YOUR** resourcepack (`fermented_spider_eye.json`).

Note: if you don't have this file in your resourcepack skip this step and simply copy and paste the `fermented_spider_eye.json` file inside your resoucepack into this path `assets/minecraft/models/item/fermented_spider_eye.json` .<br>

Use this tool to merge the **CosmeticsCore** file and your file:

{% embed url="<https://itemsadder.github.io/jsonmerger/>" %}

{% hint style="info" %}
`Json 1` is your json file, `Json 2` is the `CosmeticsCore` json file.

The result json is the one you will have to replace in your pack.
{% endhint %}

Now copy the result json and paste it into your old json file.

### Step 4

Follow the same previous steps for `potion.json`.
