# 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&#x26;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&#x26;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&#x26;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&#x26;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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://royalerealm.gitbook.io/royaleprotectionblocks/fundamentals/blocks.yml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
