# Config

shared/config.lua

```lua
Config = {}

--[[====[ SPARK-DEVELOPMENTS ]====]]
-- Thank you for buying this resource!
-- DOCS - https://spark-developments.gitbook.io

--[[====[ GENERAL SETTINGS ]====]]
Config.AdminGroup = "admin" -- Which ace group will be able to delete/create gangs/territories?
Config.KeyMapping = { -- Command, Description, Key
    command = "gangs",
    label = "Open Gang Menu",
    key = "F9" -- Set to false to disable
}

--[[====[ GANG SETTINGS ]====]]
Config.MaxGangMembers = 20 -- Maximum number of members per gang
Config.GangNameMinLength = 3 -- Minimum characters for gang name
Config.GangNameMaxLength = 50 -- Maximum characters for gang name
Config.DeleteGangOnLeaderLeave = false -- If true, gang is deleted when leader leaves. If false, highest grade member becomes leader

--[[====[ TERRITORY SETTINGS ]====]]
Config.TerritoryPoints = {
    Claim = 2000, -- How much points a gang gains from capturing a territory
    Loss = 1000 -- How much points a gang loses when territory is taken (won't go below 0)
}
Config.TerritoryCaptureTime = 60 -- How many seconds it takes to capture a territory
Config.ShowTerritoriesOnlyToGangMembers = true -- If true, only gang members can see territory blips. If false, everyone can see them
```


---

# 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://spark-developments.gitbook.io/dev/roleplay/gangs/config.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.
