# Configuration

The main configuration file is `0r-garbage/config.lua`.

## Main Settings You Will Usually Change

| Field                           | What it controls                                   |
| ------------------------------- | -------------------------------------------------- |
| `Config.Commands`               | Menu, leave task, and invite commands              |
| `Config.JobOptions.ranks`       | Experience requirements for job levels             |
| `Config.JobOptions.startPoints` | Employer NPC, blip, spawn points, and return point |
| `Config.Tasks`                  | Task rewards, goals, levels, and max team size     |
| `Config.DumpsterCoords`         | Dumpster route coordinates                         |
| `Config.Models`                 | Dumpster, bin bag, and box models                  |
| `Config.ThrowBinBag`            | Broken bag reward system                           |
| `Config.Tablet`                 | Item based menu access                             |
| `Config.JobUniforms`            | Job clothing toggle                                |
| `Config.TaskVehicles`           | Garbage vehicle models and plate                   |
| `Config.Bundle`                 | Shortcut links to other 0Resmon tablet apps        |
| `Config.debug`                  | Debug mode                                         |

## Menu Access

This version supports:

* Command access
* Item access
* Lobby invite accept command

Default commands:

```lua
garbagejob
leavegarbagetask
acceptgarbage
```

## Levels and Tasks

The progression system is split into two sections:

* `Config.JobOptions.ranks`
* `Config.Tasks`

`ranks` controls how much XP is needed for each level.

`Tasks` controls:

* Required level
* XP reward
* Money reward
* Goal count
* Maximum player count

## Employer and Spawn Points

Use `Config.JobOptions.startPoints` to change:

* Employer ped model
* Employer location
* Map blip
* Task vehicle spawn points
* Final return/destroy point

## Trash Bag Reward Drops

Use `Config.ThrowBinBag` if you want players to receive extra items when a bag breaks.

You can change:

* `active`
* `breakChance`
* Reward item names
* Reward labels
* Reward counts

## Vehicle and Bundle Settings

Use `Config.TaskVehicles` to change the vehicle model names.

Use `Config.Bundle` if you want the tablet shortcuts to point to different resource names for:

* `0r-delivery`
* `0r-towtruck`

## Localization

This resource uses locale files in the `locales/` folder. The default locale is handled through `ox_lib`.

Example:

```cfg
set ox:locale "en"
```


---

# 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.0resmon.org/0resmon/0r-resources/0r-garbage-v1/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.
