OrigenNetwork
Docs

Configuration · origen_admin

Configuration is spread across several files inside config/.


config/_framework.lua — General & integrations

VariableDefaultDescription
Config.Language'es'UI language — 'en' | 'es' | 'fr' | 'cn' | 'it'
Config.DebugfalseEnable debug logging
Config.Framework'auto'Framework — 'auto' | 'esx' | 'qbcore'
Config.Inventory'origen_inventory'Inventory system — origen_inventory | qb-inventory | qs-inventory | codem-inventory | ox_inventory
Config.AmbulanceSystem'qb-ambulancejob'Ambulance system — qb-ambulancejob | esx_ambulancejob | wasabi_ambulance | default
Config.ClothingSystem'origen_clothing'Clothing system — origen_clothing | qb-clothing | illenium-appearance | vms_clothestore
Config.HousingSystem'default'Housing system — default | origen_housing | qs-housing
Config.GarageSystem'default'Garage system — default | cd_garage | okokGarage
Config.TunningSystem'qb-mechanicjob'Tuning system — qb-mechanicjob | vms_tunning | esx_tunning | okokTunning
Config.FuelSystem'default'Fuel system — default | legacyfuel
Config.PermissionSystemfalsetrue = use origen_admin's custom permission table. false = use the framework's native permission system
Config.CustomBanSystemfalsetrue = use BanPlayerHandler / UnbanPlayerHandler / IsbannedHandler in custom/server/actions.lua instead of the built-in ban system

Admin groups

Groups that can perform admin actions. Do NOT include regular user groups:

lua
Config.PermissionList = { 'mod', 'admin', 'god' }

Character wipe (CK) structure

Defines which DB tables are cleared when a player is wiped:

lua
Config.CkStructure = {
    ["qbcore"] = { { table = "players", column = "citizenid" } },
    ["esx"]    = { { table = "users",   column = "identifier" } },
}

Money account name per framework

lua
Config.MoneyName = {
    ["esx"]     = "money",
    ["qbcore"]  = "cash",
}

config/permissions.lua — Permission nodes

Defines which permission nodes each admin group has. Use "AdminMenu:ALL" to grant everything.

lua
Config.Permissions = {
    ["mod"] = {
        -- empty by default — add nodes as needed
    },
    ["admin"] = {
        "AdminMenu",
        "AdminMenu:OpenUser",
        "AdminMenu:Spectate",
        "AdminMenu:Screenshot",
        "AdminMenu:Bring",
        "AdminMenu:GoBack",
        "AdminMenu:TpTo",
        "AdminMenu:Freeze",
        "AdminMenu:Kill",
        "AdminMenu:Revive",
        "AdminMenu:ChangeBucket",
        "AdminMenu:CleanInv",
        "AdminMenu:Skin",
        "AdminMenu:ChangePerms",
        "AdminMenu:AsignJob",
        "AdminMenu:AsignGang",
        "AdminMenu:GiveItems",
        "AdminMenu:SeeInv",
        "AdminMenu:ManageMoney",
        "AdminMenu:GiveProperty",
        "AdminMenu:GiveVehicle",
        "AdminMenu:RemoveVehicle",
        "AdminMenu:Ban",
        "AdminMenu:Unban",
        "AdminMenu:Kick",
        "AdminMenu:AddSanction",
        "AdminMenu:RemoveSanction",
        "AdminMenu:Noclip",
        "AdminMenu:SelfRevive",
        "AdminMenu:Godmode",
        "AdminMenu:Invisible",
        "AdminMenu:SkinSelf",
        "AdminMenu:Blips",
        "AdminMenu:Tags",
        "AdminMenu:Tpm",
        "AdminMenu:ReviveAll",
        "AdminMenu:ClearChat",
        "AdminMenu:FixVehicle",
        "AdminMenu:TunningMenu",
        "AdminMenu:Refuel",
        "AdminMenu:Unlock",
        "AdminMenu:BoostVeh",
        "AdminMenu:Vector3",
        "AdminMenu:Vector4",
        "AdminMenu:Laser",
        "AdminMenu:SeeReports",
        "AdminMenu:AcceptReports",
        "AdminMenu:DeleteReports",
        "AdminMenu:Chat",
        "AdminMenu:SeeBans",
    },
    ["god"] = {
        "AdminMenu:ALL"  -- grants all permissions
    }
}

Full permission node reference

