> 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/plotbewerten/konfiguration.md).

# Konfiguration

```yaml
##// Plugin Coded by Dyroxplays. \##

prefix: '&7[&6PlotBewerten&7]'
```

* Das `prefix` wird vor allen Plugin-Nachrichten angezeigt.

```yaml
MySQL:
  host: localhost
  port: '3306'
  username: root
  datebase: db12
  password: password239239
```

* **MySQL:** Konfiguration der MySQL-Datenbankverbindung.
  * `host`: Die Adresse des MySQL-Servers.
  * `port`: Der Port des MySQL-Servers.
  * `username`: Der Benutzername für den Zugriff auf die Datenbank.
  * `datebase`: Der Name der zu verwendenden Datenbank.
  * `password`: Das Passwort für den Benutzerzugriff.

```yaml
click2teleport: true
```

* **click2teleport**: Wenn aktiviert (`true`), können Spieler durch Klicken auf Plots in der GUI dorthin teleportieren.

```yaml
loreselected: '&aAusgewählt'
```

* **loreselected**: Text, der angezeigt wird, wenn ein Bewertungsstern ausgewählt ist.

```yaml
topplots:
  invname: '&6PlotBewerten &bTOP5'
  lore:
  - '&7Rang: &a%rank%'
  - '&7Ø Bewertung: &e%average%'
```

* **topplots**: Konfiguration für das Top 5 Plots GUI.
  * `invname`: Der Titel des GUI.
  * `lore`: Informationen, die in der GUI angezeigt werden, wie Rang und durchschnittliche Bewertung.

```yaml
neededplaytime: 14400
```

* **neededplaytime**: Die Mindestanzahl an Spielsekunden, die ein Spieler haben muss, um ein Plot bewerten zu können.

```yaml
messages:
  noperm: '&cDazu hast du keine Rechte'
  rated: '&aDu hast das Plot %plotid% mit %points% Punkten bewertet.'
  notonplot: '&cDu bist auf keinem Plot, was du bewerten kannst!'
  alreayrated: '&cDu hast diesen Plot bereits bewertet!'
  notenoughplaytime: '&cDu hast noch nicht genug Onlinezeit, du benötigst noch %sec% Sekunden!'
  usage: '&cNutze: &E/abewerten <reset> <PlotID> &c=> resetet die Bewertung vom Plot auf 0 oder &e/abewerten <delete> <PlotID> <Spielername> &c=> Entfernt die Bewertung von Spielername'
  reset: '&aPlotId %plotid% wurde resettet, sofern es ein Plot ist und Bewertung hatte!'
  delete: '&aDie Bewertung von %player% für PlotId %plotid% wurde entfernt, sofern eine vorhanden gewesen war!'
```

* **messages**: Anpassbare Nachrichten, die das Plugin an Spieler sendet.
  * `noperm`: Nachricht bei fehlenden Berechtigungen.
  * `rated`: Bestätigung nach erfolgreicher Bewertung.
  * `notonplot`: Warnung, wenn ein Spieler nicht auf einem Plot steht.
  * `alreayrated`: Hinweis, wenn das Plot bereits bewertet wurde.
  * `notenoughplaytime`: Benachrichtigung, wenn der Spieler nicht genügend Onlinezeit hat.
  * `usage`: Anweisungen zur Nutzung der Admin-Befehle.
  * `reset`: Erfolgsmeldung nach dem Zurücksetzen einer Bewertung.
  * `delete`: Erfolgsmeldung nach dem Löschen einer Bewertung.

```yaml
gui:
  name: '&6PlotBewerten'
  lenght: 4
  items:
    info:
      material: PLAYER_HEAD
      slot: 4
      name: '&ePlot Information'
      skullowner: '%plotowner%'
      lore:
      - '&a'
      - '&7PlotOwner: %plotowner%'
      - '&7PlotId: &e%plotid%'
      - '&7Ranking: &e#%rank%'
      - '&7Ø Bewertung: &e%average%'
      - '&7Bewertunganzahl: &e%raitings%'
      - '&b'
      - '&7Deine Bewertung: &e%yourrating%'
      - '&8(0=noch nicht bewertet)'
```

* **gui**: Einstellungen für das Bewertungs-GUI.
  * `name`: Der Titel des GUIs.
  * `length`: Die Anzahl der GUI-Reihen.
  * **items**: Definition der GUI-Items.
    * `info`: Kopfzeile, die Informationen über das Plot anzeigt.
    * `material`: Das Material des Items (z.B. `PLAYER_HEAD`).
    * `slot`: Der Slot, in dem das Item angezeigt wird.
    * `name`: Der Name des Items.
    * `skullowner`: Der Besitzer des Plots.
    * `lore`: Zusätzliche Informationen über das Plot.

```yaml
    alreayrated:
      material: BARRIER
      name: '&cBereits bewetet'
      lore:
      - '&a'
      - '&7Deine Bewertung: &e%yourrating%'
      - '&8(0=noch nicht bewertet)'
```

* **alreayrated**: Item, das anzeigt, dass der Spieler das Plot bereits bewertet hat.

```yaml
    confirm:
      material: ARROW
      name: '&aBewertung abgeben'
      slot: 17
```

* **confirm**: Bestätigungs-Item, das die Bewertung abschließt.

```yaml
    rate_1:
      material: NETHER_STAR
      amount: 1
      name: '&e1 &7/10 Bewertung abgeben'
      slot: 20
      lore:
      - '&a'
      - '&7Klicke hier, um diese Bewertung anzuwählen'
      - '&7anschließend musst du noch bestätigen,'
      - '&7um die Bewertung tatsächlich abzugeben'
```

* **rate\_1** bis **rate\_10**: Items zur Auswahl der Bewertungspunkte (1-10 Sterne).
  * `material`: Das Material des Bewertungs-Items (z.B. `NETHER_STAR`).
  * `amount`: Anzahl der Sterne.
  * `name`: Der Name des Items (z.B. `1/10 Bewertung abgeben`).
  * `slot`: Der Slot im GUI, wo das Item angezeigt wird.
  * `lore`: Beschreibung des Bewertungsprozesses.

```yaml
  placeholder:
    BLACK_STAINED_GLASS_PANE: 0-36
```

* **placeholder**: Platzhalter-Item für leere GUI-Slots, um die GUI-Struktur zu wahren.


---

# 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/plotbewerten/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.
