OrigenNetwork
Docs

Configuration · origen_titlemenu

All settings live in config.lua.


General

VariableDefaultDescription
Config.DefaultSlots1Default number of character slots for new players
Config.Locales'es'UI language — 'en' | 'es' | 'it'
Config.radarfalseShow radar during the title menu
Config.ExperimentalVersiontrueApply experimental patches to fix edge-case bugs
Config.SkySpawnCinematicDisablefalsetrue = skip sky spawn cinematic and use a default one

Spawn

VariableDefaultDescription
Config.DefaultSpawnvector4(...)Default spawn location (ESX only)
Config.HiddenCoordsvector4(...)Hidden coordinates used while loading
Config.CreationCoordsvector4(...)Coordinates for the character creation area

Logout command

Controls who can use the /logout command to return to the character selection screen:

lua
Config.CommandLogOut = {
    permissions     = true,       -- use group_permissions check
    group_permissions = { "admin" },  -- groups allowed to use /logout
    discord_allowed = false,      -- also allow by Discord ID
    discord_id      = {
        1167345857843183636,      -- add as many IDs as needed
    },
}

Set both permissions = false and discord_allowed = false to allow all players to use /logout.


Apartments

VariableDefaultDescription
Config.DisableQBApartmentfalseDisable the default QBCore apartment on spawn
Config.QBApartmentSpawnsfalseAllow spawning in a player's owned QB apartment
Config._Or_MotelsfalseEnable 0r_motels integration
Config.Enable0RApartmentsfalseEnable 0r_apartments integration

Starter items (ESX only)

Items given to a new character on first creation:

lua
Config.EnableStarterItems = true
 
Config.StarterItems = {
    { item = 'id_card',        amount = 1 },
    { item = 'driver_license', amount = 1 },
    { item = 'tosti',          amount = 1 },
}

For QBCore, starter items are configured in qb-core/config.lua, not here.


Cinematic

Cinematic camera shots played during the spawn screen. Each entry defines a camera from/to movement and a target look point:

lua
Config.CinematicCoords = {
    {
        from  = vector3(7.0897, 539.0538, 178.02),
        to    = vector3(7.8296, 525.5784, 177.01),
        look  = vector3(12.1585, 531.1989, 174.6875),
        speed = 10000  -- transition duration in ms
    },
    -- ... 5 more shots
}

Ped animations used during the cinematic:

lua
Config.CinematicSpawns = {
    {
        coords   = vector4(-10.6176, 518.8751, 173.6281, 57.5486),
        anim     = { dict = "anim@amb@...", anim = "machinic_loop_mechandplayer", legs = true },
        zoff     = 0.35,  -- Z offset adjustment
    },
    -- ...
}

Discord logs

Configured in custom/server/logs.lua:

lua
Logs.Enabled = {
    logout_command  = true,
    giveslot_command = true,
}
 
Logs.Webhooks = {
    logout_command   = 'YOUR_DISCORD_WEBHOOK',
    giveslot_command = 'YOUR_DISCORD_WEBHOOK',
}

Admin commands

CommandPermissionDescription
/giveslot [id]modGive an extra character slot to a player (max 5)
/removeslot [id]modRemove an extra character slot from a player