Fix » Fixed an issue that default example drops were still exist even when you removed them from the config file.
If you faced to any other issues, feel free to send a message to my discord (Mohamad82#1474) or in the plugin's discussion page with information like your configuration file, etc.
Required-StateData »You can use this feature for blocks that have multiple states or stages like crops (Seeds). This feature also supports regex. Here's two examples about how to use this feature:
Code (YAML):
Required-StateData: 7
#Fully grown seed Required-StateData: 0-6
#All growing stages before it becomes fully grown
Note: Crops have 7 stages, 0 is the recently planted seed, and 7 is fully grown seed.
In this example I have added experience drop for fully grown wheat:
Look Debug »Debug command is now usable for two purposes, "/mg debug hand" and "/mg debug look". Hand debug shows Displayname and ItemFlags of the item that you are holding, Look debug shows Block ID and StateData of the block that you are looking. Tip: Can't find the block's ID or it's StateData? Just look at the block in minecraft and run "/mg debug look" to get it's ID and StateData.
Fix » Fixed an issue that UpdateChecker was showing v1.1 instead of v1.10
RGB Support (MC-1.16+) »You can now set hex color codes in item's displayname and lore. In order to use hex color codes, simply put a hex color code before characters, You can use this website to get hex color codes. Here's an example:
Code (YAML):
Name: "#AF5744Iron Ingot"
Improve »You can now create a custom drop without a material, this feature is useful when you want to completely remove a drop or use only console commands when player breaks that block. In order to do this, simply remove Material section.
Custom-Model-Data »You can now set CustomModelData to the custom drops! (Type: Integer) Note: CustomModelData was added in Minecraft 1.14, So it won't work on earlier versions and it may result in errors.
Required-Permission »The required permission to drop the custom item for a player. (Type: String)
Find-In (Reworked) »You can now use Find-In as a height condition with regex support ("Everywhere" and "Underground" still works). Here's how you can put heights in Find-In:
Code (YAML):
Find-In: 50-100
<OR>
Find-In: 30
#This will be 0-30
Fix » Fixed a problem that some ItemFlags was not loading when not entering any enchantments.
Multiple Drops »You can now set multiple drops for one block, Making different conditions and customizations for each drop! In order to create multiple drops, you need to write them in numerical sections and start with 1. Here's an example:
HeadDatabase Support »You can now use HeadDatabase for custom drop's materials, In order to use HeadDatabase as a material, you can simply use this format:
Code (Java):
Material
: HeadDatabase
:<headID
> <OR
> Material
: hdb
:<headID
>
Required-Pickaxe-Power (MMOItems compatibility) »A new condition you can use to choose how much pickaxe power is required to get the custom drop. Note: Pickaxe Power is an attribute from MMOItems.
New Placeholders in Commands »Added four new placeholders to use in Console-Commands and Player-Commands:
Code (Text):
%block% -> Shows the mined block name.
%block_x% -> Shows mined block's X location.
%block_y% -> Shows mined block's Y location.
%block_z% -> Shows mined block's Z location.
Improved »Custom Drop loading optimizations, MineableGems will now able to load over a thousand drops in less than one second.
Improved »Improved and optimized custom drops reloading, added new success, fail and warning messages.
Fix » Fixed a bug that plugin was not loading with WorldGuard related errors.
I rewrote some parts of the plugin, If you saw any errors or bugs, please report them and I will fix that under a day. MMOItems Support » You can now set MMOItems as a custom drop! To create an MMOItems drop, simply write "MMOItems:type;id" in "Material" section. Replace type with a MMOItem type and id with the a MMOItem's id. For example:
Code (YAML):
Material: MMOItem:MISCELLANEOUS;GOLD_COIN
Note: Only conditions like Chance, Biome Filter, Find-In, etc will work on MMOItems drops. Customizations like Name, Lore and Enchantments must be handled by MMOItems plugin (You can find them in MMOItems/item folder). You can use "Conditions" and "Other Customization" options that are in our Tutorial section.
Player-Commands »Execute commands as a player. Don't put slash at the first of the command.
Improved »Rewrote some parts of the plugin. Now the plugin will read and save the custom drops on server startup or on reload to save some performance.
Fix » Fixed an error (NPE) when some configurations didn't exist. You can now write the things that you want, everything now has a default that will be used when that thing didn't exist. (For example, if you don't put Filter-as-Blacklist in the configuration, it will be true by default)
Oraxen Support » You can now set Oraxen items as a custom drop! To create an Oraxen drop, simply write "Oraxen:itemID" in "Material" section. Replace itemID with an Oraxen Item Name. For example:
Code (YAML):
Material: Oraxen:Ruby
Note: Only conditions like Chance, Biome Filter, Find-In, etc will work on Oraxen drops. Customizations like Name, Lore and Enchantments must be handled by Oraxen plugin (You can find them in Oraxen/items folder). You can use "Conditions" and "Other Customization" options that are in our Tutorial section.
Oraxen Support » You can now set Oraxen items as a custom drop! To create an Oraxen drop, simply write "Oraxen:itemID" in "Material" section. Replace itemID with an Oraxen Item Name. For example:
Code (YAML):
Material: Oraxen:Ruby
Note: Only conditions like Chance, Biome Filter, Find-In, etc will work on Oraxen drops. Customizations like Name, Lore and Enchantments must be handled by Oraxen plugin (You can find them in Oraxen/items folder). You can use "Conditions" and "Other Customization" options that are in our Tutorial section.
Unbreakable »You can set unbreakable state on those items that has durability (like weapons, tools and armors). Unbreakable items never break. To add this feature simply add this line to your drop's config:
Code (YAML):
Unbreakable: true
Hide-Unbreakable »Hides the unbreakable state on the custom drop.
Hide-Attributes »Hides attributes of custom drops. (Only weapons, tools and armors have attributes)
Experience »You can add/customize experiences to the custom drop. Also supports random experience in range. If you want to give experience randomly in a range you can write in this format:
Code (YAML):
Experience: 2-15
This will drop at least 2 and at most 15 experience each time.
Fix » Fixed drops being glitched in blocks (1.8-1.11)
Enchantments:You can set every enchantment with any level to any custom drop, you can also hide the enchantments if you want.
Console-Commands:You can now set execute console-commands when a player gets a custom drop, you can use %player% placeholder to use player's name in the console command.
You can see an example for Enchantments and Console-Commands here:
Code (YAML):
STONE:
Material: IRON_PICKAXE
Chance: 0.5
Find-In: Underground
Biome-Filter: [] Filter-as-Blacklist: true
#A list of enchantments you want to put on the Iron Pickaxe, you can see a list of enchantments here: #Newer versions of Minecraft: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html #Older versions of Minecraft: https://helpch.at/docs/1.8.8/index.html?org/bukkit/enchantments/Enchantment.html #You should write in this format » Enchantment:Level Enchantments: - DIG_SPEED:2
- DURABILITY:1
#If you set this to true, enchantments will be hide. Perfect for glowing items. Hide-Enchantments: false
#Do you want to execute console commands when the player get this drop? Write them in this list! Use %player% for the player name. Console-Commands: -
"msg %player% You found an Iron Pickaxe in this Stone!" Fortune-Enchantment: false
Prevent-Drops-If-Placed: true
Vanilla-Drops: half
Auto-Inventory: false