> 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). Agents can also search and read this documentation through its [MCP server](https://wiki.vortexdevelopment.net/~gitbook/mcp).

# 🧊 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="https://3588988794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL6MVyB9FzPcSAmJ9fZ0x%2Fuploads%2FzuZaTbSWPbxodst5PSiB%2FAutoBlock.gif?alt=media&amp;token=15d0eb53-224c-42b1-a483-7c7146a0b213" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
