Studios
Data Thefthouse-3.jpg

Installation

SoonData TheftQbox
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, ox_inventory, ox_target
Server A recent FXServer artifact with OneSync enabled.
Database None. The resource has no SQL tables.
Optional glitch-abstraction (notifications, progress bars, context menu and the XP bridge), glitch-minigames (lockpick and decrypt minigames), glitch-xpSystem (XP, tier levels and skill tree perks), ps-dispatch (police alerts), rc-interactions (Broker dialogue), sd-phone (crews), glitch-criminaltablet (REP), glitch-economy (crime ledger), glitch-crafting (cache roll), glitch-uiElements (task list)

Without glitch-abstraction the script falls back to ox_lib for notifications, progress bars and the start menu. Player levels then read as 0, so set Config.xpSystem = ''. Without glitch-minigames it uses ox_lib skill checks.

Installation steps#

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

  2. Add the items. Open install/items.lua, paste the entries into ox_inventory/data/items.lua, then copy the three PNG files from images/ into ox_inventory/web/images/. The hacking_laptop item has no image in the package, so use the one from ox_inventory or your own pack.

  3. Add the resource to server.cfg, after its dependencies:

    ensure ox_lib
    ensure qbx_core
    ensure ox_target
    ensure ox_inventory
    ensure glitch-abstraction
    ensure glitch-minigames
    ensure glitch-xpSystem
    ensure glitch-dataTheft
    
  4. Choose how players start a job. When rc-interactions is not running, a start ped appears at Config.Peds.startPed.coords. Change those coordinates to a place on your map.

  5. Set the payout item. Config.Items.payout is black_money by default. Use money if your server has no dirty money item.

  6. Restart the server. No database changes and no extra permissions are needed.

[!NOTE] Leave out the ensure lines for optional resources you do not run.

Updating#

Replace the resource folder, but keep your edited shared/config-main.lua, shared/config-locations.lua, shared/config-client.lua, shared/config-server.lua and shared/locales.lua, which are open under escrow. Compare the new install/items.lua with your ox_inventory items, then restart the resource. Since 1.1.0 the settings noJobPenality and ghostDrivePenality are named noJobPenalty and ghostDrivePenalty, so rename them in older configs.