minetest.register on protection violation

Description
Registers a function to be called when a player violates protection.