You need to close the register. So after selection_box = { type = "fixed", fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}, add this }, material = minetest.digprop_constanttime(1.0), dug_item = 'NodeItem "secret_passage:sand" 1', }) My god i'm definetly not a minetest modder... I still can't make it work...