QBCoreQBoxESX

Dumpster Diving — Configuration

Four files, all unencrypted: config/config.lua, config/loot.lua, config/recycler.lua and config/perks.lua.

KeyDefaultWhat it does
duration7000Search time in ms, before any perk speed bonus
maxDistance4.0How far you can drift from the bin before it cancels
cooldown3Minutes a bin stays picked clean — shared by everyone
playerCooldown8Seconds between successful searches, per player
rateLimit2Seconds between search attempts
minMove0.8Metres you must move between searches
💡

cooldown is the economy dial. It is shared server-wide, so raising it thins out how much a whole street is worth rather than just slowing one player down.

Hourly limits

KeyDefaultWhat it does
searchesPerHour120Hard ceiling on searches per player per hour
cashPerHour15000Hard ceiling on recycler payout per player per hour

Both are enforced server-side. They exist so an idle player farming all night can't outpace a real job — raise or remove them if that isn't a concern on your server.

Loot

config/loot.lua holds the roll table. Each entry is an item, a weight and a quantity range. Most bins give scrap; valuables sit at a much lower weight.

Any item you add here must exist in your inventory — there is no fallback for an undefined item name.

Recycler

config/recycler.lua sets the ped, its location and blip, and the price per item.

ped   = { model = 's_m_y_garbage', coords = vec4(-336.0, -1554.5, 25.2, 210.0) },
blip  = { enabled = true, sprite = 318, colour = 15, label = 'Recycling Centre' },
prices = { rolex = 900, goldchain = 600, ... }

Prices here are the other half of the economy. An item with no price cannot be sold.

Police alerts

KeyDefaultWhat it does
enabledtrueMaster toggle
chance6% chance per search that a passer-by calls it in

The odds rise when something valuable comes out. Perks reduce them — see below.

Perk levers

With jj-perks running, the dumpsterdiving category drives four per-level bonuses:

LeverPer levelAt level 10
speedPerLevel2.5%25% faster searching
rarePerLevel6.0%+60% rare-find odds
payoutPerLevel2.5%+25% recycler payout
heatPerLevel4.0%40% less chance of being reported

extraRolls grants additional loot rolls per bin at set levels. XP is awarded per search, per find, and generously for a rare pull.

Set Perks.enabled = false to ignore jj-perks entirely even if it is running.

Debug

Config.debug = true prints loot rolls and cooldown keys to the server console. Useful when tuning loot.lua; leave it off in production.

Next: Troubleshooting.