layer-plusGui Config File

# CoinFlip GUI Configuration
# Fully customizable GUI menus
# Author: CoderYuvraj

# Main Coinflip Browser GUI
coinflip-browser:
  size: 54
  menu_title: '&7ᴀᴠᴀɪʟᴀʙʟᴇ ᴄᴏɪɴғʟɪᴘs'
  update_interval: 20  # Update GUI every 20 ticks (1 second)
  
  # Border items (first row)
  border:
    material: GRAY_STAINED_GLASS_PANE
    display_name: ' '
    slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
  
  # Static items in the bottom row
  items:
    previous_page:
      material: ARROW
      slot: 45
      custom_model_data: 0  # Optional: Set to 0 or remove to disable
      display_name: '&x&0&0&F&F&6&Eʙᴀᴄᴋ'
      lore:
        - '&fClick to go to the previous page'
      # Only shown when page > 0
      
    command_info_left:
      material: SUNFLOWER
      slot: 48
      custom_model_data: 0  # Optional: Add custom model data for resource pack
      display_name: '&x&F&F&E&3&0&0/ᴄғ <ᴀᴍᴏᴜɴᴛ> <ʜᴇᴀᴅs/ᴛᴀɪʟs>'
      lore:
        - '&7to host your own coinflip game!'
    
    player_stats:
      material: HOPPER_MINECART
      slot: 49
      custom_model_data: 0  # Optional: Add custom model data for resource pack
      display_name: '&x&0&0&F&F&6&Eᴄᴏɪɴғʟɪᴘ sᴛᴀᴛɪsᴛɪᴄ'
      lore:
        - ''
        - '&eɢᴀᴍᴇs ᴡᴏɴ: &f%games_won%'
        - '&eɢᴀᴍᴇs ʟᴏsᴛ: &f%games_lost%'
        - '&eᴀᴍᴏᴜɴᴛ ᴇᴀʀɴᴇᴅ: &f$%amount_earned%'
        - '&eᴀᴍᴏᴜɴᴛ ʟᴏsᴛ: &f$%amount_lost%'
        - ''
        - '&7ᴡɪɴ ʀᴀᴛᴇ: &a%win_rate%%'
      
    command_info_right:
      material: SUNFLOWER
      slot: 50
      custom_model_data: 0  # Optional: Add custom model data for resource pack
      display_name: '&x&F&F&E&3&0&0/ᴄғ <ᴀᴍᴏᴜɴᴛ> <ʜᴇᴀᴅs/ᴛᴀɪʟs>'
      lore:
        - '&7to host your own coinflip game!'
    
    next_page:
      material: ARROW
      slot: 53
      custom_model_data: 0  # Optional: Set to 0 or remove to disable
      display_name: '&x&0&0&F&F&6&Eɴᴇxᴛ'
      lore:
        - '&fClick to go to the next page'
      # Only shown when more pages available
  
  # Game item template (displayed in slots 9-44)
  game_item:
    material: PLAYER_HEAD
    skull_owner: '%creator_name%'  # Will be replaced with creator's name
    display_name: '&x&0&0&F&F&6&E%creator_name_styled%''s ᴄᴏɪɴғʟɪᴘ'
    lore:
      - ''
      - '&eᴀᴍᴏᴜɴᴛ: &f$%amount%'
      - '&eᴄᴏɪɴsɪᴅᴇ: &f%coin_side%'
      - '&eᴄʀᴇᴀᴛᴇᴅ: &f%time_ago%'
      - ''
      - '&x&0&0&F&F&6&Eᴄʟɪᴄᴋ ᴛᴏ ᴀᴄᴄᴇᴘᴛ ᴄᴏɪɴғʟɪᴘ'
    # Lore line 5 only shown if not viewer's game

# Match/Flip Animation GUI
coinflip-match:
  size: 27
  menu_title: '&7ғʟɪᴘᴘɪɴɢ ᴄᴏɪɴ'
  
  # Glass pane that changes color based on flip
  flip_indicator:
    heads:
      material: YELLOW_STAINED_GLASS_PANE
      display_name: ' '
      color_code: '&e'
      text: 'ʜᴇᴀᴅs'
    tails:
      material: GRAY_STAINED_GLASS_PANE
      display_name: ' '
      color_code: '&7'
      text: 'ᴛᴀɪʟs'
    
    # Fill all slots except center
    slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
  
  # Center item (slot 13) - player head
  center_item:
    material: PLAYER_HEAD
    slot: 13
    skull_owner: '%creator_name%'
    display_name: '&x&0&0&F&F&6&E%creator_name_styled%'
    lore:
      - ''
      - '&7ᴄᴏɪɴ ɪs ғʟɪᴘᴘɪɴɢ...'
      - ''
      - '&eᴀᴍᴏᴜɴᴛ: &f$%amount%'
      - '&eʏᴏᴜʀ sɪᴅᴇ: &f%your_side%'

# Messages for GUI interactions
gui_messages:
  browser_opened: '&7Opening coinflip browser...'
  match_started: '&6⚡ ᴍᴀᴛᴄʜ sᴛᴀʀᴛᴇᴅ! &7Flipping coin against &e%opponent%'
  watching_flip: '&7Watch the coin flip animation in the GUI!'
  flip_update: '&6⚡ %coin_side%'
  last_flip: '&6Last flip!'
  final_result: '&6⚡ ғɪɴᴀʟ ʀᴇsᴜʟᴛ: %coin_side%'
  game_result: '&6⚡ ɢᴀᴍᴇ ʀᴇsᴜʟᴛ: &7The coin landed on %coin_side%! &6%winner% &7wins!'
  
# Sound effects (optional)
sounds:
  menu_open: BLOCK_CHEST_OPEN
  menu_close: BLOCK_CHEST_CLOSE
  page_turn: UI_BUTTON_CLICK
  game_join: ENTITY_PLAYER_LEVELUP
  coin_flip: BLOCK_NOTE_BLOCK_HAT
  game_win: ENTITY_PLAYER_LEVELUP
  game_lose: ENTITY_VILLAGER_NO

Last updated