> For the complete documentation index, see [llms.txt](https://simplymines.gitbook.io/simplymines-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simplymines.gitbook.io/simplymines-docs/introduction/configuration/mine-and-reset-requirements.md).

# Mine and Reset Requirements

## Mine and Reset Requirements

SimplyMines splits "can this player mine here?" and "should this mine reset now?" into two separate, extensible requirement systems.\
Both are configurable in-game through the mine editor GUI, and both are extensible through the [API / Developer Guide](/simplymines-docs/introduction/api-developer-guide.md).

### Mine requirements

Mine requirements decide whether a **player is allowed to break a block** inside a mine. A mine can have multiple requirements attached; all enabled ones must be satisfied.

### 🔐 Permission

`permission_mine_requirement`

Player must have a specific permission node (configured per-mine).

**Deny message:** `messages.no-permission-mine`

### ⛏️ Tool Efficiency

`efficiency_mine_requirement`

Player's held tool must have at least the configured Efficiency enchantment level.

**Deny message:** `messages.higher-efficiency-level`

{% hint style="info" %}
Each requirement can be individually enabled/disabled without removing its configuration.
{% endhint %}

***

### Reset requirements

Reset requirements decide **when a mine resets**. A mine can combine multiple reset requirements — for example, reset on a fixed interval, but also early once mostly mined out.

### ⏱️ Time

`time_reset_requirement`

Resets once `reset_time` seconds have elapsed since the last reset. Always enabled — this is the mine's main reset timer.

### 📉 Percentage Mined

`percent_reset_requirement`

Resets once the percentage of the mine left unmined drops to/below a configured threshold, regardless of the timer. Can be toggled on/off.

{% hint style="success" %}
If a mine has both enabled, it resets on whichever condition is met first.
{% endhint %}

***

### Configure requirements

The easiest way is through the in-game GUI: `/sm edit <name>` → mine/reset requirement menus.\
Requirements can also be read, added, or updated through the [Requirements API](/simplymines-docs/introduction/api-developer-guide/requirements-api.md). Third-party plugins can register new requirement types.


---

# 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://simplymines.gitbook.io/simplymines-docs/introduction/configuration/mine-and-reset-requirements.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.
