# Configuration

### CONFIG GUIDE

> **1) I WANT MORE TARGETS**
>
> **Here is also a short guide in what means what:**
>
> * Points (The location of where the shop should be).
> * Heading (Is the direction in which the target should face).
> * minZ (Is the lowest coord of the Z coord, that the shop should be).
> * maxZ (Is the highest coord of the Z coord, that the shop should be).
> * Size (Simple just how big or small the box should be).
> * Distance (How far away should you be able to access the store).

{% hint style="info" %}

```lua
{
    points = vector3(0.0, 0.0, 0.0),
    heading = 0.0,
    minZ = 0.0-0.0,
    maxZ = 0.0+0.0,
    Size = {0.0, 0.0},
    distance = 0.0,
},
```

{% endhint %}

### ACCESS SELECTION

> **1) I WANT IT TO BE FOR A JOB**
>
> **Here is a short guide:**
>
> * Inside the job section, set enabled = true
>
> * Set both gang and all to enabled = false
>
> * Then add whatever name you like, we have added weaponmaker
>
> **2) I WANT IT TO BE FOR A GANG**
>
> **Here is a short guide:**
>
> * Inside the gang section, set enabled = true
>
> * Set both job and all to enabled = false
>
> * Then add whatever gang you like
>
> **3) I WANT IT TO BE FOR ALL**
>
> **Here is a short guide:**
>
> * Inside the all section, set enabled = true
> * Set both job and gang to enabled = false

{% hint style="info" %}

```lua
Config.Access = {
    job = { -- Recommended for job limitations
        enabled = false,
        job = "weaponmaker",
    },
    gang = { -- Recommended for gang limitations
        enabled = false,
        gang = "gangname",
    },
    all = { -- Recommended for most servers (Allows everyone to access the factory)
        enabled = true,
    },
}
```

{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apx-studios.com/docs/resources/businesses/other/apex-weapon-manufacturer/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
