⚙️Master Config

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


General Settings

  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.


Weapon Settings

Config.WeaponSettings.RecoilSystem

  • This subsection controls the weapon recoil system.

  • Enabled: Enables or disables the recoil system.

  • UseRightLeftRecoil: When true, enables right-left recoil.

  • UseVehicleRecoil: When true, enables recoil when shooting from vehicles.

  • UseScreenExplosions: When true, enables screen explosion effects.

  • ScreenExplosionsMultiplier: A multiplier for the intensity of screen explosion effects.

  • UseGripMultipliers: When true, enables the use of grip attachments to modify recoil.

  • UseSuppressorMultipliers: When true, enables the use of suppressor attachments to modify recoil.

  • UseFirstPersonRecoilMultiplier: When true, applies a different recoil multiplier in first-person view.

  • FirstPersonRecoilMultiplier: The recoil multiplier applied in first-person view.

Config.WeaponSettings.TemperatureSystem

  • This subsection controls the weapon temperature system.

  • Enabled: Enables or disables the temperature system.

  • UseSmokeEffects: When true, enables smoke effects related to weapon temperature.

Config.WeaponSettings.UseJammingSystem

  • When set to true, enables the weapon jamming system.

Config.WeaponSettings.UseCustomWeaponDamages

  • When set to true, enables the use of custom weapon damage values.


Crosshair Settings

Config.CrosshairSettings

  • This section contains settings related to the crosshair functionality.

  • Enabled: A boolean value that enables or disables the crosshair feature.

  • DisableOnFootFirstPerson: When set to true, the crosshair will be disabled when the player is in first-person view on foot.

  • DisableOnVehicleFirstPerson: When set to true, the crosshair will be disabled when the player is in first-person view inside a vehicle.


Movement Settings

Config.JumpSpamPrevention

  • This section contains settings to prevent players from spamming the jump action.

  • Enabled: A boolean value that enables or disables jump spam prevention.

  • TimeBetweenJumps: The minimum time (in milliseconds) that must pass between jumps.

Config.RemoveWhipping

  • When set to true, this option removes the whipping animation when aiming with a weapon.

Config.RollPrevention

  • When set to true, this option prevents players from performing roll actions.


ViewCam Enforcer Settings

Config.ViewCamForcer

  • This section contains settings for controlling the player's view camera.

  • EnabledFoot: Enables or disables view cam forcing when on foot.

  • DefaultViewCamOnFoot: Sets the default camera view when on foot (0 for Third Person, 4 for First Person).

  • FirstPersonShooting: When true, forces first-person view when shooting.

  • RestoreViewCamOnAimStop: When true, restores the previous camera view when the player stops aiming.

  • EnabledVehicle: Enables or disables view cam forcing when in a vehicle.

  • EnabledFirstPersonVehicleShooting: When true, forces first-person view when shooting from a vehicle.

  • RestoreVehicleViewCamOnAimStop: When true, restores the previous camera view when the player stops aiming from a vehicle.

Last updated

Was this helpful?