TebexDiscordYouTubeTwitch
  • 👋Introduction
  • Information
    • 💬Discord Roles
    • 🔐FiveM Asset Escrow
    • 🤝Support Plans
    • 🌐Showcase Server
    • ⁉️Frequently Asked Questions
    • ⭐Staff & Beta Tester Applications
  • Paid Resources
  • 🛡️PHYLAX AC
  • 🔫BetterFight Evolved
    • 📚About BFE
      • 💁‍♀️Features
        • 🎯Recoil System
        • 💢Crosshair System
        • 🔥Temperature System & Jamming
        • 🔫Weapon Damages
        • 🎥ViewCam Enforcer
        • ♨️Triggerbot System
        • 🦘Jump Spam & Roll Prevention
        • 🥢Remove Whipping & Melee One Shot Prevention
      • 🔁Dependencies & Compatibility
      • ⚡Optimization
      • 🛡️Security
      • 🔐Encryption - FiveM Escrow
      • 🆕Changelogs
    • ⚙️Configuration Settings
      • ⚙️Master Config
      • ⚙️Weapons Config
      • ⚙️Security Config
      • ⚙️Discord Logs Config
    • ⤵️Base Installation
    • ⬅️Exports
  • 🏪Store Robberies Evolved
    • 📚About SRE
      • 💁‍♀️Features
        • 👨‍💼AI Shopkeeper System
          • 🗣️Tasks & Behaviors
          • 🤠Character Manipulation
        • 🔫Realistic Robbery Mechanics
        • 🚨Security Systems and Measures
        • 🛠️Customizable Store Configuratins
      • 🔁Dependencies & Compatibility
      • ⚡Optimization
      • 🛡️Security
      • 🔐Encryption - FiveM Escrow
      • 🆕Changelogs
    • ⚙️Configuration Settings
      • ⚙️Master Config
      • ⚙️Stores Config
        • ⚙️Global Store Settings
        • ⚙️Individual Store Settings
          • ⚙️Main Settings
          • ⚙️Polyzone Settings
          • ⚙️Shopkeeper Settings
          • ⚙️Stealable Settings
          • ⚙️Security Settings
      • ⚙️AI NPC Config
        • ⚙️Shopkeeper Character Settings
        • ⚙️Shopkeeper Animation List
        • ⚙️Shopkeeper Speech List
      • ⚙️Player Speech List
      • ⚙️Security Config
      • ⚙️Discord Logs Config
    • ⤵️Base Installation
    • 🛡️Security Integration
    • ⬅️Exports
  • 👁️HawkEye Surveillance
    • 📚About HES
      • 💁‍♀️Features
        • 📹CCTV Cameras
        • 🌐Jammers & Tracker
        • 🛠️Dynamic Configurations
      • 🔁Dependencies & Compatibility
      • ⚡Optimization
      • 🛡️Security
      • 🔐Encryption - FiveM Escrow
      • 🆕Changelogs
    • ⚙️Configuration Settings
      • ⚙️Master Config
      • ⚙️Camera & Jammer Config
        • ⚙️Items
        • ⚙️Camera Settings
      • ⚙️Security Config
      • ⚙️Discord Logs Config
    • ⤵️Base Installation
    • 🛡️Security Integration
    • ⬅️Exports
  • 🏦Pacific Bank Robbery
    • 📚About PBR
      • 💁‍♀️Features
        • 👨‍👩‍👦Ped Handler & Security Guards
        • 💡Vault Breaching Methods
        • 🔒Laser Security System
        • 💰Stealables & Robbery Mechanics
        • 🚪Doorlocks & Alarm System
        • 🖥️Server Synchronization
        • 🛠️Extensive Configurations
      • 🔁Dependencies & Compatibility
      • ⚡Optimization
      • 🛡️Security
      • 🔐Encryption - FiveM Escrow
      • 🆕Changelogs
    • ⚙️Configuration Settings
      • ⚙️Master Config
      • ⚙️Bank Config
      • ⚙️Security Config
      • ⚙️Discord Logs Config
    • ⤵️Base Installation
    • ⬅️Exports
  • 🏦Paleto Bank Robbery
    • 📚About PBR
      • 💁‍♀️Features
        • 👨‍👩‍👦Ped Handler & Security Guards
        • 💡Vault Breaching Methods
        • 🪛Locker Drilling
        • 💰Stealables & Robbery Mechanics
        • 🚪Doorlocks & Alarm System
        • 🖥️Server Synchronization
        • 🛠️Extensive Configurations
      • 🔁Dependencies & Compatibility
      • ⚡Optimization
      • 🛡️Security
      • 🔐Encryption - FiveM Escrow
      • 🆕Changelogs
    • ⚙️Configuration Settings
      • ⚙️Master Config
      • ⚙️Bank Config
      • ⚙️AI NPC Config
      • ⚙️Security Config
      • ⚙️Discord Logs Config
    • ⤵️Base Installation
    • ⬅️Exports
  • 🚘The Complete Vehicle System
    • 📙About TCVS
      • 💁‍♀️Features
      • 🔁Dependencies & Compatibility
      • ⚡Optimization
      • 🛡️Security
      • 🔐Encryption - FiveM Escrow
      • 🆕Changelogs
    • ⤵️Base Installation
    • ⚙️Configuration Settings
      • ⚙️Master Config
      • ⚙️Security Config
      • ⚙️Discord Logs Config
      • ⚙️Public Garages Config
      • ⚙️Private Garages Config
      • ⚙️Impound Config
      • ⚙️Insurance Config
      • ⚙️Parts Config
      • ⚙️Locksystem Config
      • ⚙️Trackers Config
      • ⚙️Vehicle Info Config
    • 🚗Vehicle Shop Integration
    • 👨‍🔧Mechanic Integration
    • 🛡️Security Integration
    • 🚀Snippets
      • ⭕QB-RadialMenu
    • ⬅️Exports
