Configuration
All configurations can be found in config.lua file
discord logs and webhooks
create a log room in your discord server then create a webhook and add it to config.lua
you can add more market center and warehouses or even new market location
how to
how to add new items?
open config.lua and search for Config.shopItems and add your box items like this
also add the box item and his item into qb-core/shared/items.lua and dont forget to upload the image too in your inventory BoxItem present the boxes that can be ordered from warehouses SingleItem present what the box item can give when owner add the box in his market BoxPrice how much money should owner pay to order the box from warehouse Boxamount how much single items can get from the box MaxBox maximum boxes ordred at once
how can i add new market/shop ?
first open config.lua and search for Config.markets there are 19 markets by defaults add new location and dont forget to change the id to 20 or 21 based on how markets you have , check this example
run this sql in your phpmyadmin
20 is the ID in sql , 0 is citizenid thats mean no one bought it yet , 20 is the marketid , 0 is the market money , 1000000 is the market value , the other null for employee and must be null
how can i change market value prices ?
if you want to change the market prices open your database HeidiSQL or phpmyadmin choose ra-ownedmarkets table and change the vlaue of marketvalue by doubleclick on it

Last updated