~ Dumpster Search
~ description
What it does
- Over 30 models of dumpsters, bins, trash cans and recycling points from the map, searchable with
ox_target. - NUI minigame: you drag the trash out of the dumpster to reveal what’s underneath.
- 17 materials with rarity (common, uncommon, rare, epic) and weighted probability.
- Only some dumpsters have loot (25% by default), and each one can be searched again after 7 minutes.
Under the hood
- The server decides the loot: the NUI only claims opaque temporary identifiers.
- Before handing anything over, distance, session, pickup rate and inventory space are all checked.
- Search limit per player and time window, plus per-dumpster cooldown.
- Everything configurable from
config.lua: models, timers, amounts and probabilities.
