Configuration · origen_titlemenu
All settings live in config.lua.
General
| Variable | Default | Description |
|---|---|---|
Config.DefaultSlots | 1 | Default number of character slots for new players |
Config.Locales | 'es' | UI language — 'en' | 'es' | 'it' |
Config.radar | false | Show radar during the title menu |
Config.ExperimentalVersion | true | Apply experimental patches to fix edge-case bugs |
Config.SkySpawnCinematicDisable | false | true = skip sky spawn cinematic and use a default one |
Spawn
| Variable | Default | Description |
|---|---|---|
Config.DefaultSpawn | vector4(...) | Default spawn location (ESX only) |
Config.HiddenCoords | vector4(...) | Hidden coordinates used while loading |
Config.CreationCoords | vector4(...) | 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
| Variable | Default | Description |
|---|---|---|
Config.DisableQBApartment | false | Disable the default QBCore apartment on spawn |
Config.QBApartmentSpawns | false | Allow spawning in a player's owned QB apartment |
Config._Or_Motels | false | Enable 0r_motels integration |
Config.Enable0RApartments | false | Enable 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
| Command | Permission | Description |
|---|---|---|
/giveslot [id] | mod | Give an extra character slot to a player (max 5) |
/removeslot [id] | mod | Remove an extra character slot from a player |