---
description: >-
  This plugin has an internal dungeon system that allows you to spawn objects
  during the moon
---

# Dungeons

Dungeon spawning is done through WorldEdit and requires .schem files (by default, the plugin already has 1)

<figure><img src="https://1326689516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNL45fKcspjaekWoEGZNZ%2Fuploads%2FSkPfLveR8UrvUiovCDzn%2FScreenshot%202024-08-30%20084324.png?alt=media&#x26;token=9e4b5b7c-2631-484c-8c9f-4e8d73b0749c" alt=""><figcaption><p>.schem files are thrown here</p></figcaption></figure>

{% code title="config.yml" %}
```yaml
danges:
  dugout:
    world: world
    radius-spawn:
      1: -2000 #one 
      2: 2000 #two 
    firstCooldown: 0 #Time after which the dungeon will spawn after the start of the moon
    schemName: onedungeon
    explode: false #Will the dungeon explode after the end of the moon

    message: "[&l&4Bloody Dungeon&r] &l&4Attention! &rDungeon &4%name &fhas appeared \nCoordinates {&4%x&r,&4%y&r,&4%z&r}"
```
{% endcode %}
