> For the complete documentation index, see [llms.txt](https://wiki.dyroxplays.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dyroxplays.de/adminshop/konfiguration.md).

# Konfiguration

### Allgemeine Einstellungen

* **prefix**: Der Präfix, der vor Nachrichten angezeigt wird.
* **invname**: Der Name des Inventars (GUI), das für den Shop verwendet wird.

```yaml
prefix: '&7[&cAdminShop&7]'
invname: '&cAdminShop'
```

### Nachrichten

Hier kannst du die verschiedenen Nachrichten anpassen, die Spielern im Spiel angezeigt werden:

* **noperm**: Nachricht bei fehlenden Berechtigungen.
* **success**: Erfolgreiche Aktionen.
  * **bought**: Nachricht bei erfolgreichem Kauf.
  * **sold**: Nachricht bei erfolgreichem Verkauf.
* **error**: Nachricht bei fehlendem Geld.
* **notsellable**: Nachricht, wenn ein Item nicht verkäuflich ist.
* **notbuyable**: Nachricht, wenn ein Item nicht käuflich ist.
* **itemnotininv**: Nachricht, wenn das Item nicht im Inventar ist.
* **invfull**: Nachricht, wenn das Inventar voll ist.

```yaml
messages:
  noperm: '&cDazu hast du keine Rechte.'
  success:
    bought: '&aDu hast dir was für %money% gekauft!'
    sold: '&aDu hast was für %money% verkauft!'
  error: '&cDu brauchst mindestens %money%!'
  notsellable: '&cDu kannst das Item nicht verkaufen!'
  notbuyable: '&cDu kannst das Item nicht kaufen!'
  itemnotininv: '&cDu hast Item nicht vorrätig in deinem Inventar!'
  invfull: '&cDein Inventar ist voll!'
```

### Allgemeiner Verkauf aller Items

Ein spezieller Slot für den Verkauf aller Items im Inventar:

* **material**: Das Material, das im Slot angezeigt wird.
* **shortid**: Die Kurz-ID des Materials.
* **slot**: Der Slot, in dem das Item angezeigt wird.
* **name**: Der Name des Slots.
* **lore**: Die Beschreibung des Slots.

```yaml
sellallitems:
  material: COAL_ORE
  shortid: 0
  slot: 8
  name: '&7Alle Items verkaufen'
  lore:
  - '&aVerkaufe alle möglichen Item'
  - '&aaus deinem Inventar'
  - '&8Zum entfernen slots auf -1 setzen!'
```

### Placeholder-Item

Placeholder-Item, das für leere Slots in der GUI verwendet wird:

* **material**: Das Material des Platzhalters.
* **shortid**: Die Kurz-ID des Materials.

```yaml
placeholder:
  material: GRAY_STAINED_GLASS_PANE
  shortid: 0
```

### Kategorien

Definiere die verschiedenen Kategorien im Shop:

* **material**: Das Material, das für die Kategorie verwendet wird.
* **shortid**: Die Kurz-ID des Materials.
* **slot**: Der Slot, in dem die Kategorie angezeigt wird.
* **name**: Der Name der Kategorie.
* **lore**: Die Beschreibung der Kategorie.

```yaml
categories:
  erze:
    material: COAL_ORE
    shortid: 0
    slot: 3
    name: '&7Erze'
    lore:
    - '&aHier findest du die ganzen Erze!'
  werkzeug:
    material: STONE_PICKAXE
    shortid: 0
    slot: 5
    name: '&7Erze'
    lore:
    - '&7Rüste dich aus!'
  essen:
    material: BREAD
    shortid: 0
    slot: 13
    name: '&7Erze'
    lore:
    - '&5Essen ist wichtig!'
```

### GUI

Definiere die einzelnen Items in den Kategorien:

* **material**: Das Material des Items.
* **shortid**: Die Kurz-ID des Materials.
* **amount**: Die Menge des Items.
* **buyprice**: Der Kaufpreis des Items.
* **sellprice**: Der Verkaufspreis des Items.
* **name**: Der Name des Items (optional).
* **lore**: Die Beschreibung des Items (optional).

```yaml
gui:
  erze:
    '30':
      material: COAL_ORE
      shortid: 0
      amount: 5
      buyprice: 100
      sellprice: 100
    '31':
      material: DIAMOND_ORE
      shortid: 0
      amount: 5
      buyprice: 100
      sellprice: 100
      name: '&cDu kannst auch einen Namen vergeben :)'
      lore:
      - '&aUnd auch'
      - '&aeine Beschreibung'
  werkzeug:
    '30':
      material: STONE_SWORD
      shortid: 0
      amount: 1
      buyprice: 100
      sellprice: 100
    '31':
      material: STONE_PICKAXE
      shortid: 0
      amount: 1
      name: '&cDu kannst auch einen Namen vergeben :)'
      lore:
      - '&aUnd auch'
      - '&aeine Beschreibung'
  essen:
    '30':
      material: COOKED_CHICKEN
      shortid: 0
      amount: 5
      buyprice: 100
      sellprice: 100
    '31':
      material: BREAD
      shortid: 0
      amount: 5
      buyprice: 100
      sellprice: 100
      name: '&cDu kannst auch einen Namen vergeben :)'
      lore:
      - '&aUnd auch'
      - '&aeine Beschreibung'
      - '%HIDE%&aDiese Beschreibung wird beim'
      - '%HIDE%&aKaufen entfernt :)'
```

Diese Konfigurationsdatei bietet eine umfassende Möglichkeit, den AdminShop auf deinem Server individuell zu gestalten. Achte darauf, die Werte entsprechend deinen Bedürfnissen anzupassen.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://wiki.dyroxplays.de/adminshop/konfiguration.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.
