NEXO Scripts · Documentation

Everything to install, configure and get the most out of every NEXO resource.

Gruppe 6

Complete private-security company for QBCore: management tablet, alarms with CCTV, client app and team transport missions. Resource: nx-gruppe6.

Installation

nx-gruppe6 folder in resources/, after its dependencies.

ensure nx-gruppe6
  • Create the gruppe6 job in qb-core/shared/jobs.lua (grades 0–4, grade 4 with isboss). If you use qs-jobs-creator, the resource seeds the job automatically.
  • Add the gruppe6_tablet item to your shared items (with image). Hand it out with /gruppe6tablet.
  • Database: auto-installs on first boot from sql/install.sql. Tables gs_* (contracts, credentials, alarms, evidence, authorized, loans, missions).
  • Owners: add citizenids to Config.Owners or use the admin ACEs (Config.AdminAces).
  • In-game (admin): open the tablet → World tabs to place points/blips/teleports, Uniforms and Missions.

Features

  • Tablet: salaries, employees, vehicles, uniforms (clothing editor), armory with deposits, services and contracts.
  • Alarms with physical install + control room with CCTV snapshots.
  • Client app (qs-smartphone): arm/disarm alarms, watch cameras, authorized people.
  • Team transport missions with a steal-able/force-open-able bag.
  • In-game editor for blips, teleports and job points.

Configuration (config/config.lua)

SectionControls
Config.LocaleLanguage 'en' / 'es'
Config.JobName / JobLabel / TabletItem / OpenKeyJob identity + item/key
Config.AdminAces / Config.OwnersAdmin / company owners
Config.GradesRanks (must match jobs.lua)
Config.SalaryPayroll interval and source
Config.Garage / Config.ArmoryVehicle and gear catalogs
Config.Services / Config.BillingPeriodsServices and billing
Config.MissionsNPCs, cooldowns, payouts, bag prop
Config.AlarmsTrigger logic, evidence, police dispatch
Config.PhoneApp registration in qs-smartphone

Commands & Exports

CommandDescription
/gruppe6Open the tablet (requires the item)
/gruppe6tabletGive yourself the item (admin)
/gruppe6debugPrint your access matrix
/g6bagtuneVisual editor of the bag position (admin)
QBCore.Functions.TriggerCallback('nx-gruppe6:server:hasItem', cb, itemName)  -- item possession

Integrations

  • qs-smartphone: the app registers itself from Config.Phone.
  • qs-police-creator: alarm dispatch (Config.Alarms.dispatch).
  • qs-appearance: uniforms by rank. qs-inventory: armory/missions.

Common errors

  • The tablet won't open → you need access (admin/owner/worker) and the gruppe6_tablet item.
  • /setjob gruppe6 fails → with qs-jobs-creator jobs come from the DB; the resource seeds the job, check it appears in its manager.
  • No police alert → configure Config.Alarms.dispatch.resource with your dispatch system.
  • Uniforms don't apply → requires qs-appearance running.
  • Payroll isn't paid → the society account must have funds.