Resourcesdnd_economyInstallation
Installation
Last updated on
- Drop
dnd_economyinto your resources folder. - Install the required dependencies — see Dependencies.
- Import the database schema — see Database Setup (or just start the resource once; it auto-migrates on boot).
- Build the NUI:
cd web npm install npm run buildweb/distis git-ignored and not shipped pre-built — the resource won't have a working NUI without this step. - Register each agency's stash in your inventory (
dnd_eco_stash_<agencyId>by default — seeConfig.Agencies[id].stash.id) if your inventory resource requires stashes to be pre-registered. - Configure
config.lua— see Configuration. - Add
ensure dnd_economyto yourserver.cfg, after its dependencies.
Optional integrations
All optional — the resource works without any of them, just with the related feature disabled.
Renewed-Banking— required for the Buy flow (Config.Banking.Enabled = true). Without it, buying stays effectively disabled (checked at the top of the purchase transaction) rather than silently discarding revenue. It's also what a bank-paid Sell/Buy mirrors its statement entry into (personal balance moves happen through the framework bridge either way — cash or bank).dnd_jobmanagement— required forConfig.Printer = 'dnd_jobmanagement'(auto-queues a printable document when staff accept a Buy order). SetConfig.Printer = 'none'if you don't run it.dnd_phone— if running, a bank-paid Sell/Buy also gets logged into the player's own mBanking → History viadnd_phone'sexports.dnd_phone:RecordBankHistory, so it shows up on their phone, not just their balance. Silently skipped ifdnd_phoneisn't installed.