Skip to content

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

FrameworkWorksNotes
Qbox (qbx_core)yes
QBCore (qb-core)yes
ESX Legacy (es_extended 1.9+)yesOlder ESX through esx:getSharedObject
ox_coreyes
ND_Core 2.xyes
Standalone (no framework)yesIdentifier = 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

CategoryUsed forSupported (through cc_lib)When none is installed
InventoryFinds, gloves, wallet, junk salesox_inventory, qs-inventory, origen_inventory, codem-inventory, core_inventory, ak47_qb_inventory, tgiann-inventory, qb-inventory, ps-inventory, lj-inventory, mf-inventory, the framework inventoryFramework inventory
TargetOptions on dumpsters, bins and the recyclerox_target, qb-target, qtarget, bt-target, interact, sleepless_interactAn [E] key prompt. Force it with Config.Interaction = 'prompt'
NotifyEvery messageox_lib, okokNotify, mythic_notify, brutal_notify, t-notify, codem-notification, wasabi_notifyFramework notify, then the GTA feed
Progress barThe rummageox_lib, qb-progressbar, progressbar, mythic_progbar, rprogress, esx_progressbarA native progress bar
Skill checkThe careful reachox_libA native skill bar. Or turn it off with Features.careful = false
DispatchAlerts in watched areasps-dispatch, cd_dispatch, qs-dispatch, rcore_dispatch, linden_outlawalert, core_dispatch, origen_police, emergencydispatch, lb-tabletA blip and a notification to Config.Police.jobs
MoneyRecycler pay, shop, wallet, cash findsThe framework's cash and bankCash as an inventory item
DatabaseScavenger statsoxmysqlResource KVP (survives restarts)
LoggingDiscord channelsWebhooks, Fivemanage, ox_lib loggerConsole

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

ScriptWhat to do
ox_inventory dumpster stashesox_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 scriptsStop them. Two scripts on the same models give two target options and double the loot
Your own recycling or pawn scriptKeep 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 scriptIf 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

FXServerAny current recommended build (Lua 5.4)
OneSyncLegacy or Infinity (the hide state bag needs it)
Game buildAny. Only base-game models are used