-- example script to test the Lua integration local b3dv = require("b3dv") function Sleep(n) os.execute("sleep " .. tonumber(n)) end -- run some commands from the console local function test() b3dv.console("Hello from Lua!") b3dv.console("/give admin stone 64") b3dv.wait(1) -- Sleep(1) nono, dangerous b3dv.console("/tp admin 100 50 100") -- idk maybe some world terrain api? b3dv.world.set_block(100, 50, 100, "dirt") -- something like that? end test()