I'm making a minigame i need some help. I want if a player mine a ore ( Gold, redstone, Iron, Diamond, Emerald) that a player gets it directly so other players can't take it and i want that it replace to cobble stone and after 15 second it change back to the ore.
With a block break event, remove the item that dropped, and just get the drop and add it to the player's inventory.
spookyDHD As Bionicrm said do that, then place the cobblestone and run a bukkit runnable for 15 seconds and then change it back to that ore.