> For the complete documentation index, see [llms.txt](https://docs.luxry.club/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luxry.club/resources/skymines/mines.md).

# Mines

<figure><img src="/files/6URh7soUOF0S2oODGTtl" alt=""><figcaption></figcaption></figure>

<details>

<summary>Overview</summary>

&#x20;                                            <img src="/files/m0vIf4JLYjpURRIv4vf4" alt="" data-size="original">

</details>

You can always start with `/mines help` to get the help message with a list of the necessary commands.

<figure><img src="/files/bdf258doplENfH8BqtB7" alt="" width="490"><figcaption></figcaption></figure>

To create a mine:

1. Select a WorldEdit region using the WorldEdit plugin’s wand. Select `pos1` and `pos2`.
2. Execute `/mine create <name> <delay> <isSilent>`. The location where you execute the command will be assigned as the respawn point for the mine.

Let’s break down the command:

* `<name>`: The name used for the mine in the config files and messages.
* `<delay>`: How long the mine will take to reset.
* `<isSilent>`: Whether the server will broadcast a message to all players when the mine resets.

3. Now, to add materials to the mine, use `/mine addMaterial <mine-name> <material> <chance>`.

Let’s break down this command:

* `<mine-name>`: The name of the mine to which you want to add the material.
* `<material>`: The type of material you want to add to the mine.
* `<chance>`: The probability (in percentage) that the material will appear in the mine.

**Respawn System:**

What if the player is inside the mine and it suddenly gets auto-reset? The system will teleport the player to the mine respawn point.

If you’re still unsure, here’s an explanation video.

{% embed url="<https://www.youtube.com/watch?v=p18_i6Klfsc>" %}

***

<table><thead><tr><th width="318">command</th><th width="380">permission</th></tr></thead><tbody><tr><td>/mine help</td><td>skymines.command.mines.help</td></tr><tr><td>/mine create</td><td>skymines.command.mines.create</td></tr><tr><td>/mine addMaterials</td><td>skymines.command.mines.addmaterial</td></tr><tr><td>/mine removeMaterials</td><td>skymines.command.mines.removematerial</td></tr><tr><td>/mine delete</td><td>skymines.command.mines.delete</td></tr><tr><td>/mine list</td><td>skymines.command.mines.list</td></tr></tbody></table>


---

# 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://docs.luxry.club/resources/skymines/mines.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.
