# Spawning System

## How it works ?

Mob spawning system in DungeonMMO works with blocks. You can define which blocks will spawn specific mobs in the `mobs.yml` file located in the `/plugins/DungeonMMO/` folder.

The default `mobs.yml` file corresponds to the default package configuration. You can change it adding or removing blocks, adding mobs etc..

The mobs will spawn when one (or several) player(s) enters a room and will despawn when they leave the room. Once they are killed, they won't respawn.

{% hint style="info" %}
The list of blocks type you can use to spawn mobs can be found [here](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html).
{% endhint %}

{% hint style="warning" %}
The diamond block must be used only once in a dungeon, it will spawn the dungeon boss
{% endhint %}

You can either spawn [default mobs](default-mobs) or [MythicMobs](mythicmobs) if you have the plugin installed
