minetest.register_on_dieplayer(function(player)
   local player_name = player:get_player_name()
   local pos = player:getpos()
   local location = minetest.pos_to_string(pos,1)
   minetest.chat_send_player(player_name, "Your bones are waiting at "..location)
end)
