OrigenNetwork
Docs

Configuration · origen_boosting

All configuration files are located in the config/ folder and are open source (escrow-ignored).


General

VariableTypeDefaultDescription
Config.DebugbooleanfalseEnables debug prints in the console
Config.Languagestring"en"Language of the script. Must match a file in locales/
Config.ContractOfferExpirationnumber5Minutes before a contract offer expires
Config.MissionDurationnumber | falsefalseTime in minutes before a mission is considered failed. Set to false to disable the timeout
Config.CustomNotifybooleanfalseIf true, notifications will be routed through Custom.Notify in custom/client/notify.lua
Config.origenParkingbooleanfalseEnable this if you are using origen_parking integration

Police

VariableTypeDefaultDescription
Config.PoliceJobNametable{ 'police' }List of job names considered as police
lua
Config.PoliceJobName = {
    'police',
    'sheriff',
}

Weapons

List of weapons that will be available when creating or editing a contract.

lua
Config.Weapons = {
    'weapon_bat',
    'weapon_pistol',
}

Currency

VariableTypeDefaultDescription
Config.Currency.AllowTransferencebooleanfalseAllows or disallows transferring the configured currency from within the NUI
Config.Currency.Accountstring'bank'Account name used for contract purchases
lua
Config.Currency = {
    AllowTransference = false,
    Account = 'bank',
}

Reward

VariableTypeDefaultDescription
Config.Reward.typestring'account'Reward type: 'account' to pay to a money account, or 'item' to give an inventory item
Config.Reward.namestring'bank'Account name or item name depending on the reward type
lua
Config.Reward = {
    type = 'account',
    name = 'bank',
}

Admin groups

Groups that are allowed to create and edit contracts from in-game.

lua
Config.AdminGroups = {
    'admin',
    'god',
}

Items

VariableDefaultDescription
Config.Items.OpenBoostingCad'boosting_cad'Item name required to open the boosting CAD
Config.Items.HackLocator'locator_remover'Item name required to hack the vehicle locator system

Hacking

VariableTypeDefaultDescription
Config.Hack.RestrictionbooleantrueIf true, players must be moving to hack the locator
Config.Hack.MinimumSpeednumber20Minimum vehicle speed required to hack the locator
Config.Hack.SpeedMultipliernumber3.6Use 3.6 for km/h or 2.236936 for mph
lua
Config.Hack = {
    Restriction = true,
    MinimumSpeed = 20,
    SpeedMultiplier = 3.6,
}

Plate pattern

Pattern used when generating random license plates for boosted vehicles.

SymbolDescription
XRandom letter or number
LRandom letter
NRandom number
-Blank space
lua
Config.PlatePattern = 'XXXXXXXX' -- Max 8 characters

Blips

Configure the map blips shown during missions.

lua
Config.Blips = {
    Tracker = {
        Sprite = 161,
        Color = 1,
        Scale = 1.0,
    },
    Delivery = {
        Sprite = 225,
        Color = 2,
        Scale = 0.8,
    },
    Vin = {
        Sprite = 402,
        Color = 5,
        Scale = 0.8,
    },
    VehZone = {
        Alpha = 80,
        Color = 1,
        Scale = 0.8,
    },
}

Zones (config/contracts.lua)

VariableTypeDefaultDescription
Config.QueueWaitTimenumber3Minutes between each automatic contract offer sent to the player

Configure the world coordinates for each zone type.

lua
Config.Zones = {
    ['spawn'] = {
        vector4(-63.14, 6502.09, 30.88, 134.52)
    },
    ['delivery'] = {
        vector3(951.80, 3615.43, 32.20)
    },
    ['vin'] = {
        { coords = vector4(110.64, 6630.75, 31.8, 200.7) },
    }
}
ZoneDescription
spawnWhere the target vehicle spawns for the player to steal
deliveryWhere the player must deliver the stolen vehicle
vinWhere the VIN scratch interaction takes place

Guards (config/contracts.lua)

Configure the NPC guards that protect the vehicle.

lua
Config.Guards = {
    model = {
        'u_m_y_party_01',
        'g_m_y_mexgang_01',
        'g_m_y_mexgoon_02',
    },
    difficulties = {
        [0] = { accuracy = 10, armor = 0,   health = 100 }, -- Easy
        [1] = { accuracy = 10, armor = 50,  health = 200 }, -- Normal
        [2] = { accuracy = 10, armor = 100, health = 300 }, -- Hard
    }
}
FieldDescription
modelList of NPC ped models. One is chosen randomly per guard
difficulties[n].accuracyGuard aim accuracy (0–100)
difficulties[n].armorGuard armor value
difficulties[n].healthGuard health value

Custom Core (config/custom_core.lua)

Use this file to provide a custom framework object when none of the supported frameworks are detected.

VariableTypeDefaultDescription
useCustomCorebooleanfalseSet to true to use the custom core object
GetCustomCoreObjectfunctionnilReturn your custom framework core object here
lua
return {
    useCustomCore = true,
 
    GetCustomCoreObject = function()
        return exports['my_custom_core']:GetCore()
    end,
}

Custom Events (config/custom_events.lua)

Override the default framework events with custom event names. Set any field to false to keep the default behavior.

FieldDescription
loadEvent triggered when a player is fully loaded
unloadEvent triggered when a player disconnects or unloads
jobUpdateEvent triggered when a player's job changes
dutyUpdateEvent triggered when a player's duty state changes
lua
return {
    load = 'my_framework:player:loaded',
    unload = 'my_framework:player:logout',
    jobUpdate = false, -- keep default
    dutyUpdate = false, -- keep default
}