> For the complete documentation index, see [llms.txt](https://lumio-studio.gitbook.io/intro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lumio-studio.gitbook.io/intro/ammunation-robbery/configuration.md).

# Configuration

Let's configure your new script to your liking!

Language

There are a few default languages that come with the script. You can easily add your own language or just translate one of the default ones. Let me show you how to choose your language.

1\) Go to the `fxmanifest.lua` and look for `shared_scripts`.&#x20;

2\) You will find this on that spot:

```lua
shared_scripts {
    'translations/en.lua', --Choose a language, you can add some yourself if you want
    'config.lua'
}
```

3\) On the 2nd line you see `translations/en.lua` this stands for English. So if you want Dutch for example you choose `nl.lua` instead of `en.lua`. This is possible because `nl.lua` is already present in the `translations folder`.

## Configurations

<details>

<summary>Config.TimeToOpen</summary>

Time to open a certain box or case, this is in miliseconds.

</details>

<details>

<summary>Config.MainHackIcons</summary>

Amount of icons show up on the hack, more = more difficult.

</details>

<details>

<summary>Config.MainHackSpeed</summary>

Time players have to fill in the correct color for each icon on the hack.

</details>

<details>

<summary>Config.RequiredForMainHack</summary>

Item that is required to hack.

</details>

<details>

<summary>Config.RequiredCops</summary>

Speaks for itself, amount of cops required in order to start the robbery/hack.

</details>

<details>

<summary>Config.Cooldown</summary>

Time it takes to reset the robbery, in this timespan nobody can rob it until cooldown is over. This is in minutes.

</details>

<details>

<summary>Config.MapDestination (non Gabz users)</summary>

The location where the ped spawns with the katana and puts a waypoint to.

</details>

## Changing rewards when opening box

Go to `lumio-ammunationrobbery > server > sv_main.lua`

* Do not change `['weapon'], ['attachment'], ['armor'], ['katana'], ['throwable'] or ['melee']`
* You can only change the item names that are after `name =`
* I suggest to put the maxAmount on 1 when it's a weapon
