⚙️Master Config

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

master_config.lua

  1. Config.CheckVersion:

    • This is a boolean value that determines whether the script should check if you are running the latest version.

    • When set to true, the script will perform a version check and log the result in the console and the Master Logs.

    • This feature helps you stay informed about any updates or new versions of the script.

  2. Config.Language:

    • This setting specifies the default language for the script.

    • Set this value to the language code you want to use (e.g., 'en' for English).

    • You can create your own language under the languages section of the config file.

  3. Config.Framework:

    • This setting specifies the framework that your server is using.

    • You need to set this value to match your server's framework to ensure compatibility and proper functionality.

    • The available options are:

      • "ESX" for the ESX framework

      • "ESX-LEGACY" for the ESX Legacy framework

      • "QBCORE" for the QBCore framework

      • "QBOX" for the QBox framework

    • Make sure to set this value correctly based on your server's setup.

  4. Config.InventorySystem:

    • This setting determines which inventory system the script will use.

    • Available options are:

      • "ox_inventory" for the ox inventory system

      • "qb-inventory" for the QB inventory system

      • "codem-inventory" for the Codem inventory system

      • "typical" for a typical inventory system

  5. Config.UseCopJob:

    • This is a boolean value that determines whether to use a police job check.

    • When set to true, the script will check if the player has a police job before allowing them to rob the bank.

  6. Config.UseCopJob:

    • This is an array of job names that are considered police jobs.

    • Players with these job names will be recognized as police officers by the script.

    • If you are using vRP, set your group names here instead.

  7. Config.Target:

    • This section contains settings related to the target system in Pacific Bank Robbery.

    • The enabled option allows you to enable or disable the target system. If set to false, an alternative interaction method will be used.

    • The type option specifies which target system to use: "ox_target" or "qb-target".

    • The options subsection includes various radius settings for different interactive elements, as well as a debug toggle.

Last updated

Was this helpful?