Upgrade Scripts Docs

#Installation

#Drop the files in your 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-shops

#Setup Config

The config is relatively simple to setup, with very little needed to be setup. Set your framework, and inventory. Then you can setup your shop categories.

Config = {}

Config.Framework = 'qb' -- Options: 'qb', 'esx'
Config.Inventory = 'core_inventory' -- Options: 'core_inventory', 'qb-inventory', 'ox_inventory', 'qs-inventory'

Config.ShopTypes = {
    ['General'] = {
        allowedSellCategories = {'Food', 'Resources', 'Tools', 'Other'}
    },
    ['Weaponsmith'] = {
        allowedSellCategories = {'Weapons', 'Armor', 'Ammo', 'Resources', 'Tools', 'Other'}
    },
    ['Medical'] = {
        allowedSellCategories = {'Medical', 'Resources', 'Tools', 'Other'}
    },
    ['All'] = {
        allowedSellCategories = {'Food', 'Resources', 'Weapons', 'Armor', 'Ammo', 'Medical', 'Tools', 'Other'}
    }
}

#SQL

The script is setup to automatically implement SQL, there is no need to setup any database.