RE:CORD
REC_HeistPrep

Installation

Installation, configuration, and usage for REC_HeistPrep.
Added
Updated

Download the dependencies

Docs - REC_Library

Follow the installation

Docs - REC_Utils

Follow the installation

Docs - REC_PlayerManager

Follow the installation

GitHub - oxmysql

Download from here!!

Download main resource

Cfx Portal - REC_HeistPrep

Download from your granted assets.

Place the REC_HeistPrep folder from your distribution inside the server’s resources directory.

Import the SQL files

Tables are created at startup, so manual setup is optional. The SQL shipped with the resource is shown below.

rec_heistprep.sql

CREATE TABLE IF NOT EXISTS `rec_heistprep` (
  `id` bigint(8) NOT NULL AUTO_INCREMENT,
  `uid` varchar(64) NOT NULL,
  `citizenId` varchar(50) NOT NULL,
  `model` varchar(50) NOT NULL,
  `vehType` varchar(20) NOT NULL DEFAULT 'automobile',
  `label` varchar(32) NOT NULL DEFAULT '',
  `garageKey` varchar(32) NOT NULL DEFAULT '',
  `plate` varchar(12) NOT NULL DEFAULT '',
  `properties` longtext DEFAULT NULL,
  `updatedAt` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `createdAt` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `uid` (`uid`),
  KEY `citizenId` (`citizenId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

CREATE TABLE IF NOT EXISTS `rec_heistprep_spawn_modes` (
  `spawnKey` varchar(80) NOT NULL,
  `mode` varchar(16) NOT NULL DEFAULT 'job',
  `updatedBy` varchar(64) NOT NULL DEFAULT '',
  `updatedAt` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`spawnKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

CREATE TABLE IF NOT EXISTS `rec_heistprep_garages` (
  `garageKey` varchar(32) NOT NULL,
  `citizenId` varchar(50) NOT NULL,
  `purchasedAt` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`garageKey`),
  UNIQUE KEY `citizenId` (`citizenId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

-- what a garage is (label/price/capacity/coords), placed and edited from the admin
-- panel instead of config/sv_config.lua. data is the JSON encoded
-- REC_HeistPrep.Server.Config.Garage shape.
CREATE TABLE IF NOT EXISTS `rec_heistprep_garage_configs` (
  `garageKey` varchar(32) NOT NULL,
  `data` longtext NOT NULL,
  `bucketId` int(11) DEFAULT NULL,
  `updatedBy` varchar(64) NOT NULL DEFAULT '',
  `updatedAt` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `createdAt` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`garageKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

Check the web build

The resource needs web/build/index.html and its assets. If they are missing from the distribution or you change the UI source, install dependencies in web and run its package.json build script.

Copy and paste this on your server.cfg

  ensure REC_HeistPrep

Start the dependencies before this resource.

Done

enjoy it !

©2026 RE:CORD Development Group. All rights reserved.