Scrap

Scrap

Scrap

v1.0.0
QBCore Compatible QBox Compatible
Scavenge scrap materials for crafting
AVAILABLE SOON
DOCUMENTATION

What is it?

BigDaddy-Scrap turns configured world objects into sources of inventory materials for your FiveM server. Let players recover rubber from tires, metalscrap from wrecked vehicles, or other items from the object models you choose.

Players can scavenge by hand through a targeting interaction or equip an allowed weapon and strike the object. Each model has its own reward item, yield range, hand-scavenging duration, animation, and list of allowed weapons. Server owners can allow both methods or require weapon hits for specific objects.

Key Features

  • Configurable object rewards: Choose the exact object model, inventory item, and minimum and maximum total yield.
  • Hand scavenging: Enable or disable hand scavenging for each model with canHandScavenge.
  • Multiple allowed weapons: Set toolForScavenging to a list of weapon items, such as a hammer, crowbar, or machete.
  • One item per hit: Each accepted hit with an allowed weapon awards one item from the object's remaining yield. Weapon scavenging requires no target selection or progress bar.
  • Synced materials available: The server rolls the total between the configured minimum and maximum once per harvest cycle. Players and scavenging methods share the same remaining supply.
  • Hand-only targeting: Supports ox_target and qb-target. The hand option appears only where hand scavenging is enabled.
  • Inventory integration: Supports ox_inventory and qb-inventory, with checks for the equipped weapon, weapon ownership, reward items, and available capacity.
  • Shared cooldown: Depleted objects become available again after the configured cooldown.
  • Map object support: Supports existing map props and networked objects, controlled by allowMapObjects.
AVAILABLE SOON
DOCUMENTATION

Requirements

FiveM serverGTA V server with OneSync enabled.
TargetingEither ox_target or qb-target. (for toolless scavenging)
InventoryEither ox_inventory or qb-inventory, including that provider's own dependencies.

NOTE: SOME OF THESE SCRIPTS ARE STAND-ALONE FIVEM SCRIPTS AND SOME SUPPORT FRAMEWORKS. Please see the compatability chart at wiki.bigdaddyscripts.com for information on compatibility with frameworks and other scripts.

Changelog

Latest Updates

unreleased