Considering registering privliges like that: minetest.register_privilege("foo", privilege definition) And using it in chat command ie: minetest.register_chatcommand("foo", { params = "<bar>", description = "Do bar with foo", privs = {foo = true}, func = functi...