#Installation
#Drop files in server
Start by dropping the files included in the resource from keymaster into your resources folder, make sure to ensure the resource in your server.cfg
ensure sparks-bagdrop
#Setup Config
The config is relatively simple to setup, set your framework, inventory, and target options. Everything else is optional as the resource should work without changing any of the other options.
-- config.lua
Config = {}
-- Core System Selection
Config.Framework = 'qb' -- 'qb' or 'esx'
Config.Inventory = 'core_inventory' -- 'qb-inventory', 'ox_inventory', 'core_inventory'
Config.Target = 'qb-target' -- 'qb-target', 'ox_target', 'qtarget'
-- Database Settings
Config.PersistentDrops = true -- Set to false to disable database storage of drops
Config.DropLifetime = 24 -- Hours before a drop is automatically deleted (set to 0 for no auto-delete)
-- Core Settings
Config.BagModel = 'prop_cs_heist_bag_02'
Config.BagOffset = {x = 0.5, y = 0.5, z = 0.0}
Config.SearchDistance = 2.5
Config.Messages = { -- If you don't want notification you can set this false.
bagCreated = "A death bag has been created",
searchingBag = "Searching bag...",
bagEmpty = "Bag is empty",
}
#Finished
That's it, the script should automatically install the SQL for your database. Start the resource and it should just work without much more modification.