Skip to content

Autocraft

Dylan Brose edited this page Aug 30, 2026 · 2 revisions

Autocraft

craftStart(at, typeId, n) queues the same amount a player would Confirm on a Dispatcher. at is still a Gateway on that data network (hasTag("xxdmogxx_dns:gateway")), not the Dispatcher.

const reply = await dns.craftStart(at, typeId, n);
Reply Meaning
ok, n Queued that many
err: "no_gateway" at is not a Gateway on a live data network
err: "no_pattern" No matching pattern in that network’s Pattern Database, or no Dispatcher on the network

This uses the same autocraft as the in-game Confirm button.

Clone this wiki locally