JixelPatterns
  • JixelPatterns Documentation
  • Troubleshooting
    • Common Issues
    • Setting Up Locations
    • FAQ
  • Dependency
    • Jim_Bridge
      • Animal Ped Support
      • Script Helpers
      • Loader Functions
      • Callbacks
      • Cameras
      • Context Menus
      • Crafting
      • DrawText
      • Dui Functions
      • Input Creator
      • Inventories
      • Job Functions
      • Make Functions
      • Meta Handlers
      • Notifications
      • Phones
      • Player Functions
      • Poly Zones
      • Progress Bars
      • Scale Entity
      • Shops
      • Skillcheck
      • Society Banking
      • Stash Control
      • Targets
      • Vehicles
      • Wrapper Functions
      • Scaleforms
  • Paid Assets
    • Jim-Mechanic
      • Common Issues
      • Installation
      • Locations
        • Creating a Location
      • The Config
        • _system_conf.lua
        • items_conf.lua
      • Exports
      • Nitrous
      • Harness + Seatbelt
      • Emergency Repair Bench
      • Odometer
      • Speedometer
      • Cosmetic Items
      • Performance Mods
      • Preview System
      • Repair System
      • Car Lifts
      • Plate Change
      • Push Vehicle
      • Stancer Kit
      • Vehicle Seat Picker
    • Jim-Bakery
      • Installation
    • Jim-BeanMachine
      • Installation
    • Jim-BurgerShot
      • Installation
    • Jim-CatCafe
      • Installation
    • Jim-Henhouse
      • Installation
    • Jim-PizzaThis
      • Installation
    • Jim-Popsdiner
      • Installation
    • Jim-Tequi-la-la
      • Installation
    • Jim-UpNAtom & Hornys
      • Installation
    • Jim-VanillaUnicorn
      • Installation
  • Free Assets
    • Jim-Mining
      • Installation
      • How To Use
        • Mining
        • Stone Washing
        • Gold Panning
    • Jim-Recycle
      • Installation
      • How To Use
        • Recycling
        • Dumpster Diving
        • Scrapping
    • Jim-Payments
      • Installation
      • How To Use
    • Jim-Shops
      • Installation
      • How To Use
    • Jim-Boarding
      • Installation
      • How To Use
    • Jim-Trains
      • Installation
      • How To Use
    • Jim-Consumbles
      • Installation
      • How To Use
    • Jim-DJBooth
      • Installation
      • How To Use
    • Jim-JobGarage
      • Installation
      • How To Use
    • Jim-Chairs
      • Installation
    • Jim-Notepad
      • Installation
      • How To Use
Powered by GitBook
On this page
  • System
  • Debug
  • EventDebug
  • Menu
  • Notify
  • drawText
  • ProgressBar
  • skillCheck
  • distkph
  • General
  • JimShops
  • showClockInTill
  • showBossMenuTill
  • Main
  • isVehicleOwned
  • ItemRequiresJob
  • JobLocationRequired
  • LocationBlips
  • CosmeticsJob
  • JobRoles
  • Stash
  • Overrides
  • CosmeticItemRemoval
  • recieveMaterials
  • updateServerDelay
  • ChameleonPaints
  • WaxFeatures
  • DoorAnimations
  • disablePreviewPlate
  • saveOnExit
  • manualTransmission
  • vehSeatMenu
  • crashFX
  • Discord
  • DiscordPreview
  • DiscordDefault
  • DiscordColour
  1. Paid Assets
  2. Jim-Mechanic
  3. The Config

_system_conf.lua

Last updated 6 days ago

The File
Config = Config or {}

Config = {
	Lan = "en", -- Pick your language file here
	System = {
		Debug = false, -- Set to true to show green debug boxes to help track any issues
		EventDebug = false,

		Menu = "ox",  				-- "qb", "ox", "gta"
		Notify = "gta",				-- "qb", "ox", "gta", "esx"
		drawText = "gta",			-- "qb", "ox", "gta"
		ProgressBar = "gta", 		-- "qb", "ox", "gta", "esx"

		skillCheck = "gta",			-- "qb", "ox"

		distkph = false, 			-- Set to false to read distance travelled in Miles.

	}
}

Config.General = {
	JimShops = false,			-- Enable to open shops in jim-shops menu's
	showClockInTill = true,		-- Enable to show toggle duty options at payment tills
	showBossMenuTill = true,	-- Enable to show bossmenu options at payment tills
}

