# Configuration

## Config

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

```yaml
# EZPrestige version: 1.2.2 Main Configuration
# 
# prestige_rank: <rank players are able to /prestige>
# confirm_to_prestige: <true/false>
# chat_integration: <true/false>
# messages: <-customize your messages
# valid placeholders: 
# %cost% - cost to prestige
# %balance% - players balance
# %prestige% - next prestige number
# %displaytag% - next prestige displaytag
# %prestigerank% - rank player needs to be to use /prestige
# %rank% - players permission group
prestige_rank: Free
confirm_to_prestige: true
chat_integration: true
op_prestige_display_tag: '&8[&c999&8]'
no_prestige_display_tag: '&8[&c0&8]'
gui:
  use_prestiges_gui: true
  display_name: '&cPrestiges'
  size: 18
  completed_prestige:
    material: STAINED_GLASS_PANE
    data: 13
    amount: 1
    display_name: '%displaytag%'
    lore:
    - '&acompleted'
  current_prestige:
    material: STAINED_GLASS_PANE
    data: 5
    amount: 1
    display_name: '%displaytag%'
    lore:
    - '&aYour current prestige'
  next_prestige:
    material: STAINED_GLASS_PANE
    data: 7
    amount: 1
    display_name: '%displaytag%'
    lore:
    - '&7Next prestige'
    - '&a$&f%cost%'
  unavailable_prestige:
    material: STAINED_GLASS_PANE
    data: 14
    amount: 1
    display_name: '%displaytag%'
    lore:
    - '&cPrestige to unlock'
    - '%displaytag%'
messages:
  not_at_prestige_rank:
  - '&cYou need to be &f%prestigerank% &cto prestige!'
  not_enough_money:
  - '&cYou need &a$&f%cost% &cto prestige to &f%displaytag%&c!'
  confirm_prestige:
  - '&bAre you sure you want to prestige?'
  - '&bYour rank will reset and you will need to'
  - '&bstart over. Type &f/prestige &bto confirm!'
  last_prestige:
  - '&bYou are at the last prestige!'
  prestiges_command:
    completed_prestige: '&7%displaytag% &f- &aCompleted'
    current_prestige: '&7%displaytag% &f- &aCurrent prestige!'
    next_prestige: '&7%displaytag% &f- &a$&f%cost%'
    unavailable_prestige: '&7%displaytag% &f- &cPrestige to unlock!'
    header:
    - '&8&m-----------------------------------------------------'
    - '&cPrestige list:'
    footer:
    - '&8&m-----------------------------------------------------'
```

{% endcode %}

## Prestiges

{% code title="prestiges.yml" %}

```yaml
# EZPrestige prestiges file
# 
# YOU MUST INCLUDE A COMMAND TO ADD THE PERMISSION
# ezprestige.prestige.<prestige> TO THE PLAYER IN ORDER FOR
# EZPrestige TO KNOW WHAT PRESTIGE A PLAYER IS
# IN EVERY prestige_commands LIST
# 
# Prestige format:
# 
# prestiges:
#   <prestigeName>:
#     prestige: <number> MUST START AT 1, NO DUPLICATE NUMBERS OR SKIPPING
#     cost: <amount>
#     display_tag: <prefix>
#     prestige_commands:
#     - <commands here>
# 
# Use {prestige} in your chat formatting plugin to show the 
# display_tag if a player has a Prestige!
# 
# valid placeholders for prestige_commands: 
# %cost% - cost to prestige
# %balance% - players balance
# %prestige% - next prestige number
# %displaytag% - next prestige displaytag
# %prestigerank% - rank player needs to be to use /prestige
# %rank% - players permission group
prestiges:
  prestige1:
    prestige: 1
    cost: 100000
    display_tag: '&8[&c1&8]'
    prestige_commands:
    - pex user %player% group remove %rank%
    - pex user %player% group add A
    - pex user %player% add ezprestige.prestige.1
    - ezmsg &bYou are now &f%prestige%&b!
    - ezbroadcast &f%player% &bhas just prestiged to &f%displaytag%&b!
```

{% 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://wiki.helpch.at/clips-plugins/ezprestige/configuration.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.
