> For the complete documentation index, see [llms.txt](https://docs.menanak47.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.menanak47.com/multi-framework/ak47_drugmanagerv3/commands.md).

# Commands

Commands can be customized in \`configs/config.lua\` under \`Config.Commands\`.

### 🎮 Gameplay Commands

#### `/startsell`

Starts street-level NPC drug selling in an active PolyZone (or anywhere if `Config.SellAnyWhere = true`).

**Syntax**

```bash
/startsell
```

***

#### `/stopsell`

Cancels and stops active street-level NPC drug selling.

**Syntax**

```bash
/stopsell
```

***

### 👑 Admin Commands

#### `/drugmanager`

Opens the Drug Manager Studio 3D UI for managing territories, labs, plantations, dealers, and laboratory props.

**Syntax**

```bash
/drugmanager
```

***

#### `/removeaddiction`

Clears drug addiction levels and tolerance values.

**Syntax**

```bash
/removeaddiction [player_id]
```

**Parameters**

| Parameter   | Type     | Required                                | Description                                                     |
| ----------- | -------- | --------------------------------------- | --------------------------------------------------------------- |
| `player_id` | `number` | Optional (In-Game) / Required (Console) | Target player's server ID. Defaults to self if omitted in-game. |

**Examples**

```bash
/removeaddiction       # Clears addiction and tolerance for yourself
/removeaddiction 3     # Clears addiction and tolerance for player ID 3
removeaddiction 3      # Server console execution for player ID 3
```

***

#### `/removeoverdose`

Clears active drug overdose, stops health loss, and removes visual shaders and movement impairments.

**Syntax**

```bash
/removeoverdose [player_id]
```

**Parameters**

| Parameter   | Type     | Required                                | Description                                                     |
| ----------- | -------- | --------------------------------------- | --------------------------------------------------------------- |
| `player_id` | `number` | Optional (In-Game) / Required (Console) | Target player's server ID. Defaults to self if omitted in-game. |

**Examples**

```bash
/removeoverdose        # Clears overdose for yourself
/removeoverdose 3      # Clears overdose for player ID 3
removeoverdose 3       # Server console execution for player ID 3
```

***

#### `/cleardrugs`

Clears **all** drug addictions, tolerances, active overdoses, and screen shaders in a single action.

**Syntax**

```bash
/cleardrugs [player_id]
```

**Parameters**

| Parameter   | Type     | Required                                | Description                                                     |
| ----------- | -------- | --------------------------------------- | --------------------------------------------------------------- |
| `player_id` | `number` | Optional (In-Game) / Required (Console) | Target player's server ID. Defaults to self if omitted in-game. |

**Examples**

```bash
/cleardrugs            # Clears all drug effects & addiction for yourself
/cleardrugs 3          # Clears all drug effects & addiction for player ID 3
cleardrugs 3           # Server console execution for player ID 3
```

***

#### `/migratedrugsv2`

Manually triggers migration of legacy V2 database data into V3 structures.

**Syntax**

```bash
/migratedrugsv2
```
