> For the complete documentation index, see [llms.txt](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/scripts-free/dj-fun/english/configuration/access-grade.md).

# Access Grade

**Access Management by Rank**\
The `Config.AccesGrade` parameter defines the access levels to the DJ Fun script based on the job rank

**Configuration Example**

```lua
Config.AccesGrade = {
    AccesLimiter = { Minimum = 1 },
    AccesComplet = { Maximum = 2 }
}
```

**How It Works**

* **AccesLimiter**: defines the minimum rank required to access the script (limited access)
* **AccesComplet**: defines the maximum rank that grants full access to the script (full control)

**Common Example**:

* **Rank 1** = restricted access (only to locations)
* **Rank 2** = full access (complete control over DJ equipment)

**Important Note ⚠️**:

* With **full access**, you can use the DJ equipment outside of configured zones
* However, this mode cannot be used inside a DJ zone (zones remain a priority for music broadcast)

**Advanced Customization**

* The combinations of configurations are unlimited:\
  You can add as many restrictions and access levels as necessary\
  The system can be configured in multiple levels

**Example**:

```lua
Config.AccesGrade = {
    AccesLimiter = { Minimum = 1 }, -- Basic access (minimum rank required)  
    AccesComplet = { Maximum = 3 }  -- Full access (complete control outside DJ zones)  
}
```

**Summary**

* **AccesLimiter** → limits access (minimum rank required)
* **AccesComplet** → provides full access (complete control over DJ equipment, usable outside DJ zones ⚠️)
* Full access **cannot** be used in a DJ zone

**Flexibility**\
You are not limited to just ranks 1, 2, and 3\
You can adjust the access levels to fit your needs, for example, for specific jobs, particular zones, or custom restrictions
