1. Home
  2. Docs
  3. Paid Resources
  4. oVehicleBoots
  5. Configuration

Configuration

Main Configuration File

The main configuration file for oVehicleBoots is the Config.lua file which is provided in the download, from this file you are able to do a range of different actions including but not limited to:

  • Enabling and Disabling the Weapon Blacklist
  • Selecting if integrations with CMA or FMS are enabled for Skill checking
  • Enabling and Disabling integration with oEssentials
  • Customising which boot vehicles use & the doors

The default options for this file are as follows:

Config.Debug = false -- I wouldn't have this as true unless trying to work stuff out
Config.VersionCheck = true -- Should we check if your version is the most up to date on start?
Config.UsedFramework = "CMA" -- Options are Standalone, CMA and FMS
Config.UseWeaponBlacklist = true -- If set to yes, players have to collect the weapons that are on bootTypes from the boot and boot alone.

Config.Integrations = {
    oEssentials = { -- You MUST own oEssentials and have it on the server to use this area.
        Enabled = true, -- If true will use the additional options below
        RequiredOnDuty = true -- If true, the player must be on duty to open vehicle boots
    }
}

Config.VehicleBoots = {
    -- [`SPAWN CODE`] = "BOOT TYPE"
    ["POLICE"] = "IRV"
}

Config.CustomDoors = { -- Uses a different door other than the vehicle boot. Default: 5 (https://gtamods.com/wiki/SET_VEHICLE_DOOR_OPEN)
    -- [`SPAWN CODE`] = DOOR NUMBER
}

Vehicle Boot Types

As well as the main configuration file, we provide a bootTypes.json file where users can customise which items appear in which boot types as well as adding additional boot variants where necessary. It is advised that once you have edited this file you verify the contents with JSONLint.

The structure of a boot type is as follows:

"ARV" : {
    "Weapons" : [
        {
            "name": "This is the name displayed on the menu",
            "weapon": "This is the spawn code in-game",
            "components": [],
            "SkillRequired": "Only enabled with FMS and CMA Framework"
        },
        {
            "name": "Sig MCX [CT]",
            "weapon": "WEAPON_CARBINERIFLE",
            "components": [
                "COMPONENT_AT_AR_FLSH",
                "COMPONENT_AT_SCOPE_MEDIUM"
            ],
            "SkillRequired": "ARV"
        }
    ],
    "Objects" : [
        {
            "name":"This is the name displayed in the menu",
            "hash":"This is the spawn code in game",
            "maxAmount": Maximum Amount that can be carried by a player
        },
        {
            "name":"Police Road Closed",
            "hash":"prop_barrier_work05",
            "maxAmount":1
        }
    ]
},