♻️Recyclers

Features
Supports Ipls/MLOs
Supports multiple warehouse locations
Option to use a job check for access to the warehouse
Each warehouse can have different times for getting materials, pallet cooldowns
Support for drawtext/target to enter or leaving the warehouse
Usable recycler prop
Recycler prop can be placed anywhere
Option to use a job check to recycle certain items
Pallet timeouts per player after collecting materials
Showcase
Installation
Dependencies:
Renewed Lib https://renewed.dev/lib
Recycler Prop https://bzzz.tebex.io/package/5372116
Inventory Items
QBX Items List
The below snippet is to be placed in ox_inventory/data/items
The images are to be placed in ox_inventory/web/images
QBCore Items List
The below snippet is to be placed in qb-core/shared/items.lua
The images are to be placed in ps or qb inventory/html/images
Warehouse Example
Warehouse Fields
enableTeleports
boolean: Enable or disable teleporting to this warehouse.drawtext
table: Customizable draw text for entrance and exit prompts.entrance
string: Text to display at the entrance (optional).exit
string: Text to display at the exit (optional).
target
table: Target interaction configuration for entrance and exit.entrance
table: Entrance target settings.icon
string: Icon for the entrance target.label
string: Label for the entrance target.coords
vector3: Coordinates for the entrance target.size
vector3: Size of the entrance target area.rotation
number: Rotation of the entrance target.
exit
table: Exit target settings.icon
string: Icon for the exit target.label
string: Label for the exit target.coords
vector3: Coordinates for the exit target.size
vector3: Size of the exit target area.rotation
number: Rotation of the exit target.
bucket
number: Routing bucket ID for the warehouse instance that's not 0.job
string: Job required to access this warehouse.entrance
vector4: Entrance coordinates and heading.exit
vector4: Exit coordinates and heading.zone
table: Zone configuration for the warehouse.coords
vector3: Center coordinates of the warehouse zone.radius
number: Radius of the warehouse zone.
ped
table: Pedestrian (NPC) configuration.coords
vector4: Coordinates and heading for the ped.model
hash: Model hash for the ped.enableStore
boolean: Enable or disable the store for this warehouse.
blip
table: Map blip configuration.name
string: Name of the blip.sprite
number: Sprite ID for the blip.color
number: Color ID for the blip.scale
number: Scale of the blipshortRange
boolean: Whether the blip is short range.
shop
table: Shop configuration for the warehouse.name
string: Name of the shop.items
table: List of items available in the shop.name
string: Item name.amount
number: Quantity available.price
number: Price of the item.
crateTimeOut
number: Minutes until a pallet can be looted again.emptyCrateTime
number: Time in milliseconds to collect an empty crate.getMaterialsTime
number: Time in milliseconds to get materials from a pallet.pallets
table: Pallet configuration.models
table: List of model hashes for pallet objects.coords
table: List of vector4 coordinates and headings for pallet placements.
Last updated