> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_drugs/integrations/gangs.md).

# Gangs

Gang integration is used for lab access rules.

## 👥 Supported Gang Systems

| System        | Config value   |
| ------------- | -------------- |
| QBCore gangs  | `Gangs.QBCore` |
| `rcore_gangs` | `Gangs.RCORE`  |
| No gangs      | `Gangs.NONE`   |

## 🔎 Auto Detection

Default setting:

```lua
Config.Gangs = Gangs.AUTO_DETECT
```

## 🔐 Gang Access

Use `/drugs_admin` to give lab access to a gang.

Gang rules can include:

* gang name
* minimum grade
* assigned roles

See [Roles and Access](/paid-resources/rcore_drugs/features/roles-and-access.md) for role names.
