> 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/features/mine-management.md).

# Mine Management

## Mine Management

Use the selection wand to define regions. Use the mine editor for daily configuration.

{% stepper %}
{% step %}

## 🪓 Toggle the selection wand

The wand is a plain **Wooden Hoe**. Toggle it on with:

```bash
/sm tool
```

{% hint style="info" %}
You need `simplymines.tool` to toggle the wand, and `simplymines.select` to actually use it to mark corners.
{% endhint %}
{% endstep %}

{% step %}

## 📐 Select a region

With the wand in hand:

* **Left-click** a block to set Corner 1.
* **Right-click** a block to set Corner 2.

You'll get a chat confirmation for each corner.
{% endstep %}

{% step %}

## 🆕 Create the mine

```bash
/sm create <name>
```

Requires `simplymines.create`. This creates the mine using your current selection and immediately saves it to `plugins/SimplyMines/mines/<name>.json`.
{% endstep %}

{% step %}

## ✏️ Edit the mine

Open the main GUI with `/sm`, or jump straight into a specific mine's editor with:

```bash
/sm edit <name>
```

From the editor GUI you can configure:

* 🧱 Block composition & percentages
* ⏱️ Reset interval / reset requirements
* ⚠️ Warning intervals & messages
* 💥 Physics toggle
* 📍 Teleport location
* 🧩 Mine & reset requirements (permission, tool efficiency, percentage-mined)
  {% endstep %}
  {% endstepper %}

### Management commands

| Action                                        | Command                                    |
| --------------------------------------------- | ------------------------------------------ |
| Move a mine to your current selection         | `/sm reassign <name>`                      |
| Rename a mine                                 | `/sm rename <old> <new>`                   |
| Force a reset right now                       | `/sm reset <name>`                         |
| Force-save to disk                            | `/sm save <name>`                          |
| Set the reset teleport point to your location | `/sm setteleport <name>`                   |
| Teleport to a mine                            | `/sm teleport <name>`                      |
| Disable/enable the auto-reset timer           | `/sm disable <name>` / `/sm enable <name>` |
| Delete a mine permanently                     | `/sm delete <name>`                        |
| Reload config + mines from disk               | `/sm reload`                               |

{% hint style="danger" %}
`/sm delete <name>` removes the mine's JSON file from disk immediately
{% endhint %}

See [Commands](/simplymines-docs/introduction/commands.md) and [Permissions](/simplymines-docs/introduction/permissions.md) for details.


---

# 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/features/mine-management.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.
