New Website Sale - 15% OFF everything

๐Ÿ’ป Installation

1

Install devhub_lib

Download and install the required library and configure it according to your framework.

Download https://github.com/DEVHUB-GG/devhub_lib or use command

Shell
git clone https://github.com/DEVHUB-GG/devhub_lib.git
2

Install devhub_grid

Train Heist uses devhub_grid for the in-vehicle trunk grid that the looted cargo is loaded into. Install it from your DevHub keymaster and ensure it before devhub_trainHeist.

3

Ensure oxmysql

Train Heist depends on oxmysql. It is a base resource on virtually every server, so it is normally already running โ€” just make sure it is ensured before devhub_trainHeist.

4

Install resource from keymaster

  • Download the TRAIN HEIST script file from keymaster.
5

Start resources

Move the files to the resources folder on your server and add the following lines to your server.cfg in the correct order:

JavaScript
ensure oxmysql
ensure devhub_lib
ensure devhub_grid
ensure devhub_trainHeist
6

[OPTIONAL] Add the devhub_laptop Crime Traders integration

Train Heist registers itself as a Crime Traders task in the devhub_laptop. If you use the laptop, ensure it before devhub_trainHeist so the app loads first:

JavaScript
ensure oxmysql
ensure devhub_lib
ensure devhub_grid
ensure devhub_laptop
ensure devhub_trainHeist

The integration is toggled with Shared.LaptopConfig.enabled in configs/shared.lua. Players can also join the queue by talking to the in-world Rail Network Contact NPC, so the laptop is not strictly required.

https://devhub.gg/product/7054272

7

[OPTIONAL] Add the devhub_skillTree integration

Train Heist can award XP and apply skill perks through the Crime Traders skill tree in the laptop (devhub_skillTree). Enable it with Shared.SkillTree.enabled and ensure devhub_skillTree before devhub_trainHeist. Without it everything below the skill tree quietly no-ops.

8

Restart your server

DO NOT CHANGE RESOURCE NAME

Devhub Lib Needed For Each Script Download Purchased Assets