I coded it so that when you place blocks it has a random chance of hurting you. So for instance if you place a dirt block I made it so that it has a random chance of taking away 3 hearts from your health.
Once you place the jar file in the plugins folder the plugin will begin to run.