> For the complete documentation index, see [llms.txt](https://docs.biyei.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.biyei.net/scripts/punishments/configuration.md).

# Configuration

## Permissions

Add this permission in server.cfg

```editorconfig
add_ace group.admin "biyei_punishments.staff" allow
```

## Config File

```lua
Config = {  }
Config.Debug = true

Config.Framework = 'auto' -- 'qbcore', 'esx'
Config.OpenMenu = 'punishments'
Config.Language = 'en' -- 'en', 'es', 'fr', 'de', 'it', 'pt'

Config.Logo = 'https://r2.fivemanage.com/WEtN7ANCsEslHpPVNG0cp/logo.png'

Config.AcePermission = 'biyei_punishments.staff'

Config.CanModifyWebhooks = {
    'discord:1047545695835537458'
}

Config.ServerName = 'Biyei Scripts'
Config.Clothing = 'auto' -- 'auto', 'illenium-appearance', 'qb-clothing', 'fivem-appearance'
Config.SkillGame = true -- Use ox_lib skill game for sweeping
Config.ClearInventory = true -- Clear player inventory when punished
Config.TrashProps = {
    'prop_rub_binbag_01',
    'prop_rub_binbag_04',
    'prop_rub_binbag_05'
}


Config.LeaveCoords = vec4(218.0072, -816.7801, 30.5659, 158.0617)

Config.Spots = {
    Jail = {
        coords = vec4(1651.3241, 2569.7729, 45.5649, 2.1289),
        radius = 50.0
    },
    Animal = {
        coords = vec4(-1330.9783, -1474.5477, 4.3139, 121.9201),
        radius = 100.0
    },
    Sweep = {
        coords = vec4(-1389.2303, 6742.2920, 11.9807, 71.4019),
        radius = 100.0,
        CleanZones = {
            vec3(-1392.4886, 6747.7183, 11.9076),
            vec3(-1394.4579, 6740.7002, 11.9078),
            vec3(-1402.0233, 6743.1660, 11.9076),
            vec3(-1399.9843, 6749.8843, 11.9076),
            vec3(-1413.1082, 6752.3936, 11.9099),
            vec3(-1383.5919, 6740.7051, 8.9715),
            vec3(-1387.6964, 6744.8003, 8.9715),
            vec3(-1391.1740, 6738.6929, 8.9715),
            vec3(-1398.7054, 6743.4805, 8.9715)
        }
    }
}


Config.AnimalsModels = {
    'a_c_boar',
    'a_c_cat_01',
    'a_c_cat_02',
    'a_c_chickenhawk',
    'a_c_chimp',
    'a_c_chop',
    'a_c_cormorant',
    'a_c_cow',
    'a_c_coyote',
    'a_c_crow',
    'a_c_deer',
    'a_c_dolphin',
    'a_c_fish',
    'a_c_hen',
    'a_c_humpback',
    'a_c_husky',
    'a_c_killerwhale',
    'a_c_mtlion',
    'a_c_pig',
    'a_c_pigeon',
    'a_c_poodle',
    'a_c_pug',
    'a_c_rabbit_01',
    'a_c_rat',
    'a_c_retriever',
    'a_c_rhesus',
    'a_c_rottweiler',
    'a_c_rottweiler_02',
    'a_c_seagull',
    'a_c_sharkhammer',
    'a_c_sharktiger',
    'a_c_shepherd',
    'a_c_stingray',
    'a_c_westy'
}
```
