#####################################################################################
##                                   settings.yml                                  ##
##                              Change basic settings                              ##
## Get help here » https://cubexa.net/docs/caseopening/configurations/settings.yml ##
#####################################################################################
# WE RECOMMEND THAT YOU FIRST READ THROUGH THE DOCUMENTATION OF THIS CONFIG AND THEN EDIT IT.

# If this setting is enabled, the plugin collects data depending on the debug level.
# Get more information here » https://cubexa.net/docs/caseopening/getting-started/debug-service
debug:
  enabled: false
  level: 1
  with-configs: false

commands:
  caseopening:
    enabled: true
    names:
      - caseopening
    fallback-prefix: caseopening
    description: "Verwalte das CaseOpening-Plugin"
    usage: "/caseopening [reload / debug / base64 / help]"
    permission: caseopening.admin
  cases:
    enabled: true
    names:
      - case
    fallback-prefix: caseopening
    description: "Verwalte Kisten oder Kisten-Blöcke"
    usage: "/case <create / delete / add-reward / remove-reward / add-block / remove-block / give-cases / remove-cases / give-mobile>"
    permission: caseopening.admin.cases
  gems:
    enabled: true
    names:
      - gems
    fallback-prefix: caseopening
    description: "Sieh nach, wie viele Juwelen du hast oder verwalte die Juwelen anderer Spieler"
    usage: "/gems [set / add / remove]"
    permission:
      admin: caseopening.admin.gems
      player: caseopening.player.gems
  statistics:
    enabled: true
    names:
      - statistics
    fallback-prefix: caseopening
    description: "Sieh dir die Statistiken anderer Spieler oder des ganzen Servers an"
    usage: "/statistics [SPIELER]"
    permission: caseopening.admin.statistics

gems:
  format-numbers:
    enabled: true
    splitting-char: "."
  name:
    singular: "Juwel"
    plural: "Juwelen"

cases:
  format-numbers:
    enabled: true
    splitting-char: "."
  unit:
    singular: "Kiste"
    plural: "Kisten"

case-opening:
  needed-free-slots: 3

case-preview:
  hide-not-available-rewards: true

case-blocks:
  particle-tick-interval: 10 # In ticks (20 Ticks = 1 Second)
  mobile:
    enabled: true
    item:
      material: CHEST
      glowing: true
      display-name: "&eMobiles CaseOpening"
      lore:
        - "&7» Dies ist ein tragbares &eCaseOpening"
    block:
      material: CHEST
      hologram:
        - "&eKisten öffnen!"
        - "&7Mobiles CaseOpening von {player}"

alternative-case-rewards:
  example_case_id:
    type: CASE
    value: alternative_case_id
    message: "&eCaseOpening &7» Du besitzt diese Berechtigung bereits, daher erhältst du stattdessen ..."

directly-buy-case:
  enabled: false
  with-confirm-menu: true

placeholder-api:
  cache-duration: 10000 # In milliseconds

# DO NOT CHANGE
config-version: _1