HomeJavaModsCustomMiningLoot
CustomMiningLoot
This is a plugin to drop a custom items when you mine ores and you obtain exp.
All is configurable
It depends to Vault and HolographicDisplays
it has a compatibility with SkillAPI for the exp
The regenerator ores plugins works with the plugin.
Make a /customlootmining with an item in the MainHand and this obtain the item in the SectionCopyPaste in the config.yml after you can copy and paste where you want to make more drops
When you edit the config.yml verify the alignement of the items
permission for /customlootmining --> customlootmining.admin
Spoiler: Config.yml
Code (Text):

Holo: true
Holoitem: DIAMOND_PICKAXE
Holoposition:
  x: 0.5
  y: 2
  z: 0.5
SkillAPIExp: false
COAL_ORE:
#######################################################
#if customloot: true this disable the vanilla ore drop#
#######################################################
  customloot: true
########################################################
#$: 100 this is the money you earn when you mine an ore#
########################################################
  $: 100
######################################################
#xp: 100 this is the xp you earn when you mine an ore#
######################################################
  xp: 10
#####################################################################
#dropslists: this is the list of the items the ore drops you can add#
#a new item with a simple copy paste and replace the values.        #
#And verify the position of arguments.You can add everythings       #
#####################################################################
  dropslists:
###############################################################################
#'1': is the first item list and it have 100% chance of drops                 #
#you can add one number by one number to make more lists of drops with % drops#
###############################################################################
    '1':
      chance: 100
#####################################################################
#itemslists: this is the list of the items the ore drops you can add#
#a new item with a simple copy paste and replace the values.        #
#And verify the position of arguments.You can add everythings       #
#####################################################################
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
        amount: 3
        meta:
          ==: ItemMeta
          meta-type: UNSPECIFIC
          display-name: §8--Little Rock--
          lore:
          - ''
          - §8--Little Rock--
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
        amount: 2
      - ==: org.bukkit.inventory.ItemStack
        type: COAL
        amount: 2
    '2':
      chance: 50
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: TORCH
###############################################################################
#if customlootfortune: true this enable the new drop with the enchant Fortune #
###############################################################################
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COAL
        amount: 4
    '2':
      chance: 50
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: TORCH
        amount: 3
IRON_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
      - ==: org.bukkit.inventory.ItemStack
        type: IRON_INGOT
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
      - ==: org.bukkit.inventory.ItemStack
        type: IRON_INGOT
        amount: 2
GOLD_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
      - ==: org.bukkit.inventory.ItemStack
        type: GOLD_INGOT
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
      - ==: org.bukkit.inventory.ItemStack
        type: GOLD_INGOT
        amount: 2
DIAMOND_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
      - ==: org.bukkit.inventory.ItemStack
        type: DIAMOND
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: DIAMOND
        amount: 2
EMERALD_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: EMERALD
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: EMERALD
        amount: 2
LAPIS_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: INK_SACK
        damage: 4
        amount: 4
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: INK_SACK
        damage: 4
        amount: 4
REDSTONE_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: REDSTONE
        amount: 4
      - ==: org.bukkit.inventory.ItemStack
        type: COBBLESTONE
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: REDSTONE
        amount: 8
QUARTZ_ORE:
  customloot: true
  $: 100
  xp: 10
  dropslists:
    '1':
      chance: 100
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: NETHERRACK
        amount: 2
      - ==: org.bukkit.inventory.ItemStack
        type: QUARTZ
        amount: 2
    '2':
      chance: 10
      itemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: NETHER_STALK
  customlootfortune: true
  dropslistsfortune:
    '1':
      chance: 100
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: NETHERRACK
        amount: 2
      - ==: org.bukkit.inventory.ItemStack
        type: QUARTZ
        amount: 4
    '2':
      chance: 25
      fortuneitemslists:
      - ==: org.bukkit.inventory.ItemStack
        type: NETHER_STALK
        amount: 2
SectionCopyPaste:
  items:
  - ==: org.bukkit.inventory.ItemStack
    type: STICK
    amount: 64
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: §2ExempleItemtoCopyPaste

#exemple of items list to customize
##############################
#    - ==: org.bukkit.inventory.ItemStack
#      type: BOW
#    - ==: org.bukkit.inventory.ItemStack
#      type: ARROW
#      amount: 64
#    - ==: org.bukkit.inventory.ItemStack
#      type: GOLDEN_APPLE
#      amount: 32
#    - ==: org.bukkit.inventory.ItemStack
#      type: TORCH
#      amount: 32
#      meta:
#        ==: ItemMeta
#        meta-type: UNSPECIFIC
#        display-name: §4Simple Torch
#        lore:
#        - ''
#        - §6Simple Torch
#    - ==: org.bukkit.inventory.ItemStack
#      type: DIAMOND_PICKAXE
#      amount: 32
#      meta:
#        ==: ItemMeta
#        meta-type: UNSPECIFIC
#        enchants:
#          DIG_SPEED: 5
#        display-name: §4Fast Pickaxe
#        lore:
#        - ''
#        - §6Dig
#    - ==: org.bukkit.inventory.ItemStack
#      type: INK_SACK
#      damage: 4
#      amount: 8
#############################################
 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CustomMiningLoot is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 4,290 times (via Spigot). Download it and open it directly in the game.

Explore more