Configuration

All user-facing settings live in config/. The files are unescrow'd — edit them freely.

General (config/general.lua)

LUA config/general.luaCopy
Config.Debug    = false   -- print extra console output for troubleshootingConfig.Language = 'en'    -- 'en' | 'es'

Gangs (config/gangs.lua)

Controls global gang limits, the shared bank, the XP/level system, the CAD item, and the default rank hierarchy.

LUA config/gangs.luaCopy
Config.Gang = {    MaxMembers = 20,   -- max members per gang    MaxGangs   = 50,   -- max concurrent gangs on the server     Bank = {        Enable     = true,        StartMoney = 0,        MaxMoney   = 10000000,    },     LevelSystem = {        Enable      = true,        ExpPerLevel = 1000,  -- used only with 'flat' formula    },     CAD = {        ItemName   = 'ilegal_cad',        Price      = 500,       -- cost per additional CAD unit        PayAccount = 'cash',    -- 'cash' | 'bank'    },}

Default rank permissions

When a gang is created, four ranks are automatically seeded: Leader, Co-Leader, Member, Recruit. The full permission list per rank is defined under Config.Gang.DefaultRanks. Available permission flags:

Permission
What it allows

invite

Invite new members

kick

Kick members

promote / demote

Change member rank

manage_bank

Full bank management

withdraw / deposit

Bank transactions

access_stash

Shared gang stash

access_personal_stash

Personal stash inside the gang UI

access_garage

Gang vehicle garage

access_clothing

Gang clothing room

manage_stash

Create / remove stashes

manage_vehicles

Add / remove gang vehicles

manage_ranks

Edit rank names and permissions

manage_locations

Set HQ and map locations

view_logs

See gang activity log

disband

Disband the gang

quick_search

F6 quick-search nearby players

quick_handcuff

F6 handcuff shortcut

quick_vehicle

F6 call gang vehicle

quick_radio

F6 open radio tab


Labs (config/labs.lua)

Lab types

Each lab type maps to a unique interior. Available types out of the box:

Key
Label

weed

Weed Lab

coke

Coke Lab

meth

Meth Lab

bunker

Bunker

counterfeit

Counterfeit Cash

Interior spawn and laptop coordinates are defined per type in Config.LabTypes.


Crafting (config/crafting.lua)

The crafting module has two independent level/XP ladders: Player Level and Gang Level.

Formula examples (PlayerLevel defaults)

Level up
XP required

1 → 2

750

5 → 6

1 750

9 → 10

2 750


Territories (config/territories.lua)

See the Territoriesarrow-up-right page for a full breakdown of the presence system, reputation decay, passive income, and capture rules.


Drug Sales (config/drug_sales.lua)

See the Drug Salesarrow-up-right page for NPC customer behavior, price configuration, blacklisted zones, and animations.


Radio (config/radio.lua)


Logs (config_sv_logs.lua)

This file is server-only — it is never exposed to the client. It is safe to place real webhook URLs here.

Each event has its own Discord webhook. Leave any entry as "" to silently skip that event. Set Enabled = false to disable the whole system at once.

Category
Prefix
Description

Basic

basic.*

System operational events (stashes, garages, wardrobe)

User

user.*

Player actions inside the gang panel

Admin

admin.*

Server administrator actions from the admin panel


Admin Access (config/admin.lua)

Controls which players can open the admin panel and run admin commands.

When Enabled = true the resource evaluates, in order:

  1. ACE permissionsConfig.AdminAccess.AcePermissions (applies to all frameworks)

  2. Framework ranksConfig.AdminAccess.Ranks[framework]

  3. Bridge fallbackIsFrameworkAdmin (only if UseBridgeFallback = true)

Framework ranks

Framework
Check method

qb-core

QBCore.Functions.HasPermission(source, perm)

qbx_core

IsPlayerAceAllowed(source, perm)

esx

xPlayer.getGroup() string comparison

ACE permissions

Any player allowed the listed ACE node is granted admin access regardless of framework. Useful for server.cfg ace assignments.

circle-info

To add custom logic (Discord roles, database flags, ox_lib groups) without editing core files, override CustomAdminAccess.HasAccess in custom/server/admin_permissions.lua. See the Customarrow-up-right page for details.


Commands (config/commands.lua)

Command
Default name
Restricted

Open gang panel

/gangorg

No

Create a gang

/creategang

No

Command names are fully configurable in config/commands.lua.

Last updated