DonorSmelt FREE Smelting Plugin!!

Status
This thread has been locked.

Obey

♣MinePots Developer♣
Banned
Feedback score
0
Posts
95
Reactions
32
Resources
0
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.

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));
                }
            }

 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Obey

♣MinePots Developer♣
Banned
Feedback score
0
Posts
95
Reactions
32
Resources
0
Banned forever. Reason: Ban Evading (Snapchat(Snapchat, https://builtbybit.com/members/snapchat.35400/))

LentMinecraft

Feedback score
0
Posts
371
Reactions
130
Resources
0
vouch <3[DOUBLEPOST=1463073721][/DOUBLEPOST]The packages shown in the screen shot do not add up to what i got...
 

Obey

♣MinePots Developer♣
Banned
Feedback score
0
Posts
95
Reactions
32
Resources
0
Banned forever. Reason: Ban Evading (Snapchat(Snapchat, https://builtbybit.com/members/snapchat.35400/))

Obey

♣MinePots Developer♣
Banned
Feedback score
0
Posts
95
Reactions
32
Resources
0
Ill get a dev to check it out.. dont want any malicious code to be sent the other people.
Lol There is nothing malicious in it its a 66 line code plugin
 
Banned forever. Reason: Ban Evading (Snapchat(Snapchat, https://builtbybit.com/members/snapchat.35400/))
Status
This thread has been locked.
Top