For my factions server, I want to make a plugin where it takes 5 hits of tnt to destroy obby and 30 for bedrock. There are some out there, but they don't work. So is there a way to do that?
Have you ever worked with HashMaps? What I would do is catch the explosion event, get the impacted block list, and check/save each block's location in a HashMap for later recall.