This is insanely overpriced. It took you a week to make this?
Also there should at least be an optional regen feature so admins aren't constantly having to replace them.
Oh I didn't make the thread someone made it for me and messed it up updated prices soonI could write this in one class with 4 methods, extremely over-priced, this should be a free resource.
Yes i understand that but i also am going to add bigger features to this plugin that are going to be worth itAgreed.
Code:@EventHandler public void onBreak(BlockBreakEvent e) { Block block = e.getBlock(); Player player = e.getPlayer(); if (!block.getType().equals(Material.NOTE_BLOCK)) { return; } ItemStack gunpowder = new ItemStack(Material.SULPHURE); ItemStack hand = player.getItemInHand(); if (hand != null && hand.hasEnchantment(Enchantment.FORTUNE)) { int level = hand.getEnchantment(Enchantment.FORTUNE)); //No idea if this is the right method, probably not int min = level; int max = level + 2; int amount = new Random().nextInt(max + 1 - min) + min; gunpowder.setAmount(amount); } e.setDropItems(false); block.getWorld().dropItem(block.getLocation(), gunpowder); }
I basically just remade the plugin in 5 minutes and in that time I had to message someone a bit on Discord. This should be free.
Better to add that feature before trying to sell it then. :tup:Yes i understand that but i also am going to add bigger features to this plugin that are going to be worth it
