FlipCard Wiki
  • 🎉Welcome
  • 📦Info
    • ✅Requirements
    • ⚙️Install
    • 🔗Compatibility
    • 🛠️Configuration files
    • ⌨️Commands
    • 📋Format
  • 🖥️Flip UI
    • 📝UI Config
      • Rewards Option
      • Prices Option
    • 🖼️Textures
  • ✨Features
    • 🎨Color Code
    • 🎥Custom Animation
    • 🌍Localized Item Name
    • 💾Saved Item
    • 🔄Auto Copy Resource Pack
    • 🔍Custom Item Match Method
Powered by GitBook
On this page
  1. 📦Info

🛠️Configuration files

Previous🔗CompatibilityNext⌨️Commands

Last updated 3 months ago

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 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

# 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
Localized Item Name