😅
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

Allowed Tools

Define tools with plugin-specific formats and allowed drop whitelists:

allowed_tools:
  # MMOItems Tool (Tier 1)
  "1":
    material: TOOL:STEEL_PICKAXE
    right_click:
      decreaseDurability: 10
      clickNeeded: 3
    left_click:
      decreaseDurability: 15
      clickNeeded: 2
    #both_click:
    #  decreaseDurability: 15
    #  clickNeeded: 4
    allowedDrops: [steel_drop, example_nexo_drop] # Whitelist specific drops
    
  # ItemsAdder Tool (Tier 2)
  "2":
    material: _iainternal:iron_pickaxe_custom
    both_click:
      decreaseDurability: 15
      clickNeeded: 4
    allowedDrops: [] # Empty = allow all drops
    
  # Nexo Tool (Tier 3)
  "3":
    material: forest_pickaxe # Nexo item ID
    right_click:
      decreaseDurability: 10
      clickNeeded: 3
    left_click:
      decreaseDurability: 15
      clickNeeded: 2
    allowedDrops: []
    
  # Vanilla Tool (Tier 4)
  "4":
    material: DIAMOND_PICKAXE
    both_click:
      decreaseDurability: 15
      clickNeeded: 4
    allowedDrops: []

Supported Formats:

Plugin
Syntax
Example

MMOItems

<TYPE>:<ID>

TOOL:STEEL_PICKAXE

ItemsAdder

<NAMESPACE>:<ID>

_iainternal:custom_pickaxe

Nexo

<ID>

forest_pickaxe

Vanilla

<MATERIAL>

DIAMOND_PICKAXE

🔑 Key Features:

  1. allowedDrops:

    • List drop IDs (from drops: section) to restrict rewards

    • Leave empty/omit to allow all drops

PreviousConditionsNextDrops

Last updated 12 days ago

📘
⚒️