# IMC Key Vaults

### Info

* **Version:** 1.12.2
* **How it works:** Players can receive a big amount of keys which will fill their inventory pretty quick, with a Key Vault (a physical item in their inventory) they can store a certain number of keys that can be later redeemed or withdrawn.

### Images

{% embed url="<https://youtu.be/Hy_IllTNyu4>" %}

### Files

{% code title="config.yml" lineNumbers="true" %}

```yaml
# Example config
vaults:
  tier1:
    item:
      #
      # All customization options
      # - material: the material of the item
      # - name: the name of the item
      # - lore: the lore of the item
      # - damage: the 'damage' of the item, used to display different types (e.g. colored wool)
      # - glow: whether the item should have a glow effect (true or false)
      # - unbreakable: whether the item should be unbreakable (usually used on older versions
      #                of the game for custom textures)
      # - customModel: (1.14.4+) custom model data
      #
      material: PISTON_BASE
      name: '&cTier 1 KeyVault'
      lore:
        - '&eCommon: &f<stored.common>/200'
        - '&cRare: &f<stored.rare>/200'
    keys:
      # The name of the keys must be lowercase
      common:
        limit: 200
        # The position in the GUIs
        slot: 10
      rare:
        limit: 20
        slot: 11

menus:
  useMenuForBulkOpen: false
  withdraw:
    # 1 - 6 rows
    rows: 3
    title: "Withdraw keys from your vault"
    items:
      border:
        # Same customization options as for the vault
        slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 23, 24, 25, 26]
        material: STAINED_GLASS_PANE
        data: 7
        name: ' '
      info:
        slot: 22
        material: BOOK
        name: '&9[!] Info'
        lore:
          - ' '
          - '&aLeft click to withdraw 1'
          - '&aShift + Left click to withdraw 10'
          - '&aRight click to withdraw 100'
          - '&2Shift + Right click to withdraw all'
  bulk_open:
    rows: 3
    title: "Bulk open keys"
    items:
      border:
        slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 23, 24, 25, 26]
        material: STAINED_GLASS_PANE
        data: 7
        name: ' '
      info:
        slot: 22
        material: BOOK
        name: '&9[!] Info'
        lore:
          - ' '
          - '&aLeft click to open 1'
          - '&aShift + Left click to open 10'
          - '&aRight click to open 100'
          - '&2Shift + Right click to open all'
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://portfolio.gabytm.me/plugins/commissions/imc-key-vaults.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