Config.Main = { -- Main variables
	isVehicleOwned = false, 	-- Enable this if you only want changes to be made to owned vehicles
								-- False to allow modifications to unowned vehicles

	ItemRequiresJob = true, 	-- Enable this if items should require a mechanic job
								-- Disable this to allow any player to use mechanic items

	JobLocationRequired = false, -- Enable this to lock most modifications to specified job locations
								-- Disable this to allow vehicle modifications anywhere

	LocationBlips = true, 		-- Enable to show job location blips on the map
								-- Disable to hide blips

	CosmeticsJob = true, 		-- Cosmetic items, like hood and rims requires a mechanic job role
								-- Disable this so everyone can use cosmetic items

	JobRoles = { 				-- These are the job roles who can use items if RequiresJob is enabled.
		"mechanic",
		"bennys",
	},

	-- Add your extra job roles here or just leave as "mechanic"
	-- Example-- --JobRoles = { "mechanic", "tuner" }

	Stash = {
		--CHANGING THIS MAY REQUIRE YOU TO RENAME/MOVE ITEMS FROM OLD STASHES
		sharedStash = false, 		-- Enable if mechanic with same job name share stash
		uniqueStash = true, 		-- Enable if you want each stash to be unique
	}
}

Config.Overrides = {

	CosmeticItemRemoval = true, 	-- If "true" cosmetic items will be removed on successful application of a mod
									-- If "false" cosmetic items will have unlimited uses

	receiveMaterials = false,		-- If true, when removing parts like engines, recieve materials instead of the actual item
									-- This is based on material recipes in recipes.lua

	updateServerDelay = 5, 			-- default 5 second database update delay from the LAST upgrade done to a vehicle
									-- This stops overloading of server databases when many changes are happening, it adds a cooldown

	ChameleonPaints = true, 		-- Enable this if you want to use chameleon paints (ONLY GAME BUILD 2545 AND ABOVE)

	WaxFeatures = true, 			-- Enable this if you want to use Car Wax Features to the cleaningkit, otherwise it will only show "Clean car" option

	DoorAnimations = true,			-- Enable door openning animations when repairing/fixing


	disablePreviewPlate = true,		-- enable this to DISABLE temporary placeholder plate while previewing (some garage scripts didn't like this)

	saveOnExit = true,				-- Enable this to save a vehicle to database when player exits their vehicle
									-- Does not work if they "delete" it, eg. If your garage system doesn't remove the player from the car before parking

	manualTransmisson = true,		-- Enable this if you want to enable manual gearbox compatability
									-- Disable this to now allow the usage of the manual item and its features
									-- This script allows for toggling a vehicle to be classed as manual in the script
									-- But it uses other scripts for the feature
									-- The default compatability is with `vlad_gears`
									-- But you SHOULD be able to modify the functions to toggle it on in other scripts instead

	vehSeatMenu = true,				-- if true, when holding F, entering a vehicle shows a menu to pick which seat
									-- false, disables this menu

	crashFX = true,					-- if true, when crashing theres a chance based on damage done for the camera to have extra screenshake
									-- false disables this feature
}

Config.Discord = {
	-- Discord /preview receipts
	-- You will need to set custom info in each job location in /locations
	-- But for the ones you don't add info to, it will default to these numbers

	DiscordPreview = true, 		-- Set to true if you want to use discord receipts at all
	DiscordDefault = "", 		-- Set this to the default channel API link if one isn't set for a location
	DiscordColour = 16753920, 	-- This is the default "decimal" number colour
}

System

Debug

Default: false

This enables debug mode through out the script

Showing the polyzones used for creating locations and debug messages showing more details about what is going in the script behind the scenes

EventDebug

Default: false

This enables "Advanced" debugging, showing in F8 Log and Server Log the varaibles being sent through Trigger Events and callbacks

Menu

Default: "ox"

This is overriden by the

This decides what notification system to use through out the script

The default is simply what I used last

It accepts:

  • "qb" - QB-Menu

  • "ox" - OX_Lib Context Menu

  • "gta" - WarMenu

Notify

Default: "gta"

This decides what notification system to use through out the script

The default is simply what I used last

It accepts:

  • "qb" - QB Core Notifications

  • "ox" - OX_Lib Notifications

  • "esx" - ESX Notifications

  • "gta" - GTA Native Notifications

drawText

Default: "gta"

This decides what notification system to use through out the script

The default is simply what I used last

It accepts:

  • "qb" - QB Core DrawText

  • "ox" - OX_Lib DrawText

  • "gta" - GTA DrawText

ProgressBar

Default: "gta"

This decides what notification system to use through out the script

The default is simply what I used last

It accepts:

  • "qb" - QB Core Progressbar

  • "ox" - OX_Lib Progressbar

  • "esx" - ESX Progressbar

  • "gta" - GTA Custom Progressbar

skillCheck

Default: "gta"

This decides what notification system to use through out the script

The default is simply what I used last

It accepts:

  • "qb" - QB Core Skillcheck

  • "ox" - OX_Lib Skillcheck

  • "gta" - GTA Custom Skillcheck

distkph

Default: false

When enabled, converts speed displays throughout the script to use Kilometers, when disabled, uses Miles


General

JimShops

Default: false

When enabled, uses jim-shops when opening a shop

When disabled, uses the current inventory script to open shops

showClockInTill

Default: true

When enabled, shows "Toggle Duty" options on payment tills created with the script

When disabled no extra option is shown

showBossMenuTill

Default: true

When enabled, shows "Show BossMenu" options on the payment tills created with the script

When disabled, no extra option is shown


Main

isVehicleOwned

Default: false

Toggles wether vehicles need to be owned before modifying


ItemRequiresJob

Default: true

Enable to restrict mechanic items to players with a mechanic job.

Disable to allow any player to use


JobLocationRequired

Default: false

Enable this to lock most modifications to specified job locations Disable this to allow vehicle modifications anywhere


LocationBlips

Default: true

Enable to show job location blips on the map Disable to hide blips


CosmeticsJob

Default: true

Cosmetic items, like hood and rims require a mechanic job role Disable this so everyone can use cosmetic items


JobRoles

Default:

JobRoles = {
	"mechanic",
	"bennys",
},

These are the job roles who can use items if RequiresJob is enabled.


Stash

Don't touch if you don't know what these do

Default:

Stash = {
	sharedStash = false,
	uniqueStash = true,
}
  • sharedStash - Enable if mechanic with same job name share stash

  • uniqueStash - Enable if you want each stash to be unique

CHANGING THIS MAY REQUIRE YOU TO RENAME/MOVE ITEMS FROM OLD STASHES


Overrides

CosmeticItemRemoval

Default: true

If "true" cosmetic items will be removed on successful application of a mod If "false" cosmetic items will have unlimited uses


recieveMaterials

Default: false

If true, when removing parts like engines, recieve materials instead of the actual item This is based on material recipes in recipes.lua


updateServerDelay

Default: 5

default 5 second database update delay from the LAST upgrade done to a vehicle This stops overloading of server databases when many changes are happening, it adds a cooldown

This is a old setting and doesn't need to be edited, but if there are issues with saving vehicles, raise this number


ChameleonPaints

Default: true

Enable this if you want to use custom chameleon paints

Game Build 2545 and above only - your server SHOULD be above this


WaxFeatures

Default: true

Enable this if you want to add Car Wax Features to the cleaningkit item, otherwise it will only show "Clean car" option


DoorAnimations

Default: true

Enable door openning animations when repairing/fixing

This was added purely because some people didn't like the animations


disablePreviewPlate

Default: true

Enable this to DISABLE temporary placeholder plate while previewing (some garage scripts didn't like this)

When doing /preview, this enables changing the plate so players can't save their vehicles with preview mode on

Some scripts that handle persistant vehicles, think that the vehicle has been deleted and spawn a duplicate of it


saveOnExit

Default: true

Enable this to save a vehicle to database when player exits their vehicle Does not work if they "delete" it, eg. If your garage system doesn't remove the player from the car before parking


manualTransmission

Default: false

Enable this if you want to enable manual gearbox compatability Disable this to not allow the usage of the manual item and its features

This script allows for toggling a vehicle to be classed as manual in the script But it uses other scripts for the feature The default compatability is with vlad_gears But you SHOULD be able to modify the functions to toggle it on in other scripts instead


vehSeatMenu

Default: true

if true, when holding F, and entering a vehicle this will show a menu to pick which seat Setting this to false disables this menu


crashFX

Default: crashFX

if true when crashing a vehicle, theres a chance based on damage done for the camera to have extra screen shake Setting to false disables this feature


Discord

Discord /preview receipts
You will need to set custom info in each job location in /locations
But for the ones you don't add info to, it will default to these values

DiscordPreview

Default: true

Set to true if you want to use discord receipts at all


DiscordDefault

Default: ""

Set this to the default channel API link if one isn't set for a location


DiscordColour

Default: 16753920

This is the default "decimal" number colour

This is overriden by the

This is overriden by the

This is overriden by the

This is overriden by the

jim_bridge server convars
jim_bridge server convars
jim_bridge server convars
jim_bridge server convars
jim_bridge server convars