Skip to main content

v3.42.0

A big update: dzbot becomes the backend for your own bot or website, with developer apps, "Sign in with dzbot" and webhooks. dzbot also starts warning when your server is restarted around it, plus a few fixes.

Action needed​

  • If your server uses mods, the shop or spawn subscriptions and is restarted from the Nitrado web interface, Nitrado scheduled tasks or other bots: dzbot now warns you with a red banner in the admin area, a notice on the Dashboard and a Discord DM to your organization's admins. Orders, subscriptions, mod files and vehicle wipes only reach the game server when dzbot restarts it. Delete the restart tasks in Nitrado's scheduler (the Dashboard lists them with Remove in Nitrado), stop restarting from the Nitrado web interface or other bots, and set up your restarts in the dzbot Scheduler. Docs

The big things​

Build your own bot or website on top of your server. The Developers page now holds apps. An app gets API keys, can let players sign in with their dzbot account on your own website (they link their game account if needed and allow your app — you get their player, linked accounts and exactly the rights they granted), and receives webhooks for kills, orders, tickets, transactions and every other event the moment dzbot sees them. Every app has a rights ceiling it never exceeds. Start under Admin → Developers → New app; the new @dzbot/sdk and the docs on developers.dzbot.de cover the code. Docs

Good to know​

  • Existing API keys became one app each (named after the key's note) with the key's rights as its ceiling; they keep working unchanged. API keys now need dzbot Pro on every request.
  • A live event stream for browser apps (dzbot.events.subscribe(...) in the SDK). Your server website itself now updates ticket and order pages live instead of reloading every few seconds.
  • developers.dzbot.de has SDK, sign-in, webhook, live and event pages, every page also as markdown, plus llms.txt and llms-full.txt for AI coding assistants, and a starter bot template. Docs
  • New guide on dzbot.de: why and how to build your own DayZ bot on dzbot instead of from scratch.

Fixed​

  • Creating or editing an API key no longer accepts rights the admin does not hold themselves. Before, anyone allowed to create keys could give a key full admin access.
  • New subscriptions and subscription offers in the admin start with the spawn type Vehicle, and Save stays disabled until a spawn type is chosen. Before, a subscription without a type could be submitted and failed with a server error.
  • Log imports, shop deliveries and restarts keep working when Nitrado's API rejects part of its traffic, as it did on October 27. Before, every rejected call failed the action.