> For the complete documentation index, see [llms.txt](https://afroplugins.gitbook.io/afroplugins-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://afroplugins.gitbook.io/afroplugins-docs/afrodropchanger/configuration/block-drops.md).

# Block drops

This page has all of the information related to configuring the blocks sections.

## 📝 Example configuration:

```yaml
example_block:
  material: DIAMOND_ORE
  cancel_default_drop: true
  drops:
    drop1:
      chance: 0.5
      item:
        material: DIAMOND
        name: "Shiny Diamond"
        lore:
          - "A very valuable gem"
        enchants:
          - "DURABILITY:3"
      message: "You have received a Shiny Diamond!"
      experience: 10
      money: 50.0
```

{% hint style="info" %}
Item name and lore supports MiniMessage format, more informations [here](https://docs.advntr.dev/minimessage/format.html).
{% endhint %}

{% hint style="warning" %}
Material list can be find on [Spigot JavaDocs](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)!
{% endhint %}

You can skip this fields in item configuration:

* name
* lore
* enchants
* message
* experience
* money - Required Vault and Economy plugin to work!

Change "cancel\_default\_drop" to false, allow players to gain default drop from block.
