Full rework of the darkweb tablet we had. Images of UI at bottom of this Readme.
Supports Ox Inv/lib and QBcore. You can select what features you want from whichever in the config.
If you have feedback and suggestions then post about it in the Discord
Features:
- Darkweb tablet
- Customizeable ads (see Create an Ad section)
- Randomly generated ads at set interavals
- Randomly generated dead drops for pickup
- Dead drop export for use with other scripts
Planned features:
- Metadata checks for items
- Player to Player ads with dead drops for both sides
- Player accounts (to have stores and validate sellers/buyers etc)
Also, not tested with QB inventory, but should support it
COMING SOON?!
⭐ Check out our Tebex store for some cheap scripts ⭐
🥳 Get more Free scripts 🥳
- Get script
- Add it to your server (make sure to remove -main in folder name)
- Set up config to work with your server
- Add the cw tablet item to your
items.lua
and add the image(s) from theitems
folder to your inventory image folder. Example is for OX inventory:
["cw_darkweb_tablet"] = {
label = "Darkweb Tablet",
description = "It has a chili dog sticker on it",
weight = 10,
close = true
},
- Start server and spawn the item
cw_darkweb_tablet
- Add some way to get the tablets ingame, maybe as loot I dunno I'm not your mom.
The ads are defined in the Config.DarkwebAds
table in the config. This in an example with the options:
{
title = "Sandwich AD", -- Title of the ad
description = 'One sandwich', -- Description of the ad
items = { -- A table of items
{ -- Item entry,
itemName = 'sandwich', -- item name (MAKE SURE THIS EXISTS IN YOUR ITEMS.LUA)
amount = 1, -- amount in batch
metadata = nil -- optional metadata/info table
},
},
price = { min = 5, max = 200 }, -- price is defined with a min and a max, on list generation it's randomized between these numbers.
required = { -- OPTIONAL: table that contains requirements
item = 'vpn', -- item that's required to see this ad
}
},
Note: if you do not meet requirement for the item it won't show up in the ad list at all.
You can use the included server export to create dead drops from other scripts, for example if you want to use these for payouts from jobs.
exports['cw-darkweb']:createCustomDropoff(<source>, <dropoff data>)
The source is the source of the player you want to give this to. The dropoff data is defined in the same way as you define Ads, so for example:
local dropoffData = {
title = "Sandwich Dropoff", -- Title of the ad
description = 'Thanks for killing that dude, heres your payment', -- Description of the ad
items = { -- A table of items
{ -- Item entry,
itemName = 'sandwich', -- item name (MAKE SURE THIS EXISTS IN YOUR ITEMS.LUA)
amount = 1, -- amount in batch
metadata = nil -- optional metadata/info table
},
},
},
exports['cw-darkweb']:createCustomDropoff(source, dropoffData)
Will generate a custom dead drop containing a slice of
- Get yourself a tablet
- Use the tablet
- Buy thing(s)
- Pickup things at the given location
- Enjoy your things
QBCore (or QBox Core)