AfroPlugins
  • AfroPlugins
  • AfroPlayerTitles
    • AfroPlayerTitles Home
    • Installation
    • Commands / Permissions
    • Placeholders
    • Configuration
      • Configuration
      • Messages
      • Database
  • AfroPets
    • AfroPets Home
    • Installation
    • Commands / Permissions
    • Placeholders
    • Configuration
      • Configuration
      • Messages
      • Pets
      • Colors
  • AfroDropChanger
    • AfroDropChanger Home
    • Installation
    • Commands / Permissions
    • Configuration
      • Block drops
      • Mob drops
  • AfroGlobalVelocityChat
    • AfroGlobalVelocityChat Home
    • Installation
    • Commands / Permissions
    • Configuration
      • Configuration
Powered by GitBook
On this page
  1. AfroDropChanger
  2. Configuration

Block drops

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

PreviousConfigurationNextMob drops

Last updated 4 months ago

📝 Example configuration:

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

Item name and lore supports MiniMessage format, more informations .

Material list can be find on !

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.

here
Spigot JavaDocs