# Shop Module

```yaml
currency:
  default: MONEY
  symbol-money: "$"
  symbol-shards: "⛁"

format-large-numbers: true

main-inventory:
  Title: 'sʜᴏᴘ'
  Size: 27
  end:
    slot: 11
    material: END_STONE
    # optional: applies CustomModelData to this menu icon
    # custom-model-data: 1001
    name: '&dEnd Shop'
    lore:
      - '&7Click to open end shop'
    open-shop: end-shop
  nether:
    slot: 12
    material: NETHERRACK
    name: '&cNether Shop'
    lore:
      - '&7Click to open nether shop'
    open-shop: nether-shop
  gear:
    slot: 13
    material: TOTEM_OF_UNDYING
    name: '&bGear Shop'
    lore:
      - '&7Click to open gear shop'
    open-shop: gear-shop
  food:
    slot: 14
    material: GOLDEN_APPLE
    name: '&6Food Shop'
    lore:
      - '&7Click to open food shop'
    open-shop: food-shop
  shard:
    slot: 15
    material: AMETHYST_SHARD
    name: '&5Shard Shop'
    lore:
      - '&7Click to open shard shop'
    open-shop: shard-shop

purchase-inventory:
  title: 'ᴘᴜʀᴄʜᴀsᴇ'
  size: 27
  preview-slot: 13
  confirm-slot: 23
  cancel-slot: 21
  amount-lore: '&fAmount: &a%amount%'
  total-lore: '&fTotal: &a%symbol%%total%'
  # if true the purchase window will remain open after the player clicks the confirm button
  # rather than automatically closing. set to false for legacy behaviour.
  keep-open-on-buy: true
  buttons:
    minus-64:
      slot: 10
      material: RED_STAINED_GLASS_PANE
      # optional: applies CustomModelData to this button item
      # custom-model-data: 2001
      name: '&c-64'
      lore: []
    minus-16:
      slot: 11
      material: RED_STAINED_GLASS_PANE
      name: '&c-16'
      lore: []
    minus-1:
      slot: 12
      material: RED_STAINED_GLASS_PANE
      name: '&c-1'
      lore: []
    plus-1:
      slot: 14
      material: LIME_STAINED_GLASS_PANE
      name: '&a+1'
      lore: []
    plus-16:
      slot: 15
      material: LIME_STAINED_GLASS_PANE
      name: '&a+16'
      lore: []
    plus-64:
      slot: 16
      material: LIME_STAINED_GLASS_PANE
      name: '&a+64'
      lore: []

messages:
  bought: '&aYou bought %amount% %item-name%'
  insufficient: '&cYou don''t have enough money.'
  no-space: '&cYou do not have enough space in your inventory.'
  no-permission: '&cNo permission.'
```


---

# 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://nightbeam.gitbook.io/donut-core-enterprise/modules/examples/shop-module.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.
