# Dungeon package creation

## Package creation

To create a new dungeon package (set of builds to define the dungeon theme), first use the command `/structurepackagecreator <name>` or `/spc <name>`.

This will create a new folder into `/plugins/DungeonMMO/structures/` called \<name>.

In this folder you will need to place :&#x20;

* The `bend.xml` file
* The `bridge.xml` file
* The `straight.xml` file
* The `triple.xml` file

{% hint style="warning" %}
The name is important for these 4 files and cannot be changed
{% endhint %}

You will also find 5 other folders :&#x20;

* The **boss** folder where you can place all your boss rooms for this package (only one boss room will spawn randomly in each dungeon)
* The **unit** folder where you can place all your unit rooms for this package (only one or zero unit room will spawn randomly in each dungeon)
* The **entrance** folder where you can place all your entrance rooms for this package (only one entrance room will spawn randomly in each dungeon)
* The **mobs** folder where you can place all your mobs rooms for this package (the amount of rooms spawned in each dungeon will depend on the dungeon instance file).
* The **special** folder where you can place all your special rooms for this package (the amount of rooms spawned in each dungeon will depend on the dungeon instance file).

All files (xml) in these folders must have been created using the [selector](https://alex-plugins.gitbook.io/dungeonmmo/dungeon-creation/using-the-selector).

## New feature : Use multiple corridor parts

With the update 2.2.0, you can now use multiple corridor parts in your custom package. If you want to do so, create into the `/plugins/DungeonMMO/structures/<name>/` folder a new folder called :&#x20;

* **bend** for bend corridors
* **bridge** for bridge corridors&#x20;
* **straight** for straight corridors
* **triple** for triple corridors

In this folder you can place multiple corridor parts and DMMO will select one randomly each time it needs one.
