> For the complete documentation index, see [llms.txt](https://alex-plugins.gitbook.io/dungeonmmo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alex-plugins.gitbook.io/dungeonmmo/mob-spawning/spawning-system.md).

# 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](/dungeonmmo/mob-spawning/default-mobs.md) or [MythicMobs](/dungeonmmo/mob-spawning/mythicmobs.md) if you have the plugin installed
