> 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/items/populator-command.md).

# Populator Command

You can populate items in configuration file using the items populate command `/itempopulate`.

### Usage

This is how to use it :

```
/itempopulate <mobs|boss|chest> <hand|bymaterial> <material:if:bymaterial> <probability> [min] [max]
```

Where :

* **mobs|boss|chest** is the place you're gonna add the item (mobs drops, boss drops or chests)
* **hand|bymaterial** is the way you select item (hand to select the item in hand and byitem to specify the item type)
* **material:if:bymaterial** is the item type to specify if last argument is bymaterial
* **probability** is the probability to spawn the item (between 0 and 1)
* **min** and **max** are non required values to specify the amount of items to generate

### Permission

The permission is `dmmo.itemspopulate`
