Master Config
Explore the Master Config, the hub for essential settings that allow the resource to work.
Last updated
Was this helpful?
Explore the Master Config, the hub for essential settings that allow the resource to work.
Last updated
Was this helpful?
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.
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.
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.
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
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.
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.
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.