# Custom cave

## Create the file

To create a custom cave, the first command to run is :

```
/scustom cave <cavename>
```

This generates a new file named `<cavename>` located in the `/plugins/Stratos/customization/cave/` folder. In this file, you can edit everything including terrain noise, areas, blocks and decorations for the biome.

## Configure the cave

In this file, you can configure the [materials](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html) on the ground and on the ceil with probabilities. You can also configure **decorations**. Decorations are placed on block higher (for **ground**) or one block lower (for **ceil**).

## Set the cave in your custom biome

Go into the `<biomename>.yml` file you want to add the cave and modify the **cave** property and set it to `<cavename>`.


---

# Agent Instructions: 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:

```
GET https://alex-plugins.gitbook.io/stratos/customization/custom-cave.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
