> For the complete documentation index, see [llms.txt](https://jpprison.gitbook.io/jpprison-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jpprison.gitbook.io/jpprison-docs/mines/configuration/general-configuration-config.yml.md).

# General Configuration (config.yml)

### General

| Key               | Type  | Default | Description                         |
| ----------------- | ----- | ------- | ----------------------------------- |
| `separacion`      | `int` | `200`   | Block distance between mine origins |
| `tiempo-reinicio` | `int` | `3600`  | Auto-reset time in seconds          |
| `mineria-ancho`   | `int` | `25`    | Default mine width                  |
| `mineria-altura`  | `int` | `25`    | Default mine height                 |
| `mineria-largo`   | `int` | `25`    | Default mine length                 |

### Block composition

```yaml
composicion:
  STONE: 50
  COAL_ORE: 20
  IRON_ORE: 15
  GOLD_ORE: 10
  DIAMOND_ORE: 5
```

Use `composicion` to define the percentage split for each block type.

### WorldGuard flags

```yaml
worldguard-flags:
  - "build:allow"
  - "use:allow"
  - "chest-access:allow"
  - "pvp:deny"
  - "mob-spawning:deny"
```

These flags are applied to each mine region when WorldGuard is available.

### Tiers

```yaml
mine-tiers:
  default:
    ancho: 10
    altura: 10
    largo: 10
    composicion:
      STONE: 100
  vip:
    permission: jpmines.vip
    ancho: 15
    altura: 15
    largo: 15
    composicion:
      STONE: 60
      COAL_ORE: 20
      IRON_ORE: 20
  elite:
    permission: jpmines.elite
    ancho: 25
    altura: 25
    largo: 25
    composicion:
      STONE: 50
      COAL_ORE: 20
      IRON_ORE: 15
      GOLD_ORE: 10
      DIAMOND_ORE: 5
```

Each tier can define its own size and composition.

Players automatically receive the last tier whose condition they match.


---

# 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://jpprison.gitbook.io/jpprison-docs/mines/configuration/general-configuration-config.yml.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.
