It's not fun when players can teleport after getting all the goodies in a mine, so how about only allowing players to teleport when they reach the surface, or Y:40 (Lower than Water but higher than Diamond, Gold, Redstone, and other things.)