> For the complete documentation index, see [llms.txt](https://wiki.vortexdevelopment.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.vortexdevelopment.net/projects/vortexprisoncore/autoblock.md).

# 🧊 AutoBlock

The **AutoBlock System** allows players to automatically convert certain materials into their block form. This feature helps in inventory management and makes storage more efficient.

Players with the permission `vortexprisoncore.autoblock` can use `/autoblock on/off` to automatically compress mined resources into block form.

<figure><img src="/files/8hDoIeOD8WREzjlCo5o1" alt=""><figcaption></figcaption></figure>

#### Configuration

```yaml
AutoBlocks:
  - "COAL:COAL_BLOCK:9"
  - "RAW_COPPER:RAW_COPPER_BLOCK:9"
  - "RAW_IRON:RAW_IRON_BLOCK:9"
  - "RAW_GOLD:RAW_GOLD_BLOCK:9"
  - "COPPER_INGOT:COPPER_BLOCK:9"
  - "IRON_INGOT:IRON_BLOCK:9"
  - "GOLD_INGOT:GOLD_BLOCK:9"
  - "DIAMOND:DIAMOND_BLOCK:9"
  - "EMERALD:EMERALD_BLOCK:9"
  - "REDSTONE:REDSTONE_BLOCK:9"
  - "LAPIS_LAZULI:LAPIS_BLOCK:9"
```

#### Explanation

Each entry follows the format:\
`MATERIAL_FROM:MATERIAL_TO:AMOUNT`

* **MATERIAL\_FROM**: The item that will be converted.
* **MATERIAL\_TO**: The block it will be converted into.
* **AMOUNT**: The number of `MATERIAL_FROM` items required to create one `MATERIAL_TO` block.

#### Example

```yaml
- "DIAMOND:DIAMOND_BLOCK:9"
```

This means **9 Diamonds** will automatically convert into **1 Diamond Block**.

#### Customization

You can add more materials following the same format to allow additional conversions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://wiki.vortexdevelopment.net/projects/vortexprisoncore/autoblock.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
