add minetest.register_on_punchplayer

adds a callback that is called when a player is punched