[PAID][QBCore] K-Dumpsters

A script by botman64

No reviews yet.
[PAID][QBCore] K-Dumpsters main image

Full Description

DEPENDENCIES:

qb-Ineventory

qb-target

PREVIEW: [QBCore] k-dumpsters the ultimate dumpster resource - YouTube
TEBEX: https://game-over.tebex.io/package/5184159

This resource is a bit different from the other dumpster resources. Be sure to import the sql file prior to ensuring the resource the first time and add the trash item to your items.lua in the qb-core/shared folder and add an image for it under qb-inventory/html/images folder. Be sure the item is unique = true no matter the name of it.

The way this resource works if you open a dumpster that hasnt been touched it will populate loot inside of a stash. this stash will stay with any items inserted or taken out for whatever time you have set in the config, then ‘the trash will be taken out’ and deleted from DB… During this amount of time when opening the dumpster new items will not spawn in there unless placed in there by somebody else.

The second feature of this is to remove trash event. This will put a trash item into the players inventory to sell with a random amount. When the trash is removed that dumpster inventory will be cleared completely until next server restart and deleted from DB. After restart the dumpster will be able to be randomly populated with items again. The dumpster can not have the trash removed from it 2 times in one server restart.

Code is accessible No
Subscription-based No
Lines (approximately) ~500
Requirements qb-Ineventory, qb-target
Support Yes

Config:

Config Merger
Have you tried Config Merger? Merge your configs easily