Hello mcm I have just been coding some ideas and i have come up with a DonorSmelt Plugin so if you have the permission when you mine anything like iron_ore etc with a diamond_pickaxe it smelts it
Price:
DonorSmelt.jar = Free
DonorSmelt source = Pm me $1
Permissions:
auto.smelt: Allows the player to be able to mine ores while mining
If the Player doesnt have perm he wont be able to get smelted ores while mining!
Way to get plugin:
If you put in the comments you want the plugin once you have vouched i will send you the link to the download of the Plugin.
Price:
DonorSmelt.jar = Free
DonorSmelt source = Pm me $1
Permissions:
auto.smelt: Allows the player to be able to mine ores while mining
If the Player doesnt have perm he wont be able to get smelted ores while mining!
Way to get plugin:
If you put in the comments you want the plugin once you have vouched i will send you the link to the download of the Plugin.
Code:
if ((hand.getType().equals(Material.IRON_PICKAXE)) || (hand.getType().equals(Material.DIAMOND_PICKAXE)))
{
block.getDrops().clear();
block.setType(mat);
block.breakNaturally(new ItemStack(Material.AIR));
if (hand.containsEnchantment(Enchantment.LOOT_BONUS_BLOCKS))
{
Random rand = new Random();
dropAmount = rand.nextInt(hand.getEnchantmentLevel(Enchantment.LOOT_BONUS_BLOCKS) + 1) + 1;
}
block.getWorld().dropItemNaturally(block.getLocation(), new ItemStack(drop, dropAmount));
}
}
[DOUBLEPOST=1463073721][/DOUBLEPOST]The packages shown in the screen shot do not add up to what i got...