NodeAction
AdminMenuOpen the admin menu
AdminMenu:OpenUserOpen a player's profile
AdminMenu:ChangePriorityChange a player's queue priority
AdminMenu:SpectateSpectate a player
AdminMenu:ScreenshotTake a screenshot of a player
AdminMenu:BringBring a player to your position
AdminMenu:GoBackReturn a player to their previous position
AdminMenu:TpToTeleport to a player
AdminMenu:FreezeFreeze a player
AdminMenu:KillKill a player
AdminMenu:ReviveRevive a player
AdminMenu:ChangeBucketChange a player's routing bucket
AdminMenu:CleanInvClear a player's inventory
AdminMenu:SkinOpen the clothing menu for a player
AdminMenu:ChangePermsChange a player's permissions
AdminMenu:AsignJobAssign a job to a player
AdminMenu:AsignGangAssign a gang to a player
AdminMenu:GiveItemsGive items to a player
AdminMenu:SeeInvView a player's inventory
AdminMenu:ManageMoneyManage a player's money
AdminMenu:GivePropertyGive a property to a player
AdminMenu:GiveVehicleGive a vehicle to a player
AdminMenu:RemoveVehicleRemove a vehicle from a player
AdminMenu:BanBan a player
AdminMenu:UnbanUnban a player
AdminMenu:KickKick a player
AdminMenu:CKWipe a player (character kill)
AdminMenu:AddSanctionAdd a sanction to a player
AdminMenu:RemoveSanctionRemove a sanction from a player
AdminMenu:NoclipToggle noclip
AdminMenu:SelfReviveRevive yourself
AdminMenu:GodmodeToggle godmode
AdminMenu:InvisibleToggle invisibility
AdminMenu:SkinSelfOpen clothing menu for yourself
AdminMenu:BlipsShow player blips on the map
AdminMenu:TagsShow player name tags
AdminMenu:TpmTeleport to marker
AdminMenu:CreateAnnounceCreate a server announcement
AdminMenu:ReviveAllRevive all players
AdminMenu:DeletePedsDelete all server peds
AdminMenu:DeleteObjectsDelete all server objects
AdminMenu:DeleteVehiclesDelete all server vehicles
AdminMenu:ClearChatClear chat for all players
AdminMenu:FixVehicleFix the vehicle you're in
AdminMenu:TunningMenuOpen the tuning menu
AdminMenu:RefuelRefuel the vehicle you're in
AdminMenu:UnlockUnlock the vehicle you're in
AdminMenu:BoostVehBoost the vehicle you're in
AdminMenu:Vector3Copy current position as vector3
AdminMenu:Vector4Copy current position as vector4
AdminMenu:LaserToggle laser
AdminMenu:SeeReportsView the report list
AdminMenu:AcceptReportsAccept a report
AdminMenu:DeleteReportsDelete a report
AdminMenu:SeeOfflinePlayersView offline players list
AdminMenu:ChangeUserDataChange a player's name
AdminMenu:ChatAccess admin chat
AdminMenu:SeeBansView the ban list
AdminMenu:ALLAll permissions (use as first entry)

config/commands.lua

CommandDefaultDescription
AdminMenu.cmdadmin_menuOpen the admin panel (default key: HOME)
Report.cmdreportSubmit a report
AdminMode.cmdadmin_modeToggle admin mode on/off
AdminChat.cmdscSend a message in the admin chat

config/ban.lua

VariableDefaultDescription
Config.Ban.RequireLicenseToJoinfalseIf true, players without a license identifier are kicked on join

config/logs.lua

VariableDefaultDescription
Config.UploadMethod'discord'Screenshot upload method — 'discord' | 'fivemanage' | 'custom'
Config.UseIdentifierstrueInclude player identifiers in all log embeds

Set a Discord webhook for each action. Leave 'YOUR_DISCORD_WEBHOOK' to disable a log:

lua
Config.Logs = {
    ["Spectate"]           = "YOUR_DISCORD_WEBHOOK",
    ["TakeScreenshot"]     = "YOUR_DISCORD_WEBHOOK",
    ["Bring"]              = "YOUR_DISCORD_WEBHOOK",
    ["ReturnPlayer"]       = "YOUR_DISCORD_WEBHOOK",
    ["TpPlayer"]           = "YOUR_DISCORD_WEBHOOK",
    ["FreezePlayer"]       = "YOUR_DISCORD_WEBHOOK",
    ["ChangeBucket"]       = "YOUR_DISCORD_WEBHOOK",
    ["SkinForced"]         = "YOUR_DISCORD_WEBHOOK",
    ["PermissionsChanged"] = "YOUR_DISCORD_WEBHOOK",
    ["AsignedJob"]         = "YOUR_DISCORD_WEBHOOK",
    ["AsignedGang"]        = "YOUR_DISCORD_WEBHOOK",
    ["GiveItems"]          = "YOUR_DISCORD_WEBHOOK",
    ["ManageMoney"]        = "YOUR_DISCORD_WEBHOOK",
    ["GiveProperty"]       = "YOUR_DISCORD_WEBHOOK",
    ["GiveVehicle"]        = "YOUR_DISCORD_WEBHOOK",
    ["AddSanction"]        = "YOUR_DISCORD_WEBHOOK",
    ["RemoveSanction"]     = "YOUR_DISCORD_WEBHOOK",
    ["BanPlayer"]          = "YOUR_DISCORD_WEBHOOK",
    ["KickPlayer"]         = "YOUR_DISCORD_WEBHOOK",
    ["CKPlayer"]           = "YOUR_DISCORD_WEBHOOK",
    ["ReportAccepted"]     = "YOUR_DISCORD_WEBHOOK",
    ["ReportDeleted"]      = "YOUR_DISCORD_WEBHOOK",
}

For custom screenshot upload, implement GetCustomUrlFromResponse(resp) at the bottom of this file.


config/anticheat.lua

VariableDefaultDescription
Config.Anticheat.TimeToCollectEvents30Seconds to collect events per player before analysis
Config.Anticheat.EntitiesPerCollectWatch3Max entities a player can create in that window without being flagged
Config.Anticheat.TimeToWatch5Seconds to watch a flagged entity
Config.Anticheat.MaxEntityVelocity100.0Max entity velocity in the first 10 seconds before triggering a warning
Config.Anticheat.BlockAttachmentToOtherPedstrueBlock players from attaching entities to other player peds

config/txadmin.lua

VariableDefaultDescription
Config.TxAdmin.Enabledauto-detectedAuto-enabled if the monitor resource is running
Config.TxAdmin.IncludeBanstrueInclude txAdmin bans in the ban list
Config.TxAdmin.OverrideDataFolder''Override the txAdmin data folder path if it is not in the default location

config/liveconsole.lua

VariableDefaultDescription
Config.ConsoleMaxStoredLogs300Max log lines stored in the live console buffer

config/houses.lua

List of apartment type IDs available in the GiveProperty action:

lua
Config.Houses = {
    "apartment1",
    "apartment2",
    "apartment3",
    "apartment4",
    "apartment5",
}