vms* store - Docs
Purchase Asset
  • Welcome
  • Official Store
  • Discord
  • Helpful
    • Basic Server Knowledge
      • How to import SQL to database?
      • How to update server artifacts?
    • General Issues
    • Prepared Resources
  • ASSETS
    • vms_notifyV2
      • Installation
      • FAQ
      • Guides
        • Text Formatting
        • Swap in framework
      • Developer API
        • Client Exports
        • Server Events
      • Configuration Files
        • config.lua
        • config.js
    • vms_bossmenu
      • Installation
      • Compatibility
      • FAQ
      • Guides
        • Creating job2 on ESX
        • Paychecks Integration
      • Developer API
        • Client Exports
        • Client Events
        • Server Exports
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
    • vms_cityhall
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Guides
        • License Revocation
        • Personal Taxes Integration
        • Business Taxes Integration
        • Paychecks Integration
        • Add SSN Generation
        • Generate SSN for Players
        • Add VIN Generation
        • Generate VIN for Vehicles
      • Developer API
        • Client Exports
        • Server Exports
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.shared.lua
        • config.clerks.lua
        • config.taxes.lua
        • config.js
    • vms_documentsV2
      • Installation
      • FAQ
      • Common Errors
      • Guides
        • Add SSN Generation
        • Generate SSN for Players
        • Creating New Document
        • Driving School Integration
      • Developer API
        • Client Exports
        • Server Exports
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • metadata.js
    • vms_garagesV2
      • Installation
      • Compatibility
        • Housings
          • qs-housing
          • esx_property
          • bcs_housing
        • Phones
          • yflip-phone
          • qs-smartphone-pro
        • Other
          • VehicleDeformation
          • kq_wheeldamage
      • FAQ
      • Common Errors
      • Guides
        • Interior Stuck Prevention
        • Registering House Garage
      • Developer API
        • Client Exports
        • Server Exports
        • Server Events
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.garages.lua
        • config.management.lua
        • config.parkingcreator.lua
        • config.js
    • vms_houserobberies
      • Installation
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.items.lua
        • config.interiors.lua
        • config.houseslist.lua
        • config.configurator.lua
    • vms_vehicleshopV2
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Guides
        • Adjusting Required Licenses
        • Adjusting orderprice
        • Photos Tool
      • Developer API
        • Client Exports
        • Client Events
        • Server Exports
        • Commands
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
        • config.showroom.lua
        • config.js
    • vms_stores
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.camera.lua
        • config.robbery.lua
        • config.storemanage.lua
        • config.js
    • vms_reports
      • Installation
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.js
    • vms_tuning
      • Installation
      • FAQ
      • Common Errors
      • Guides
        • Garage Integration
          • jg-advancedgarages
        • Understanding Prices
        • Using whitelist & blacklist
        • Fix tuning parts names from NULL
        • Paychecks from the built-in balance
      • Developer API
        • Client Exports
        • Server Exports
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.vehicles.lua
        • config.tuningmenu.lua
        • config.installationparts.lua
        • config.custommods.lua
        • config.missions.lua
    • vms_gym
      • Installation
      • FAQ
      • Common Errors
      • Developer API
        • Client Exports
        • Server Exports
        • Server Events
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
    • vms_hud
      • Installation
      • FAQ
      • Common Errors
      • Developer API
        • Client Exports
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.js
    • vms_spawnselector
      • Installation
      • Compatibility
        • vms_multichars
        • esx_multicharacter
        • esx_identity
        • qb-multicharacter
      • FAQ
      • Developer API
        • Client Exports
        • Server Events
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
    • vms_guidebook
      • Installation
      • Guides
        • Text Formating
      • Developer API
        • Client Exports
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
        • pages.js
    • vms_coinshop
      • Installation
      • Configuration Files
        • config.lua
    • vms_vehicleshop
      • Installation
      • Configuration Files
        • config.lua
    • vms_gangmissions
      • Installation
      • Guides
        • Connection to NPCTALK
      • Configuration Files
        • config.lua
    • vms_charcreator
      • Installation
      • Compatibility
        • vms_multichars
        • esx_multicharacter
        • esx_identity
        • qb-multicharacter
        • ZSX_Multicharacter
        • renzu_multicharacter
      • FAQ
      • Developer API
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
    • vms_clothestore
      • Installation
      • Compatibilty
      • Common Errors
      • Developer API
        • Client Exports
        • Client Events
        • Server Events
      • Configuration Files
        • config.lua
        • config.prices.lua
        • config.js
    • vms_multichars
      • Installation
      • Compatibilty
      • Common Errors
      • Developer API
        • Commands
      • Configuration Files
        • config.lua
        • config_client.lua
        • config_server.lua
        • config_commands.lua
    • vms_identity
      • Installation
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
    • vms_barber
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
    • vms_tattooshop
      • Installation
      • Compatibility
      • FAQ
      • Common Errors
      • Guides
        • New ADD-ON Tattoos
      • Developer API
        • Client Exports
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.management.lua
        • config.tattoos.lua
    • vms_driveschoolV2
      • Installation
      • Compatibility
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
    • vms_boatschoolV2
      • Installation
      • Compatibility
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.routes.lua
    • vms_flightschoolV2
      • Installation
      • Compatibility
      • Common Errors
      • Configuration Files
        • config.lua
        • config.client.lua
        • config.server.lua
        • config.routes.lua
    • vms_documents
      • Installation
      • Guides
        • Adding to radialmenu
        • Usage of documents
        • Adding new documents
      • Configuration Files
        • config.lua
    • vms_anims
      • Installation
      • Guides
        • Adding animations
        • Adding more binds
      • Developer API
        • Client Exports
      • Configuration Files
        • config.lua
        • animations.lua
        • keybinds.lua
    • vms_weaponshop
      • Installation
      • Configuration Files
        • config.lua
    • vms_notify
      • Installation
      • Guides
        • Implementation
        • Replace core notifications
