Dumpster Diving
Every vanilla dumpster and street bin on the map becomes a shared, server-timed search. Pick one clean and it stays empty for everyone until it refills. Players level up as scavengers, dodge needles,
Every vanilla dumpster and street bin on the map becomes a shared, server-timed search. Pick one clean and it stays empty for everyone until it refills. Players level up as scavengers, dodge needles, rats and an angry tramp, sell junk at a recycler, and can hide inside a dumpster while police check the alley.
It runs on Qbox, QBCore, ESX Legacy, ox_core or standalone through cc_lib. It works with the inventory, target, notify, progress, skill-check and dispatch scripts you already run, and it still works when none of them are installed.
Pages
| Page | What it covers |
|---|---|
| Installation | Install it in five minutes, add the items, set the permissions |
| Configuration | Every option in config.lua and server/config.lua, plus presets and convars |
| Exports, hooks and events | The API for your own scripts |
| Compatibility | Frameworks and scripts it works with, and how to override detection |
| Troubleshooting | Console and F8 errors and how to fix each one |
| Changelog | What changed in each version |
Features
| Feature | Switch (Config.Features) |
|---|---|
| Search 8 dumpster and 38 bin models. There are no props to place and no zones to draw | always on |
| Shared world: a picked dumpster is empty for every player for 20 to 35 minutes | always on |
| Five loot tiers, weighted tables, richer and poorer neighbourhoods | areas |
| Hazards: needlestick, cut, rats, a tramp who attacks | hazards |
| Work gloves lower hazard odds and can tear | gloves |
| Careful-reach skill check after a search | careful |
| Ten scavenger levels with four perks | progression |
| Recycler ped that buys junk, with an hourly cash cap | recycler |
| The recycler also sells work gloves | shop |
| Lost wallets players can open for cash | wallet |
| Hide inside a dumpster with a peek camera; police can check inside | hide |
| Dispatch alert in watched areas | dispatch |
/scavenger panel with stats, perks and a top-5 board | panel, board |
How a search works
- A player targets a dumpster and picks Dig through the dumpster. The client sends the dumpster's position and model. The server checks that the player is standing there, works out the kind from the model, claims the dumpster and starts its own clock.
- A progress bar runs, then an optional skill check. Passing it lowers the hazard odds. It never changes what is found.
- The server rolls the finds and gives them through one function. A find card shows what came out, the XP gained and the level bar.
- The dumpster is now empty for everyone until it refills.
Security in one paragraph
The server decides everything: position, time, loot and prices. The client sends a position and a model hash, both re-checked, and never an item name or an amount. Each search is a single-use ticket with a time floor. There is a per-player cooldown, a soft and a hard hourly cap, a cap on brand-new spots per hour, a density cap and a merge radius, so coordinate tricks find the same dumpster. Every money path checks capacity first and rolls back on failure. Admin rights come from ACE.