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#
Put the
glitch-dataTheftfolder in yourresourcesfolder. The folder name is case-sensitive.Add the items. Open
install/items.lua, paste the entries intoox_inventory/data/items.lua, then copy the three PNG files fromimages/intoox_inventory/web/images/. Thehacking_laptopitem has no image in the package, so use the one from ox_inventory or your own pack.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-dataTheftChoose 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.Set the payout item.
Config.Items.payoutisblack_moneyby default. Usemoneyif your server has no dirty money item.Restart the server. No database changes and no extra permissions are needed.
[!NOTE] Leave out the
ensurelines 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.