# Flipping Animation GUI Configuration
#
# =====================================================
# MINECRAFT VERSION COMPATIBILITY NOTES
# =====================================================
#
# This config supports both modern Minecraft (1.13+) and legacy (1.8.8-1.12.2)
#
# NOTE: All translatable text (title, winner/loser display names, arrow labels)
# is stored in langs/messages_<lang>.yml under the "gui.flipping" section.
# This file holds layout only (animation modes, slots, materials, timings).
#
# =====================================================

# CoinFlip Animation GUI - Appears when two players are flipping coins
coinflip-gui:
  size: 27
  
  layout:
    border-item:
      # Animation mode for border items
      # Options: rainbow, basic, pulse, wave, gradient, fade, random, sequence
      animation-mode: rainbow
      material: BLACK_STAINED_GLASS_PANE
      name: ' '
      glowing: false
      custom-model-data: 0
      positions:
      - 0-3
      - 5-9
      - 17-26
      animation-speed: 3 # Ticks between color changes (lower = faster)
      animation-settings:
        color-palette: []
        wave:
          direction: left-to-right
          speed: 2
        pulse:
          min-brightness: 0.3
          max-brightness: 1.0
          cycle-duration: 20
        gradient:
          direction: left-to-right
          smoothness: 5
        fade:
          fade-in-duration: 10
          fade-out-duration: 10
          hold-duration: 20
        random:
          change-frequency: 5
        sequence:
          direction: left-to-right
          delay-between-items: 2
    player-slots:
      default:
        arrow-enabled: true
        arrow-slot: 4
        arrow-texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzI0MzE5MTFmNDE3OGI0ZDJiNDEzYWE3ZjVjNzhhZTQ0NDdmZTkyNDY5NDNjMzFkZjMxMTYzYzBlMDQzZTBkNiJ9fX0=
      slot-machine:
        player-slot: 13
      circular:
        player-slots:
        - 3
        - 4
        - 5
        - 11
        - 15
        - 20
        - 24
        - 33
        - 39
        - 40
        - 41
        - 29
        # Note: arrow-slots[].name lives in this file because list elements cannot be
        # addressed from the language file. Edit it here for circular-animation labels.
        arrow-slots:
        - slot: 19
          use-head: true
          material: BLACK_STAINED_GLASS_PANE
          texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjgyYWQxYjljYjRkZDIxMjU5YzBkNzVhYTMxNWZmMzg5YzNjZWY3NTJiZTM5NDkzMzgxNjRiYWM4NGE5NmUifX19
          name: '&7&l>> WINNER <<'
        - slot: 21
          use-head: true
          material: BLACK_STAINED_GLASS_PANE
          texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzdhZWU5YTc1YmYwZGY3ODk3MTgzMDE1Y2NhMGIyYTdkNzU1YzYzMzg4ZmYwMTc1MmQ1ZjQ0MTlmYzY0NSJ9fX0=
          name: '&7&l<< WINNER >>'
      vertical:
        player-slots:
        - 4
        - 13
        - 22
        - 31
        - 40
        arrow-slot: 21
        arrow-texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjgyYWQxYjljYjRkZDIxMjU5YzBkNzVhYTMxNWZmMzg5YzNjZWY3NTJiZTM5NDkzMzgxNjRiYWM4NGE5NmUifX19
  
  rolling:
    animation-type: default # Options: default, slot-machine, circular, vertical
    timing:
      duration: 80 # Total animation duration in ticks (20 ticks = 1 second)
      frame-speed: 2
      slot-amount: 7
      first-slot: 10
      result-slot: 13
      slot-machine:
        center-slot: 13
        change-speed: 1
      circular:
        center-slot: 22
        radius: 3
        rotation-speed: 2
        clockwise: true
      vertical:
        start-row: 0
        column: 4
        rows-to-animate: 54
    animation-settings:
      slot-machine:
        glow-on-change: true
        change-sound: true
      circular:
        show-center: true
        outer-glow: false
        rotation-smoothness: 5
      vertical:
        direction: top-to-bottom
    players:
      player1:
        use-head: true
        material: RED_WOOL
        display-name: '&e&l{PLAYER}' # {PLAYER} - player name
        glowing: false
        custom-model-data: 0
      player2:
        use-head: true
        material: BLUE_WOOL
        display-name: '&e&l{PLAYER}'
        glowing: false
        custom-model-data: 0
      bot:
        name: YourServer # Bot name displayed in animation
        use-head: true
        material: GOLD_INGOT
        texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjQ4ZDU1YjMzZWQ2ZmViNjE0ZTJjYTVkNGY1MGJiMzdmMTYxYWRhMzU4MmZjZmM2ZTQwMjg4YzZmYjA2ZjFmIn19fQ==
        display-name: '&e&l{BOT}' # {BOT} - bot name
        glowing: false
        custom-model-data: 0
  
  results:
    winner:
      item-type: PLAYER_HEAD
      glowing: false
      custom-model-data: 0
      skin:
        source: player # Options: player, custom, default
        texture: ''
      display:
        description: []
    loser:
      item-type: PLAYER_HEAD
      glowing: false
      custom-model-data: 0
      skin:
        source: player
        texture: ''
      display:
        description: []

# DO NOT MODIFY config-version - It is used to track configuration updates
config-version: 7