Powered by GitBook
On this page
  • Framework-Specific Configuration
  • Base Config Explanation
  • Permissions Config Explanation

Was this helpful?

  1. The Complete Vehicle System
  2. Configuration Settings

Master Config

Explore the Master Config, the hub for essential settings that allow the resource to work.

PreviousConfiguration SettingsNextSecurity Config

Last updated 1 year ago

Was this helpful?

Framework-Specific Configuration


Base Config Explanation

Config.CheckVersion = true 

A version check upon server startup, ensuring that you are running the latest version. It also provides real-time logs to both Discord and the Server Console.

Config.Framework = "QBCORE"

This setting needs to be specified with your chosen framework type, selecting from "ESX". "QBUS", or "QBOX". If you are using a custom framework, you must make the necessary code adjustments in framework.lua, both on the client and server sides.

Config.UseOx_Inventory = true
Config.CustomIdentifier = true
  • Set this setting to "true" if you intend to utilize your framework's built-in character identification system.

  • Only set it to "false" if you are not using any framework at all.

  • If you have a custom framework in place, please ensure that you make the necessary adjustments under framework.lua to align with your custom setup.

Config.DespawnCheck = true

Enable this setting by setting it to "true" to ensure that the resource actively checks for despawned player owned vehicles and automatically respawns them. We highly recommend keeping this setting enabled.

Database.Database = "OXMYSQL"
  • Please ensure your fxmanifest.lua has the appropriate option pointed as well.

'@oxmysql/lib/MySQL.lua', -- for OXMYSQL
'@mysql-async/lib/MySQL.lua', -- for MYSQLASYNC  
Database.VehiclesTableNameInDatabase = "player_vehicles"

This setting must contain the player owned vehicles table name to establish a successful connection with your database. Double-check and confirm the accuracy of this setting to avoid any potential database-related issues.

Database.GaragesTableNameInDatabase = "rvs_garages"

This setting must contain the private garages table name to establish a successful connection with your database. Only change this if you've altered the table name.

Database.SQLUpdateTime = 30000 --this is in milliseconds

This setting dictates the frequency at which the resource updates the database with changes to vehicles. It specifically targets vehicles that have undergone interactions or modifications. Our recommended interval is 30,000 milliseconds, equivalent to 30 seconds.

Config.DebugPolyzones = false

Toggle this setting to enable or disable debugging for Polyzones. When enabled, it generates box grids for each polyzone, including Insurance, Impound, Public Garages, and Private Garages.

Config.PrintSortingOnServerConsole = false

Toggle this setting to enable server sided printing for the sorting of vehicles. Useful for debugging and understanding our sorting algorithm.

Config.UseDeveloperCommands = false

Toggle this setting for developer commands. Keep note that developer commands do not have permissions by default. Everyone can use them! So please edit for your own server.

Permissions Config Explanation

Config.PrintPermissionsCommandsOnF8 = true

Toggles printing of permissions on Client-Sided console if you are an authorized user.

Config.PermissionUsers = {
    ["OBO47723"] = "developer",
}

This setting assigns roles to users. In the example, OBO47723 is the user's identifier ID (in this case QBCore Character ID), and is given developer permissions.

Config.PermissionClasses = {
    ["developer"] = {
        "tpv",
        "fixVehicle",
        "checkImpound",
        "partsDebug",
        "insideGarage",
        "tempKeys",
        "addVeh",
        "setPart",
        "grabTest",
        "stressTest",
        "getStreet",
        "security",
        "customDespawn",
        "checkKeys",
        "fixAllPart",
    }
}

This setting configuration defines what commands each role can use. You can create custom roles, each with its specific commands. For example, 'moderator' has access to commands like "tpv" and "fixVehicle", while 'admin' includes these plus "addVeh" and "setPart". The 'developer' role, designed with the broadest access, includes all available commands by default.

Set this setting to true if you are utilizing . This setting is integral to the functionality of the item-based lock system.

Responsible for the database resource you are using. We currently support , and .

🚘
⚙️
⚙️
ox_inventory
MySQL.Async
GhmattiMySQL
OXMYSQL
Base QBox Config
Base Permissions Config