😅
MMOBlock Docs
  • 🏠Welcome
  • 🚀Getting Started
    • ⚡Quickstart
    • ⚙️Configuration File
    • 🌎Language Messages
    • 🔌Compatibility & Requirements
    • 🔐Commands & Permissions
  • 📘Basics
    • ✨Hologram
    • 🧱Block
    • ⚖️Conditions
    • ⚒️Allowed Tools
    • 🎁Drops
  • 🔰Integrations
    • 🧲ModelEngine 4
    • 🧲PlaceholderAPI
    • 🎨MiniMessage
Powered by GitBook
On this page
  1. Basics

Drops

Configure rewards with chances, amount ranges, and multi-plugin support.

drops:
  # Nexo Item Drop
  example_nexo_drop: #drop_id is customizeable
    item:
      material: enchanted_obsidian # Nexo item ID
      total: [1-2] # 1-2 items
      chances: 0.4 # 40% chance
      target: both_click #left_click or both_click
      drop_type: inventory #inventory, minepacks, front_ground(front of player), and center_ground(center of entity).

  # MMOItems Drop
  steel_drop:
    item:
      material: TOOL:STEEL_PICKAXE
      total: [1-1]
      chances: 0.1
      target: both_click #left_click or both_click
      drop_type: inventory #inventory, minepacks, front_ground(front of player), and center_ground(center of entity).

  # ItemsAdder Drop
  custom_drop:
    item:
      material: _iainternal:iron_pickaxe_custom
      total: [1-1]
      chances: 1.0
      target: both_click #left_click or both_click
      drop_type: center_ground #inventory, minepacks, front_ground(front of player), and center_ground(center of entity).

  # Vanilla EXP
  example_vanilla_exp:
    exp:
      value: [1-50]
      chances: 0.6
      target: right_click #left_click or both_click
      drop_type: front_ground #front_ground(front of player), and center_ground(center of entity).
  
  # Profession EXP (MMOCore)
  mining_exp:
    profession:
      value: mining
      total: [1-30]
      chances: 0.6
      target: left_click #left_click or both_click
      drop_type: front_ground #front_ground(front of player), and center_ground(center of entity).

  # Command Drop
  reward_command:
    command:
      value: "eco give %player% %amount%"
      amount: [10-50] # Random 10-50 currency
      chances: 0.3
      target: left_click #left_click or both_click

🔄 Cross-Plugin Compatibility:

Plugin
Syntax
Example

Nexo

Direct item ID

enchanted_obsidian

MMOItems

TOOL:<ID>

TOOL:STEEL_PICKAXE

ItemsAdder

_iainternal:<ID>

_iainternal:custom_sword

Vanilla

Material name

DIAMOND

✨ Drop Visual Settings

Add effects to drops via drop-options:

drop-options:
  ClientSideDrop: true # Reduce server lag
  Lootsplosion: true # Explosion effect
  PerPlayerDrop: true
  ItemBeam:
    enable: true
    color: BLUE # Beam color
  ItemGlowByDefault:
    enable: true
    color: RAINBOW # Glowing effect

PreviousAllowed ToolsNextModelEngine 4

Last updated 12 days ago

📘
🎁