Powered by GitBook
On this page

Was this helpful?

  1. ASSETS
  2. vms_tuning
  3. Guides

Using whitelist & blacklist

Using the blacklist and whitelist options can be useful to limit some workshops, below is a list of available possible values to enter for each option


Remember not to use both options at the same time, as this will not work properly, as the blacklist excludes some options, while the whitelist will remove all other options that are not in the whitelist section.

Using the vehicleClasses option, you can make restrictions for the workshop only for dedicated vehicle classes - for example, tuning only for boats/planes/helicopters

vehicleClasses = {
    [0] = true, -- Compacts
    [1] = true, -- Sedans
    [2] = true, -- SUVs
    [3] = true, -- Coupes
    [4] = true, -- Muscle
    [5] = true, -- Sports Classics
    [6] = true, -- Sports
    [7] = true, -- Super
    [8] = true, -- Motorcycles
    [9] = true, -- Off-road
    [10] = true, -- Industrial
    [11] = true, -- Utility
    [12] = true, -- Vans
    [13] = true, -- Cycles
    [14] = true, -- Boats
    [15] = true, -- Helicopters
    [16] = true, -- Planes
    [17] = true, -- Service
    [18] = true, -- Emergency
    [19] = true, -- Military
    [20] = true, -- Commercial
    [21] = true, -- Trains
    [22] = true, -- Open Wheel
},

The options that can be added to the indexedColors section can be identified in config.tuningmenu.lua in the Config.ColorsList using the name option.

indexedColors = {
    ['black'] = true,
    ['grey'] = true,
    ['white'] = true,
    ['red'] = true,
    ['orange'] = true,
    ['brown'] = true,
    ['yellow'] = true,
    ['green'] = true,
    ['blue'] = true,
    ['purple'] = true,
    ['pink'] = true,
    ['chameleon'] = true,
    ['chrome'] = true,
    ['gold'] = true,
},

The options that can be added to the menus section can be identified in config.tuningmenu.lua by the fact that redirection to them is done using selectOpen.

menus = {
    ['visual'] = true, -- Menu Visuals

    ['mechanical'] = true, -- Menu Mechanicals

    ['body'] = true, -- Menu "Body" in "Visuals"
    ['inside'] = true, -- Menu "Inside" in "Visuals"
    ['paint'] = true,  -- Menu "Paint" in "Visuals"
    ['wheels'] = true, -- Menu "Wheels" in "Visuals"
    ['licenseplate'] = true, -- Menu "License Plate" in "Visuals"
    ['xenon'] = true, -- Menu "Xenon" in "Visuals"
    ['color1'] = true, -- Menu "Primary Color" in "Visuals"
    ['color2'] = true, -- Menu "Secondary Color" in "Visuals"
    ['wheels_type'] = true, -- Menu "Wheels Type" in "Wheels"
},

The options that can be added to the parts section can be identified in config.tuningmenu.lua by the fact that redirection to them is done using modType.

parts = {
    -- Options from the "Body" section
    ['neonColor'] = true,
    ['modLivery'] = true,
    ['windowTint'] = true,
    [14] = true, -- Horn
    ['extras'] = true,
    [0] = true, -- Spoilers
    [1] = true, -- Front Bumper
    [2] = true, -- Rear Bumper
    [3] = true, -- Side Skirts
    [4] = true, -- Exhaust
    [5] = true, -- Cage
    [6] = true, -- Grille
    [7] = true, -- Hood
    [8] = true, -- Left Fender
    [9] = true, -- Right Fender
    [10] = true, -- Roof
    [27] = true, -- TrimA
    [35] = true, -- APlate
    [36] = true, -- Speakers
    [37] = true, -- Trunk
    [38] = true, -- Hydrolic
    [39] = true, -- Engine Block
    [40] = true, -- Air Filter
    [41] = true, -- Struts
    [42] = true, -- Arch Cover
    [43] = true, -- Aerials
    [44] = true, -- Wings
    [45] = true, -- Tank
    [46] = true, -- Windows

    -- Options from the "Inside" section
    [28] = true, -- Ornaments
    [29] = true, -- Dashboard
    [30] = true, -- Dial
    [31] = true, -- Door Speaker
    [32] = true, -- Seat
    [33] = true, -- Steering Wheel
    [34] = true, -- Shifter Leaver

    -- Options from the "Paint" section
    ['paintTypePrimary'] = true,
    ['paintTypeSecondary'] = true,
    ['pearlescentColor'] = true,
    ['dashboardColor'] = true,
    ['interiorColor'] = true,

    -- Options from the "Wheels" section
    ['wheelColor'] = true,
    ['tyreSmokeColor'] = true,

    -- Options from the "License Plate" section
    ['customPlateNumbers'] = true,
    [25] = true, -- Type
    ['plateIndex'] = true, -- Color
    [26] = true, -- Holder

    -- Options from the "Xenon" section
    [22] = true, -- Xenon
    ['xenonColor'] = true,

    -- Options from the "Mechanical Upgrades" section
    [16] = true, -- Armor
    [11] = true, -- Engine
    [12] = true, -- Brakes
    [13] = true, -- Transmission
    [15] = true, -- Suspension
    [18] = true, -- Turbo
    ['engineSwap'] = true, -- Engine Swap
},

The options that can be added to the actions section can be identified in config.tuningmenu.lua by the fact that redirection to them is done using action.

actions = {
    ['clean'] = true,
    ['repair'] = true,
},

Last updated 1 year ago

Was this helpful?