Sueta
[1

[1.12-1.16] Custom Block Drops

1.2.1

Simple custom block drops with percentages for drops.

·Plugin

Description:
Simple to use custom block drops plugin. You can choose what blocks drop, the amount that drops with support for random ranges, and the percentage chance. Compatible with plugins that cancel the BlockBreakEvent, for example if you create a protected region with WorldGuard this plugin will not drop items in that region when blocks are broken. More features coming soon.
I coded this plugin for a specific minecraft server, then I modified it and uploaded it to spigot since this is something a lot of people would need, that's why its called TropiqueBlockDrops
Installation:
Drop the .jar file into your plugins folder, restart the server, and modify the config in /plugins/TropiqueBlockDrops/config.yml
Permissions & Commands:
tropiqueblockdrops.reload - Lets you reload the plugin using /tbd or /tropiqueblockdrops
Config:

Spoiler
##### FORMAT #####
# blocks:
#   BLOCK_NAME:
#     drops:
# The first amount is for the minimum, second is for the maximum
#       - ITEM_NAME;PERCENT CHANCE;AMOUNT-AMOUNT
#       - ITEM_NAME;PERCENT CHANCE;AMOUNT-AMOUNT
#       - ITEM_NAME;PERCENT CHANCE;AMOUNT-AMOUNT
#       - ITEM_NAME;PERCENT CHANCE;AMOUNT-AMOUNT
#  ANOTHER_BLOCK:
#     drops:
#       - ITEM_NAME;PERCENT CHANCE;AMOUNT-AMOUNT
# this can repeat as much as you want, there is no limit
blocks:
  GRASS:
    drops:
      - DIAMOND_ORE;94.9;10-20
      - IRON_INGOT;5.1;3-7
  STONE:
    drops:
      - DIAMOND;50;10-10
      - ANVIL;50;5-5

Plugin not working?
Issues
Discord

Similar projects

Plugin →