⚙️Master Config

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

Framework-Specific Configuration

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.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

      • "QBCORE" for the QBCore framework

      • "QBOX" for the QBox framework

      • "NONE" if you are not using any specific framework

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

  3. Config.WhitelistedJobs:

    • This is an array that contains the whitelisted job names for certain actions or permissions within the script.

    • In the example provided, there are two whitelisted jobs: "police" and "police2".

    • These job names should match the job identifiers used in your server's framework.

    • Players with the whitelisted jobs will have special privileges or access to certain features in the script.

    • You can add or remove job names from this array based on your server's requirements.

Last updated

Was this helpful?