Studios
Meth Carhouse-3.jpg

Installation

SoonMeth CarQbox
PAGE 02 OF 06  ·  OVERVIEW → INSTALLATION → CONFIGURATIONdocs.glitchstudios.dev
Browse docs

Requirements#

Framework qbx_core (Qbox). ESX and plain QBCore are not supported.
Resources ox_lib, oxmysql, ox_target, ox_inventory
Server FiveM artifact with OneSync enabled
Database No tables of its own. The daily cap uses the resource KVP store, and the only table read is player_vehicles from Qbox.
Optional glitch-minigames (the real temperature and pressure games), glitch-criminaltablet (Chemist contact and trust), glitch-xpSystem (chemistry XP and perks), ps-dispatch (police alerts), glitch-economy (crime ledger), glitch-admin (exploit log), glitch-drugSales (buyer hint after a first cook), glitch-humaneHeist (research bonus)

The package was tested with qbx_core 1.24.0, ox_inventory 2.48.0, ox_lib 3.40.0, ox_target 1.17.2 and oxmysql 2.14.2. Every optional resource is detected at run time, and its feature is skipped when it is not running.

Installation steps#

  1. Put the glitch-methCar folder in your resources folder. The folder name is case-sensitive.

  2. Add the items from install/items.lua to ox_inventory/data/items.lua. Skip any you already have, and add your own item images to ox_inventory/web/images. The console warns at start about every missing item.

  3. There is no SQL to run.

  4. Add to server.cfg, after ox_lib, oxmysql, qbx_core, ox_inventory and ox_target:

    ensure ox_lib
    ensure oxmysql
    ensure qbx_core
    ensure ox_inventory
    ensure ox_target
    ensure glitch-minigames
    ensure glitch-methCar
    
  5. Open config.lua. Check the prices in Config.Chemist.shop, the fallback ped position in Config.Chemist.fallback and the police job names in Config.PoliceJobs.

  6. If you use glitch-criminaltablet, make sure the chemist contact exists. Without the tablet the fallback ped is used.

  7. Restart the server and look for ready in the console. Any warning after it names what is missing.

[!NOTE] Config.Chemist.unlock is only set when glitch-humaneHeist is running. It then asks for two finished runs of the humane_labs tablet job before the Chemist sells anything, and only while the criminal tablet runs. On other servers it stays nil and the shop opens straight away. Set your own { jobId = '...', count = 2 } if you want a gate.

Permissions#

The resource adds no commands and no ACE entries. Staff testing bypasses come from glitch-criminaltablet, or from the glitchTestingMode global state flag when glitch-admin is running.

Updating#

Back up config.lua and locales/, replace the other files, then merge any new keys into your config. Restart the resource and check the console for item warnings.