# Edit Resourcepack Content

## GENERAL EDIT

If you need to edit the default images (logos or rank tags) you can found them on the itemsadderfolder located at <kbd>plugins/itemsadder/contents/hyperdevassets/resourcepack/hyperdevassets/textures/font/tags</kbd>. <br>

There you can replace the file you want.&#x20;

{% hint style="warning" %}
NOTE: The name of the new image must be exactly the same otherwise the plugin won't read the new file.

(For example if the image that you are replacing is&#x20;named "title", your new iamge should be named "title" too)
{% endhint %}

\
Remember ALWAYS to run the command <kbd>/iazip</kbd> after any edition of the resourcepack, to update it and reupload the pack (this command will apply the new pack to the online players too)

{% hint style="warning" %}
NOTE: Images must be lower than 256 pixels and have ".png" extension.\
This is a Minecraft limitation, and not part of itemsadder or this setup.
{% endhint %}

## ADD NEW IMAGES

{% hint style="info" %}
Go to <kbd>plugins/itemsadder/contents/hyperdevassets/configs/tags.yml</kbd> edit the file and copy the existant config&#x20;for a rank or image.&#x20;

Then <mark style="color:green;">(following the created ones as template)</mark> you need to add your new image\
into <kbd>plugins/itemsadder/contents/hyperdevassets/resourcepack/hyperdevassets/textures/font/tags/</kbd> with the rest&#x20;of the images assets.

<mark style="color:green;">**NOTE:**</mark> Remember to reload the resourcepack by using /iazip command after editing, removing, or adding content from the resourcepack .
{% endhint %}

## USE RANK TAGS/IMAGES IN GAME

{% hint style="info" %}
You can call every custom image using the placeholder <mark style="color:green;">%img\_name%</mark>.&#x20;

For example if the image file&#x20;is called "flag" you should use %img\_flag%. That method works on TAB, menus, and most places, but&#x20;if it is not working on chat or holograms you can use "<mark style="color:green;">:name:</mark>"

\
Following the example, you can use :flag:
{% endhint %}

## HOW TO EDIT PAUSE MENU

{% hint style="info" %}
Go to <kbd>/plugins/itemsadder/contents/hyper\_esc\_menu/resourcepack/hyper\_esc\_menu/textures</kbd>.&#x20;

There you can download&#x20;and modify the diferent parts of the Pause Menu images. DO NOT change the images dimensions.
{% endhint %}

## EDIT RANK ICONS

{% hint style="info" %}
Go to itemsadder/contents/hyperdevassets/resourcepack/hyperdevassets/textures/font/tags. There you will find\
the rank icons. If you don't want to show them next to rank tags, just go to chatmanager/config.yml and delete\
for example the "%img\_owner\_icon%" line.
{% endhint %}

## NPC ATTACHED COMMANDS

{% hint style="info" %}
Locate the folder <kbd>plugins/conditionalevents/events/npc\_commands.yml</kbd> and edit them there.
{% endhint %}

## RESET CUSTOM WORLDS

To reset the custom worlds (Survival & ResourceWorld) you will need to delete the world you want to reset, for example&#x20;"survival" one, by using:

<kbd><mark style="color:green;">/mv delete survival<mark style="color:green;"></kbd>

After that you will need to regenerate that world using the custom generator\
by running the command:

<kbd><mark style="color:green;">/mvcreate survival normal -g TerraformGenerator<mark style="color:green;"></kbd> <br>

{% hint style="info" %} <mark style="color:green;">**NOTE:**</mark> Remember that world names are case sensitive, so type the name exactly as it is.
{% endhint %}
