Compatibility
Dumpster Diving talks to your server only through cc_lib, the free Code Cartel bridge. cc_lib detects each category when it is first used: the first started resource in its list wins, and when nothing
Dumpster Diving talks to your server only through cc_lib, the free Code Cartel bridge. cc_lib detects each category when it is first used: the first started resource in its list wins, and when nothing is installed it falls back to a working built-in version. You never edit this script to support a framework or an inventory.
To force a different resource in any category, set Config.Bridge. in cc_lib's config (or the cc: convar). The full list, with how each adapter was tested, is on the cc_lib compatibility page.
Frameworks
| Framework | Works | Notes |
|---|---|---|
Qbox (qbx_core) | yes | |
QBCore (qb-core) | yes | |
ESX Legacy (es_extended 1.9+) | yes | Older ESX through esx:getSharedObject |
| ox_core | yes | |
| ND_Core 2.x | yes | |
| Standalone (no framework) | yes | Identifier = licence. There are no jobs, so set Features.hide = false or use your own police check, because nobody can "Check inside" |
What this script uses, by category
| Category | Used for | Supported (through cc_lib) | When none is installed |
|---|---|---|---|
| Inventory | Finds, gloves, wallet, junk sales | ox_inventory, qs-inventory, origen_inventory, codem-inventory, core_inventory, ak47_qb_inventory, tgiann-inventory, qb-inventory, ps-inventory, lj-inventory, mf-inventory, the framework inventory | Framework inventory |
| Target | Options on dumpsters, bins and the recycler | ox_target, qb-target, qtarget, bt-target, interact, sleepless_interact | An [E] key prompt. Force it with Config.Interaction = 'prompt' |
| Notify | Every message | ox_lib, okokNotify, mythic_notify, brutal_notify, t-notify, codem-notification, wasabi_notify | Framework notify, then the GTA feed |
| Progress bar | The rummage | ox_lib, qb-progressbar, progressbar, mythic_progbar, rprogress, esx_progressbar | A native progress bar |
| Skill check | The careful reach | ox_lib | A native skill bar. Or turn it off with Features.careful = false |
| Dispatch | Alerts in watched areas | ps-dispatch, cd_dispatch, qs-dispatch, rcore_dispatch, linden_outlawalert, core_dispatch, origen_police, emergencydispatch, lb-tablet | A blip and a notification to Config.Police.jobs |
| Money | Recycler pay, shop, wallet, cash finds | The framework's cash and bank | Cash as an inventory item |
| Database | Scavenger stats | oxmysql | Resource KVP (survives restarts) |
| Logging | Discord channels | Webhooks, Fivemanage, ox_lib logger | Console |
Fuel, vehicle keys, phone, clothing, garages, doors and banking/society are not used by this script, so it cannot conflict with any of them.
Scripts that overlap
| Script | What to do |
|---|---|
| ox_inventory dumpster stashes | ox_inventory gives every dumpster its own loot stash. Set setr inventory:dumpsterloot [], or players get a second, uncapped source of items. The stash itself can stay |
| qb-dumpster, ps-dumpster, other bin-search scripts | Stop them. Two scripts on the same models give two target options and double the loot |
| Your own recycling or pawn script | Keep it. The recycler here buys junk only, so your crafting and pawn scripts stay the better buyers for materials and valuables. Switch it off with Features.recycler = false |
| A lottery script | If a loot item is a scratch card your lottery pays out, add its expected value to ServerConfig.Recycler.cardValue so it counts toward the hourly cash cap |
Maps and MLOs
The script searches props by model, so it works with any map or MLO that places vanilla dumpster and bin models. Custom bin models can be added to Config.Kinds[i].models. Only the recycler and the four loot areas have coordinates, and all of them are on the vanilla map.
Server requirements
| FXServer | Any current recommended build (Lua 5.4) |
| OneSync | Legacy or Infinity (the hide state bag needs it) |
| Game build | Any. Only base-game models are used |