OrigenNetwork
Docs

Configuration · origen_importheist

All configuration files are located in the config/ folder and are open (not escrowed).


config/_framework.lua

General script behaviour and framework settings.

Framework & language

VariableTypeDefaultDescription
Config.Frameworkstring'auto'Framework to use. Accepted values: 'auto', 'qbcore', 'esx'
Config.Languagestring'en'UI language. Available: 'en', 'es', 'fr', 'it'
Config.DebugbooleantruePrints debug messages to the server console. Set to false in production
Config.CheckVersionsbooleantrueChecks for new script versions on startup

Reward system

VariableTypeDefaultDescription
Config.Reward.useItembooleanfalseIf true, gives an item instead of money
Config.Reward.itemstring'cash'Item name to give when useItem is true
Config.Reward.accountstring'money'Money account to use when useItem is false

Heist behaviour

VariableTypeDefaultDescription
Config.MinCopsinteger0Minimum number of on-duty police officers required to start the heist
Config.Cooldowninteger20Minutes a player must wait before starting the heist again
Config.DamageDivisorinteger53Money deducted from the reward for every 1% of vehicle damage
Config.TimeDivisortable{10, 13}Every [1] seconds, [2] dollars are deducted from the reward
Config.DefaultBucketinteger0Routing bucket used for players and vehicles during the heist. Do not change unless you know what you are doing
lua
Config.TimeDivisor = {10, 13}
-- Every 10 seconds → subtract $13 from the reward

Police & GPS

VariableTypeDefaultDescription
Config.NotifyCopsOnEntrybooleantrueSends a police alert when a player enters the warehouse
Config.GPSCooldowninteger10Seconds between GPS position updates sent to police
Config.GPSDurationinteger5Minutes the GPS blip remains active on police screens

Interaction & animations

VariableTypeDefaultDescription
Config.InteractionbooleantrueIf false, disables the built-in interaction zone. Use your own trigger: TriggerEvent('origen_importheist:StartRob') (client-side)
lua
Config.Animations = {
    ['search'] = {
        dict    = 'mini@repair',
        anim    = 'fixing_a_ped',
        canMove = true,
        time    = 5000,      -- ms
    },
    ['checking'] = {
        dict    = 'mini@repair',
        anim    = 'fixing_a_ped',
        canMove = false,
        time    = false,     -- loops indefinitely until stopped
    },
}

config/locations.lua

Defines the warehouse interiors, vehicle spawn points, locker positions, and delivery points.

Config.Interiors

Four pre-configured interiors are included. Each interior contains:

KeyTypeDescription
Interiorvector4Entry/teleport position inside the warehouse
Vehiclesvector4[]Spawn positions for the import vehicles inside the warehouse
Lockersvector4[]Positions of the loot lockers inside the warehouse

Config.WareHouses

The warehouses that appear on the map as interaction points. Each entry contains:

KeyTypeDescription
Coordsvector4World position of the warehouse entrance
NamestringDisplay name shown to the player
DeliverstringDelivery zone group. Must match a key in Config.DeliverPoints ('LS' or 'BC')
InteriorintegerIndex referencing a Config.Interiors entry

Default warehouses:

NameZone
Brakes ServicesBC
Flints AutosBC
Mosley AutosBC
No one's repairsBC
Jhonan ServicesLS
Auto RepairsLS
Xeros StationLS

Config.DeliverPoints

Groups of delivery coordinates used once the heist is complete. Keyed by zone name ('LS' or 'BC').

lua
Config.DeliverPoints = {
    ["LS"] = { vector4(...), vector4(...), ... },
    ["BC"] = { vector4(...), vector4(...), ... },
}

The Deliver field in each warehouse entry must match exactly one of the keys defined in Config.DeliverPoints.


config/models.lua

List of vehicle models that can spawn during the heist, each with an associated base reward price.

lua
Config.Models = {
    { Model = "coquette4",  Price = 2950 },
    { Model = "autarch",    Price = 2770 },
    { Model = "tigon",      Price = 2770 },
    -- ...
}
KeyTypeDescription
ModelstringGTA V vehicle model name (spawn name)
PriceintegerBase reward in dollars before damage/time deductions

config/npc.lua

Defines the contact NPC that players interact with to start the heist.

lua
Config.NPCS = {
    {
        model  = 's_m_m_highsec_01',
        name   = 'Dom',
        coords = vector4(1013.8998, 138.8919, 84.9908, 262.2115),
    },
}
KeyTypeDescription
modelstringPed model name
namestringName displayed above the NPC
coordsvector4World position (x, y, z, heading)

config/logs/logs.lua

Server-side Discord webhook configuration for activity logs.

VariableTypeDefaultDescription
ServerConfig.UseIdentifiersbooleantrueAppends player identifiers (source, name, license, steam, etc.) to each log entry
ServerConfig.Logs.StartRobberystring'YOUR_DISCORD_WEBHOOK'Webhook URL for the robbery start log. Leave as-is to disable
lua
ServerConfig.Logs = {
    StartRobbery = 'https://discord.com/api/webhooks/...',
}

The webhook URL is validated at runtime. If the value does not contain discord.com/api/webhooks, the log will be silently skipped.