# Rewards

## Explanation of parameters

**`day`** – The specific day on which the reward should be available.

**`item`** – The display name (label) of the reward item.

**`respname`** – The internal identifier (respawn name) of the item that should be given.

**`count`** – The quantity of the item to be rewarded.

**`image`** – The path to the item's image. The default path is `./images/respname.png`, but you can also use NUI paths.

**`rarity`** – The rarity of the item, which is displayed in the user interface (UI).

:::hint{type="info"}
All rarities:\
`[gray, green, blue, red, yellow]`
:::

***

```lua title="shared/config.lua"
Config.Rewards = {
    ['basic'] = {
        [1] = { day = 1, item = 'Water', respname = 'water', count = 1, rarity = 'gray', image = './images/water.png' },
        [2] = { day = 2, item = 'Bread', respname = 'bread', count = 1, rarity = 'gray', image = './images/bread.png' },
        ...
    },
    ['premium'] = {
        [1] = { day = 1, item = 'Water', respname = 'water', count = 1, rarity = 'gray', image = './images/water.png' },
        [2] = { day = 2, item = 'Bread', respname = 'bread', count = 1, rarity = 'gray', image = './images/bread.png' },
        ...
    }
}
```

## Related pages

- [Changing Language](/new/daily-rewards/configuration/changing-language) — Explanation of the locale configuration in the script
- [Debug Prints](/new/daily-rewards/configuration/debug-prints) — Explanation of the debug configuration in the script
- [Open Commands](/new/daily-rewards/configuration/open-commands) — Explanation of the commands configuration in the script
- [Shop Link](/new/daily-rewards/configuration/shop-link) — Explanation of the shop link configuration in the script
- [Theme](/new/daily-rewards/configuration/theme) — Explanation of the color configuration in the script
- [Auto Table](/new/daily-rewards/configuration/auto-table) — Explanation of the auto table configuration in the script
- [Configuration](/new/daily-rewards/configuration) — back to the section overview
