> For the complete documentation index, see [llms.txt](https://luxurydev.gitbook.io/luxry-club/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://luxurydev.gitbook.io/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>
