> 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/package-fun/english/configuration/emplois.md).

# Emplois

### Authorized Jobs Configuration

The **Config.Emplois** parameter defines which jobs are allowed to use the features of the Package Fun script\
By default, only the jobs listed here will be able to access the system (package crafting, management, interactions, etc)

***

#### 1. Configuration Example

```lua
Config.Emplois = {
    'EXAMPLE',
}
```

***

#### 2. Where to Edit This Parameter

Open your **config.lua** file, then locate the line:

```lua
Config.Emplois = {
```

This is where you can add, remove, or replace the authorized jobs

***

#### 3. Adding Multiple Jobs

Simply add more entries to the table:

```lua
Config.Emplois = {
    'police',
    'ambulance',
    'unicorn',
}
```

***

#### 4. Purpose of This Parameter

* Restricts access to the script for unauthorized jobs
* Controls who can craft, use, or manage packages
* Ensures full control over which players can interact with the system

***

#### 5. Recommendations

* Use existing ESX job names from your database
* Check exact spelling (case-sensitive)
* Avoid duplicates to keep the configuration clean
* Restart the resource after any changes

***

#### 6. Save & Restart

Save your **config.lua**, then restart the resource:

```
restart Package_Fun
```

***

#### 7. In-Game Testing

Test with an authorized job and also with a non-authorized one to confirm that access is properly restricted
