# Inventories.yml

### Inventories.yml

Banking allows you to create an unlimited amount of GUI inventories, in accordance with your goals.

> **Notice:** This page contains information about `inventories.yml` file, **his main values and sections,** for **in depth explanation about how to set buttons in your GUI** please follow [**this example**](https://reflexlabs.gitbook.io/reflexlabs/resources/banking/create-a-new-bank-inventory).

### Clean Inventories Document [Jump down to clean document](#clean-inventories-document)

> **Notice: Please avoid changing any of those main values in the section (or in their sub-values):**

#### Main Values and Sections

| Main Value    | Description                     |
| ------------- | ------------------------------- |
| `inventories` | Main `inventories.yml` section  |
| `management`  | Management GUIs section         |
| `main`        | Main management GUI section     |
| `overview`    | Overviewing account GUI section |
| `default`     | Main default GUIs section       |

#### Inventory's Section

| Value          | Description                                                        |
| -------------- | ------------------------------------------------------------------ |
| `title`        | Inventory's GUI title                                              |
| `slots`        | Inventory's GUI slots                                              |
| `fillMaterial` | Whatever material you like to fill the empty slots in the invntory |
| `items`        | Inventory's GUI items section                                      |

#### Item's Section

| Value      | Description                                                                                                                                                                                                                                                                                                                                            |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `material` | Item's display material                                                                                                                                                                                                                                                                                                                                |
| `customID` | Item's display material custom model ID                                                                                                                                                                                                                                                                                                                |
| `slot`     | Item's slot position (0-53)                                                                                                                                                                                                                                                                                                                            |
| `flags`    | Item's flags such enchantments list or attacking lore                                                                                                                                                                                                                                                                                                  |
| `name`     | Item's display title                                                                                                                                                                                                                                                                                                                                   |
| `lore`     | Item's lore                                                                                                                                                                                                                                                                                                                                            |
| `value`    | Item's value, describe button's value to action with player's account, values like **-1** and below will withdraw money, values like +1 and above will deposit into the bank account according to player's vault balance, for more please follow [this example](https://github.com/reflexLabs/Banking/wiki/Create-A-New-Bank-Inventory#buttons-values) |

### Clean Inventories Document

A default `inventories.yml` file.

```
inventories:
  management:
    main:
      title: '&c&lBANK MANAGEMENT'
      slots: 9
      fillMaterial: RED_STAINED_GLASS_PANE
      items:
        creation:
          material: Iron_Hoe
          slot: 2
          customID: 120
          flags: false
          name: '&a&lCreation Wand'
          lore:
          - '&7allows you to create'
          - '&7machines by right click'
          - '&7on the block you want!'
        destruction:
          material: Stick
          slot: 3
          customID: 0
          flags: false
          name: '&c&lDestruction Wand'
          lore:
          - '&7allows you to destroy'
          - '&7machines by right click on them!'
        overview:
          material: Player_Head
          slot: 4
          flags: false
          name: '&3&lAcounts Overview'
          lore:
          - '&7Overview your players statistics,'
          - '&7&lFully modify mode!'
          - ''
          - '&7&lRight click to load the'
          - '&7&lthe last account you modified'
        settings:
          material: String
          slot: 5
          flags: false
          name: '&6&lSettings'
          lore:
          - '&7Modify configuration values'
          - '&7directly from &8&lconfig.yml &7ingame!'
        machines:
          material: Iron_Hoe
          customID: 120
          slot: 6
          flags: false
          name: '&3&lMachines'
          lore:
          - '&7Control the available'
          - '&7machines ingame!'
    overview:
      title: '&c&lMANAGEMENT » &3&lOVERVIEW'
      slots: 9
      fillMaterial: CYAN_STAINED_GLASS_PANE
      items:
        balance:
          material: Sunflower
          slot: 1
          flags: false
          name: '&a&lCheck Balance'
        deposit:
          material: Paper
          slot: 2
          flags: false
          name: '&2&lDeposit Money'
        withdraw:
          material: Paper
          slot: 3
          flags: false
          name: '&6&lWithdraw Money'
        set:
          material: Paper
          slot: 4
          flags: false
          name: '&c&lSet Balance'
        reset:
          material: Paper
          slot: 5
          flags: false
          name: '&4&lReset Balance'
        freeze:
          material: IRON_BARS
          slot: 6
          flags: false
          name: '&3&lFreeze Account &8(Toggle)'
          lore:
          - '&7Freezing the player''s account'
          - '&7will prevent the player from'
          - '&7takeing any future actions.'
        back:
          material: IRON_DOOR
          slot: 7
          flags: false
          name: '&c&lBack'
  default:
    custombank:
      title: '&2&lBANK'
      slots: 18
      fillMaterial: CYAN_STAINED_GLASS_PANE
      items:
        depositcustom:
          material: LIME_STAINED_GLASS_PANE
          slot: 2
          flags: false
          name: '&a&lDeposit Custom Amount'
          value: 0.0
        depositall:
          material: GREEN_STAINED_GLASS_PANE
          slot: 1
          flags: false
          name: '&2&lDeposit All'
          value: 0.0
        withdrawall:
          material: ORANGE_STAINED_GLASS_PANE
          slot: 7
          flags: false
          name: '&6&lWithdraw All'
          value: 0.0
        withdrawcustom:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 6
          flags: false
          name: '&6&lWithdraw Custom Amount'
          value: 0.0
        balance:
          material: Sunflower
          slot: 4
          flags: false
          name: '&2&l${balance}'
        back:
          material: IRON_DOOR
          slot: 13
          flags: false
          name: '&c&lExit'
    bank:
      title: '&3&lATM'
      slots: 54
      fillMaterial: CYAN_STAINED_GLASS_PANE
      items:
        deposit1:
          material: LIME_STAINED_GLASS_PANE
          slot: 10
          flags: false
          name: '&a&lDeposit $10'
          value: 10.0
        deposit2:
          material: LIME_STAINED_GLASS_PANE
          slot: 11
          flags: false
          name: '&a&lDeposit $100'
          value: 100.0
        deposit3:
          material: LIME_STAINED_GLASS_PANE
          slot: 12
          flags: false
          name: '&a&lDeposit $1,000'
          value: 1000.0
        deposit4:
          material: LIME_STAINED_GLASS_PANE
          slot: 19
          flags: false
          name: '&a&lDeposit $5,000'
          value: 5000.0
        deposit5:
          material: LIME_STAINED_GLASS_PANE
          slot: 20
          flags: false
          name: '&a&lDeposit $10,000'
          value: 10000.0
        deposit6:
          material: LIME_STAINED_GLASS_PANE
          slot: 21
          flags: false
          name: '&a&lDeposit $50,000'
          value: 50000.0
        deposit7:
          material: LIME_STAINED_GLASS_PANE
          slot: 28
          flags: false
          name: '&a&lDeposit $200,000'
          value: 200000.0
        deposit8:
          material: LIME_STAINED_GLASS_PANE
          slot: 29
          flags: false
          name: '&a&lDeposit $1,000,000'
          value: 1000000.0
        depositcustom:
          material: LIME_STAINED_GLASS_PANE
          slot: 30
          flags: false
          name: '&a&lDeposit Custom Amount'
          value: 0.0
        depositall:
          material: GREEN_STAINED_GLASS_PANE
          slot: 37
          flags: false
          name: '&2&lDeposit All'
          value: 0.0
        withdraw1:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 14
          flags: false
          name: '&6&lWithdraw $10'
          value: -10.0
        withdraw2:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 15
          flags: false
          name: '&6&lWithdraw $100'
          value: -100.0
        withdraw3:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 16
          flags: false
          name: '&6&lWithdraw $1,000'
          value: -1000.0
        withdraw4:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 23
          flags: false
          name: '&6&lWithdraw $5,000'
          value: -5000.0
        withdraw5:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 24
          flags: false
          name: '&6&lWithdraw $10,000'
          value: -10000.0
        withdraw6:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 25
          flags: false
          name: '&6&lWithdraw $50,000'
          value: -50000.0
        withdraw7:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 32
          flags: false
          name: '&6&lWithdraw $200,000'
          value: -200000.0
        withdraw8:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 33
          flags: false
          name: '&6&lWithdraw $1,000,000'
          value: -1000000.0
        withdrawcustom:
          material: YELLOW_STAINED_GLASS_PANE
          slot: 34
          flags: false
          name: '&6&lWithdraw Custom Amount'
          value: 0.0
        withdrawall:
          material: ORANGE_STAINED_GLASS_PANE
          slot: 43
          flags: false
          name: '&6&lWithdraw All'
          value: 0.0
        balance:
          material: Sunflower
          slot: 40
          flags: false
          name: '&2&l${balance}'
        back:
          material: IRON_DOOR
          slot: 49
          flags: false
          name: '&c&lExit'
```
