Configuration · origen_admin
Configuration is spread across several files inside config/.
config/_framework.lua — General & integrations
| Variable | Default | Description |
|---|---|---|
Config.Language | 'es' | UI language — 'en' | 'es' | 'fr' | 'cn' | 'it' |
Config.Debug | false | Enable 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.PermissionSystem | false | true = use origen_admin's custom permission table. false = use the framework's native permission system |
Config.CustomBanSystem | false | true = 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
| Node | Action |
|---|---|
AdminMenu | Open the admin menu |
AdminMenu:OpenUser | Open a player's profile |
AdminMenu:ChangePriority | Change a player's queue priority |
AdminMenu:Spectate | Spectate a player |
AdminMenu:Screenshot | Take a screenshot of a player |
AdminMenu:Bring | Bring a player to your position |
AdminMenu:GoBack | Return a player to their previous position |
AdminMenu:TpTo | Teleport to a player |
AdminMenu:Freeze | Freeze a player |
AdminMenu:Kill | Kill a player |
AdminMenu:Revive | Revive a player |
AdminMenu:ChangeBucket | Change a player's routing bucket |
AdminMenu:CleanInv | Clear a player's inventory |
AdminMenu:Skin | Open the clothing menu for a player |
AdminMenu:ChangePerms | Change a player's permissions |
AdminMenu:AsignJob | Assign a job to a player |
AdminMenu:AsignGang | Assign a gang to a player |
AdminMenu:GiveItems | Give items to a player |
AdminMenu:SeeInv | View a player's inventory |
AdminMenu:ManageMoney | Manage a player's money |
AdminMenu:GiveProperty | Give a property to a player |
AdminMenu:GiveVehicle | Give a vehicle to a player |
AdminMenu:RemoveVehicle | Remove a vehicle from a player |
AdminMenu:Ban | Ban a player |
AdminMenu:Unban | Unban a player |
AdminMenu:Kick | Kick a player |
AdminMenu:CK | Wipe a player (character kill) |
AdminMenu:AddSanction | Add a sanction to a player |
AdminMenu:RemoveSanction | Remove a sanction from a player |
AdminMenu:Noclip | Toggle noclip |
AdminMenu:SelfRevive | Revive yourself |
AdminMenu:Godmode | Toggle godmode |
AdminMenu:Invisible | Toggle invisibility |
AdminMenu:SkinSelf | Open clothing menu for yourself |
AdminMenu:Blips | Show player blips on the map |
AdminMenu:Tags | Show player name tags |
AdminMenu:Tpm | Teleport to marker |
AdminMenu:CreateAnnounce | Create a server announcement |
AdminMenu:ReviveAll | Revive all players |
AdminMenu:DeletePeds | Delete all server peds |
AdminMenu:DeleteObjects | Delete all server objects |
AdminMenu:DeleteVehicles | Delete all server vehicles |
AdminMenu:ClearChat | Clear chat for all players |
AdminMenu:FixVehicle | Fix the vehicle you're in |
AdminMenu:TunningMenu | Open the tuning menu |
AdminMenu:Refuel | Refuel the vehicle you're in |
AdminMenu:Unlock | Unlock the vehicle you're in |
AdminMenu:BoostVeh | Boost the vehicle you're in |
AdminMenu:Vector3 | Copy current position as vector3 |
AdminMenu:Vector4 | Copy current position as vector4 |
AdminMenu:Laser | Toggle laser |
AdminMenu:SeeReports | View the report list |
AdminMenu:AcceptReports | Accept a report |
AdminMenu:DeleteReports | Delete a report |
AdminMenu:SeeOfflinePlayers | View offline players list |
AdminMenu:ChangeUserData | Change a player's name |
AdminMenu:Chat | Access admin chat |
AdminMenu:SeeBans | View the ban list |
AdminMenu:ALL | All permissions (use as first entry) |
config/commands.lua
| Command | Default | Description |
|---|---|---|
AdminMenu.cmd | admin_menu | Open the admin panel (default key: HOME) |
Report.cmd | report | Submit a report |
AdminMode.cmd | admin_mode | Toggle admin mode on/off |
AdminChat.cmd | sc | Send a message in the admin chat |
config/ban.lua
| Variable | Default | Description |
|---|---|---|
Config.Ban.RequireLicenseToJoin | false | If true, players without a license identifier are kicked on join |
config/logs.lua
| Variable | Default | Description |
|---|---|---|
Config.UploadMethod | 'discord' | Screenshot upload method — 'discord' | 'fivemanage' | 'custom' |
Config.UseIdentifiers | true | Include 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
| Variable | Default | Description |
|---|---|---|
Config.Anticheat.TimeToCollectEvents | 30 | Seconds to collect events per player before analysis |
Config.Anticheat.EntitiesPerCollectWatch | 3 | Max entities a player can create in that window without being flagged |
Config.Anticheat.TimeToWatch | 5 | Seconds to watch a flagged entity |
Config.Anticheat.MaxEntityVelocity | 100.0 | Max entity velocity in the first 10 seconds before triggering a warning |
Config.Anticheat.BlockAttachmentToOtherPeds | true | Block players from attaching entities to other player peds |
config/txadmin.lua
| Variable | Default | Description |
|---|---|---|
Config.TxAdmin.Enabled | auto-detected | Auto-enabled if the monitor resource is running |
Config.TxAdmin.IncludeBans | true | Include 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
| Variable | Default | Description |
|---|---|---|
Config.ConsoleMaxStoredLogs | 300 | Max 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",
}