If you're using CoC mines, just place a mine, name it anything (I'll use mine1 as an example), then make a trigger on top of the mine. Set the trigger to be set off by anybody, make the radius small, and in the On Activation field put mine1 setdammage 1.