Bukkit plugin example: Mycelium causes a configurable amount of damage to player