# 🛠️Configuration files

The plugin generates the following configuration files, some of which will only be generated after you first use this feature.

* `ui`: Save your card flop configurations.
* `item`: Save your custom items.
* `language`: Save language files.
* `pack`: Save the resource pack that automatically generated by the plugin.
* `texture`: Save your card textures.
* `generated-item-format.yml` file: When using the `/fc generateeitemformat` command, we will parse the item you are holding into an **ItemFormat** and store the parsed **ItemFormat** content in this file.
* `XX_xx.json` file: Localized files automatically generated through [Localized Item Name](/features/localized-item-name.md) feature. The name of this file is determined based on the localized language you have set for this feature, but it usually ends in `. json`.

If you just want use the default card texture, you don't need care about the pack and texture folder.

## Config.yml file content

```yaml
# FlipCard by @rtz1020 & @PQguanfang
#
# READ THE WIKI: flipcard.superiormc.cn
#

config-files:
  language: english
  # Premium version only.
  minecraft-locate-file:
    # After enable, we will autoload Minecraft locate file when we need know an item's locate name.
    # It will make server little lag when loading this file because this file is very large.
    enabled: true
    generate-new-one: false
    file: 'zh_cn.json'

# Paper only feature.
paper-api:
  save-item: true
  skull: true

math:
  enabled: true

# Item Price
item-price:
  # Support Value: Bukkit, ItemFormat.
  check-method: Bukkit
  item-format:
    ignore-key:
      - 'lore'
      - 'damage'
      - 'tool.damage-per-block'

reward:
  # Support Value: INSTANT, WAIT
  # If set to WAIT, we will give player rewards after this flip UI is closed. (give all flipped cad reward in once)
  # If set to INSTANT, we will give player rewards after he flip the card and claimed the reward.
  give-method: WAIT

# Support Value: UUID, Name.
data-save-mode: UUID

auto-copy-resourcepack:
  enabled: true
  # If you are using Oraxen, please change this to Oraxen.
  # Other plugins is OK, you just need put correct path in path option.
  plugin: "ItemsAdder"
  # If you are using Oraxen, please change this to "/pack/assets".
  path: "/contents/flipcard/resourcepack/"

mysql:
  enabled: false
  host: localhost
  port: 3306
  user: root
  pass: root
  database: data

flip-gui:
  display-time: 10
  card:
    x_scale: 4.0
    y_scale: 3.8
    translation: -80
  edge:
    x_scale: 3.5
    y_scale: 3.5
    translation: -70

animations:
  chest:
    chest_1:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
    chest_2:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
    chest_3:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
    chest_4:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
    chest_5:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
    chest_6:
      rotation: 0.0
      y_translation: 0.0
      z_translation: 28.0
      x_scale: 1.9
      y_scale: 1.9
    chest_7:
      rotation: 0.0
      y_translation: -18.0
      z_translation: -28.0
      x_scale: 1.9
      y_scale: 1.9
```


---

# 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://flipcard.superiormc.cn/info/configuration-files.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.
