> For the complete documentation index, see [llms.txt](https://fendt873.gitbook.io/deliveryman/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fendt873.gitbook.io/deliveryman/configs-1/rewards.yml.md).

# rewards.yml

rewards.yml file

```
'ID':
    slot: 22
    name: "&d&lReward VIP"
    time: 60
    cmds:
      # Supports PlaceholderAPI
      # [p] = execute from player
      # [c] = execute from console
      # [m] = send a message
      - '[p] me hi I''m {player} and I got {reward}'
      - '[c] say Nice, {player}!'
      - '[m] &cReward claimed successfully!'
    conditions:
      - '[exp_level] 5'
    locked:
      material: MINECART
      durability: 0
      amount: 1
      name: '&cLocked!'
      lore: # Supports PlaceholderAPI if installed!
        - ''
        - '&cLast claim: &e{claim_last_date}'
        - '&cNext claim: &e{claim_next_date}'
        - '&cRemain: &e{claim_next_remain}'
        - ''
    available:
      material: LEGACY_STORAGE_MINECART # bit.ly/spigotmaterials
      durability: 0
      amount: 1
      name: '&aAvailable!'
      lore: # Supports PlaceholderAPI if installed!
        - ''
        - '&a&lClick to claim your reward!'
        - ''
    need-condition: # Item to display if the reward need a permission and the user doesn't have it.
      material: LEGACY_STORAGE_MINECART # bit.ly/spigotmaterials
      durability: 0
      amount: 1
      name: '&c&lLocked!'
      lore: # Supports PlaceholderAPI if installed!
        - ''
        - '&c&lReward locked!'
        - '&cYou must have at least'
        - '&e5 xp level &cto unlock this reward!'
```

### ID

**Description:** The ID must be unique and can't contain spaces.

**Required value:** *TEXT*

**Default value:** 'credit'

### SLOT

**Description:** Reward item position in the GUI.

![Inventory slots numbers](https://2632675889-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9PouPM7SrrOYBSaPHE%2F-M9PoxNzDurEAeRWnqxU%2F-M9PtLkC3c1zFxKBbsoh%2F300px-DoubleChest-slots.png?alt=media\&token=04a75c4e-5809-4faa-af7f-c7f5014d1960)

**Required value:** *NUMBER*&#x20;

### time

**Description:** Time between rewards. *(In seconds)*

**Required value:** NUMBER

**Default value:** 86400 (24 hours)

### cmds

**Description:** Commands to be run on reward claim.

* \[p] Means the command will be executed from the player.
* \[c] Means the command will be executed from the console.
* \[m] Sends a message to the player.

**Required value:** TEXT&#x20;

**Default value:**

```
cmds:
  - '[p] me hi I''m {player} and I got {reward}'
  - '[c] say Nice, {player}!'
  - '[m] &cReward claimed successfully!'
```

### conditions

**Description:** Conditions that must be met to claim the reward. Check out the [Condition Types page.](/deliveryman/condition-types.md)

**Required value:** *TEXT*

**Default value:**

```
conditions:
  - "[perm] deliveryman.rewards.vip-1"
```

### locked

**Description:** The item that is displayed when the reward is under cooldown.

**Required type:** *ITEM*

### **available**

**Description:** The item that is display when the reward is ready to be claimed.

**Required type:** *ITEM*

### need-condition

**Description:** The item that is display when the player doesn't met the conditions.

**Required type:** *ITEM*
