> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-advanced-gang/configuration.md).

# Configuration

Configure CAS Advanced Gang System in config.lua: framework, founding, ranks, camp tiers, structures, stash, treasury, upkeep and territory.

Every setting lives in **`config.lua`** in the resource folder. The server and the client both read it. Restart the resource after a change.

The server is the only place a rule is enforced, and the ledger draws what the server sends. A price, limit or tier you change in `config.lua` shows in the ledger without touching the interface.

| Page                                                                                                | Covers                                                                          |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [General settings](/script-documentation/cas-advanced-gang/configuration/general.md)                | Framework, currency, language, commands, the ledger prompt, the map blip, debug |
| [Founding and the camp](/script-documentation/cas-advanced-gang/configuration/founding-and-camp.md) | Founding fee, camp spacing, camp bounds, the placing camera, the starting camp  |
| [Ranks and permissions](/script-documentation/cas-advanced-gang/configuration/ranks.md)             | Default ranks, permission keys, allowances, invitations, kicks                  |
| [Camp tiers and challenges](/script-documentation/cas-advanced-gang/configuration/tiers.md)         | Tiers, prices, roster and stash sizes, challenges                               |
| [Structures](/script-documentation/cas-advanced-gang/configuration/structures.md)                   | Every structure a camp can have                                                 |
| [Stash](/script-documentation/cas-advanced-gang/configuration/stash.md)                             | Stash items, guns, categories, remote access, spoilage                          |
| [Treasury and upkeep](/script-documentation/cas-advanced-gang/configuration/treasury-and-upkeep.md) | Upkeep, requests, ledger history                                                |
| [Territory, lookout and bell](/script-documentation/cas-advanced-gang/configuration/territory.md)   | Influence, contests, the Lookout Post and the Alarm Bell                        |

{% hint style="warning" %}
**Item names, prop models and prices belong to your server.** Anything in `config.lua` that names an item or a model must exist on your server. A missing item doesn't throw an error. It just never moves.
{% endhint %}
