Installation · origen_importheist
Follow these steps to install origen_importheist on your server.
1. Add the resource to your server
Place the origen_importheist folder inside your resources directory and add it to your server.cfg.
Make sure all required dependencies are started before origen_importheist. See the Dependencies page for the full list.
# server.cfg
ensure oxmysql
ensure qb-core # or es_extended
ensure origen_importheist2. No SQL required
origen_importheist does not require any database tables. There is no .sql file to import.
3. No items required
This script does not use inventory items by default. The reward system uses money accounts out of the box.
If you want to give an item as reward instead, set the following in config/_framework.lua:
Config.Reward = {
useItem = true,
item = 'your_item_name', -- must exist in your inventory
account = 'money',
}Make sure the item exists in your inventory (ox_inventory, qb-inventory, or your custom one) before enabling this option.
4. Configure minimum requirements
Open config/_framework.lua and review these settings before starting the server:
| Setting | Recommended value | Notes |
|---|---|---|
Config.Framework | 'auto' | Auto-detects qb-core or esx |
Config.Language | 'en' | Available: en, es, fr, it |
Config.MinCops | 0 | Set to 1 or more for a minimum police requirement |
Config.Cooldown | 20 | Minutes between heist attempts |
Config.Debug | false | Disable in production |
5. Configure the Discord webhook (optional)
Open config/logs/logs.lua and replace the placeholder with your webhook URL:
ServerConfig.Logs = {
StartRobbery = 'YOUR_DISCORD_WEBHOOK',
}If you leave the value as 'YOUR_DISCORD_WEBHOOK' or an empty string, the log will be silently skipped. No errors will be thrown.
6. Verify startup
Once everything is configured, start the server and look for the following output (with Config.Debug = true):
[Origen ImportHeist] ...If no errors appear, the resource is running correctly.