> For the complete documentation index, see [llms.txt](https://royalerealm.gitbook.io/royaleprotectionblocks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://royalerealm.gitbook.io/royaleprotectionblocks/fundamentals/blocks.yml.md).

# Blocks.yml

{% hint style="info" %}
**GitBook tip:** your product docs aren't just a reference of all your features, use them to encourage folks to perform certain actions and discover the value in your product.
{% endhint %}

### 📥Import

In the blocks.yml file it comes with 2 simple examples of creating blocks using YAML files, you can modify everything necessary in the file and to import them into the game you only need to execute the following command:

<figure><img src="https://2789311418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QmQlUL7CTGiTz5Wabxs%2Fuploads%2FksAD49cUP2HSCr2VQJT5%2Fimage.png?alt=media&amp;token=f6bc3154-e3ea-4a83-8cb5-d431f7d9b077" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2789311418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QmQlUL7CTGiTz5Wabxs%2Fuploads%2FBJS3SUa04tH76ra3b0mG%2Fimage.png?alt=media&amp;token=d61d5d86-7d75-4b53-9fdc-edd067b30393" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2789311418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QmQlUL7CTGiTz5Wabxs%2Fuploads%2FJuP8zvJJigNgAjG3xHv0%2Fimage.png?alt=media&amp;token=874be74c-f6bf-4394-a3cc-afa9bdbd5ffa" alt=""><figcaption></figcaption></figure>

### 📤Export

In order to modify the lore, name, size and other things of blocks already created and in use, you can export this data to the file so that you can modify it and then re-import it and modify it.

<figure><img src="https://2789311418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QmQlUL7CTGiTz5Wabxs%2Fuploads%2FQQpisMCAziCjP8IMquqE%2Fimage.png?alt=media&amp;token=03373373-1fbb-40f7-824e-2b11b80d28f0" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
After modifying them you can import them again to apply the changes, it is not enough to save the file in the folder.
{% endhint %}

### ☢️Important to read

The blocks placed (in operation) are the modified ones, all those that are stored in chests, user inventories or other things are NOT updated and the functionality of creating protections is removed.

It is important to give users the opportunity to place them before making any modification, so that the plugin updates the blocks and users do not lose them.
