################################################################################
#
#  ____________________   _____  ________S__________   ____ ___
#\__    ___\______   \ /     \ \_   _____/\      \ |    |   \
#  |    |   |       _//  \ /  \ |    __)_ /   |   \|    |   /
#  |    |   |    |   /    Y    \|        /    |    |    |  /
#  |____|   |____|_  \____|__  /_______  \____|__  |______/
#                  \/        \/        \/        \/
#
# Example menu of TrMenu
#
# - TrMenu Docs：https://trmenu.trixey.cn
# - PlaceholderAPI: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
# - Custom Heads: https://minecraft-heads.com/custom-heads
#
################################################################################
# The inventory's title
Title:
  - 'Hello TrMenu'
  - 'This are animated titles,'
  - 'You can also use variables!'
  - 'Thx for using, %player_name%!'

# The update time of inventory's title (in ticks), Default: -1
Title-Update: 40

# Defines the layout of this menu
# *(Each character represents a button)
Layout:
  - '########C'
  - ' QTRMENU '
  - '   SAP   '
  - '         '
  - '#########'

# (Optional)
Open-Requirement: 'player.hasPermission("trmenu.use") || "$openBy" == "CONSOLE"'

# (Optional)
Open-Deny-Actions:
  - 'tell: &7You need permission &ctrmenu.use &7to open this menu.'

# (Optional)
Close-Requirement: null

# (Optional)
Close-Deny-Actions: []

# Defines the commands used to open this menu
Open-Commands:
  - 'example'
  - 'menu'

# (Optional) These run when a player successfully opened the menu
Open-Actions:
  - 'sound: BLOCK_CHEST_OPEN-1-2'
# (Optional)
Close-Actions:
  - 'sound: BLOCK_CHEST_CLOSE-1-2'

# Menu Options (All are optional)
Options:
  # Automatically download PlaceholderAPI's expansions
  Depend-Expansions:
    - 'server'
    - 'player'
    - 'progress'
    - 'math'
  # (Default: true)
  Lock-Player-Inv: true
  # Use the arguments of an open command as variables (Var: {N*}) (Default: false)
  Transfer-Args: false
  # Each time when an icon updates, plugin refreshes the player's inventory
  # [!] Do not recommend. You should only enabled this when you require fast animations in lower Minecraft version
  Update-Inventory: false
  # Force the arguments it needs (Default: 0)
  Force-Transfer-Args: 0
  # Bind this menu with items have specific lore
  Bind-Item-Lore:
    - 'OPEN_MENU'

# Buttons of this menu
# You can re-define ones' slots
Buttons:
  # Character from 'shape'
  '#':
    # (Optional) The period for lore, materials and names to update (in ticks)
    update: 25
    # (Required) Default display part
    display:
      # Materials, or specify item
      mats: GRAY_STAINED_GLASS_PANE
      name:
        - '&3Tr&bMenu'
        - '&3TrMenu'
      lore:
        - - '&7Tr&fMenu &7by &bArasple'
          - '&7Advanced & Dynamic menus for Minecraft'
        - - '&7Tr&fMenu &7by &2Arasple'
          - '&7Thanks for using :>'
    # Click Actions
    actions:
      # ClickType - [Actions]
      all: ['sound: BLOCK_NOTE_BLOCK_PLING-1-2']
  'C':
    update: 3
    display:
      # Materials can be matched similarity, ignore case
      mats: [
        rd stained glss pane,red staxxed glass pane,red sined glass pane,red stained glass pane,red stained glass pane,
        red stained glass pne,red stained glass pane,red stined glass pane,red stained glass pane,red stained glass pane,
        oran stained glass pne
      ]
      name: ['&7Close','&cC&7lose','&7C&cl&7ose','&7Cl&co&7se','&7Clo&cs&7e','&7Clos&ce','&7Close']
    actions:
      all: ['close']
  'S':
    update: 6
    display:
      mats:
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGE0NTRjNWI0YWFhMzgyYWE1YjdkZDU5NjdiMzliMTNjOTdkNTJlYmFkN2FmMTYyYWY1ZjE0NmMyOTEwMDk4ZSJ9fX0==>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmI5OTc5MzBkZjAwYTNkMGQ3ZDI1M2JiMDc4YWRjZmM4MjcxYmQwNzIxM2VmMTJjNjkwZDcxNmM0ZDBjODcwMiJ9fX0==>'
      name:
        - '&3&lSERVER'
        - '&3&lSERVER'
        - '&3&lSERVER'
        - '&b&lSE&3&lRVER'
        - '&3&lS&b&lER&3&lVER'
        - '&3&lSE&b&lRV&3&lER'
        - '&3&lSER&b&lVE&3&lR'
        - '&3&lSERV&b&lER'
      lore:
        - ''
        - '&8▪ &7RAM: &a%server_ram_used%&7/&2%server_ram_total% MB &8(%math_({server_ram_used}/{server_ram_total})*100[precision:2]%%&8)'
        - '&8[ %progress_bar_{server_ram_used}_m:{server_ram_total}_c:&3■_p:&7■_r:&8■_l:15% &8]'
        - ''
        - '&8▪ &7ONLINE: &e%server_online% &6Player(s)'
        - '&8▪ &7UNIQUE JOINS: &a%server_unique_joins%'
        - '&8▪ &7UPTIME: &3%server_uptime%'
        - '&8▪ &7TPS: &a%server_tps%'
        - ''
        - '&7Designed by Arasple, Using TrMenu & PlaceholderAPI'
    actions:
      all: ['sound: BLOCK_NOTE_BLOCK_PLING-1-2']

  'A':
    update: 20
    display:
      mats: '<head:%player_name%>'
      name:
        - '&6&lWelcome, &e&l%player_name%'
      lore:
        - - ''
          - '&7Some of your information'
          - ''
          - '&8▪ &7ID: &a%player_name%'
          - '&8▪ &7LEVEL: &3Lv.&b%player_level%'
          - '&8▪ &7FOOD: &6%player_food_level%'
          - ''
          - '&8▪ &7LOCATION: &2%player_world%, &b%player_x%/%player_y%/%player_z%'
          - ''
          - '&6&lHow about Left Click :>'
        - - ''
          - '&7Some of your information'
          - ''
          - '&8▪ &7ID: &a%player_name%'
          - '&8▪ &7LEVEL: &3Lv.&b%player_level%'
          - '&8▪ &7FOOD: &6%player_food_level%'
          - ''
          - '&8▪ &7LOCATION: &2%player_world%, &b%player_x%/%player_y%/%player_z%'
          - ''
          - '&f&lHow about Left Click :>'
      amount: '%server_online%'
    actions:
      all: ['sound: BLOCK_NOTE_BLOCK_PLING-1-2']
      left:
        - 'close'
        - 'title: <title=&a&lHello, &b&l%player_name%><subtitle=&7&lReady to fly...>'
        - 'wait: 25'
        - 'title: <subtitle=&6&l5s>'
        - 'wait: 20'
        - 'title: <subtitle=&3&l4s>'
        - 'wait: 20'
        - 'title: <subtitle=&b&l3s>'
        - 'wait: 20'
        - 'title: <subtitle=&2&l2s>'
        - 'wait: 20'
        - 'title: <subtitle=&a&l1s>'
        - 'wait: 20'
        - 'title: <subtitle=&6&lWoooooooo!>'
        - 'js: player.setVelocity(player.getVelocity().setY(15))'
        - 'js: player.setNoDamageTicks(20*10)'
    icons:
      - condition: '"%player_name%" == "Arasple"'
        display:
          name: '&2&lWelcome, &a&lAuthor!'
          lore:
            - ''
            - '&7Hello Arasple'
            - ''
  'P':
    update: 20
    display:
      mats: 'compass'
      amount: '%server_time_s%+1'
      name:
        - '&3&lTrMenu &f&lAdvanced Menu'
        - '&3&lTrMenu &f&lPowerful Dynamic Menu'
        - '&3&lTrMenu &f&lEasy edit, fast create'
      lore:
        - - ''
          - '&3Tr&bMenu &7is an advanced & dynamic menu plugin'
          - '&7for Minecraft servers.'
          - ''
          - '&2It is very powerful and easy to use.'
        - - ''
          - '&3Tr&bMenu &7is an advanced & dynamic menu plugin'
          - '&7for Minecraft servers.'
          - ''
          - '&2Animated lores, amount, names and even materials!'
        - - ''
          - '&3Tr&bMenu &7is an advanced & dynamic menu plugin'
          - '&7for Minecraft servers.'
          - ''
          - '&2You can created so unlimited menus with clickable-icons'
    actions:
      left:
        - 'tell: &7This message can only be received by OP<Require:player.isOp()>'
        - 'tell: &7Wow, this is a 80% percent message.<Chance:0.8>'
        - 'js: player.sendTitle("You are a op", "and received this after 5s")<Require:player.isOp()><Wait:100>'
      right:
        - 'tell: &aA message for all players<players>'
      all: ['sound: BLOCK_NOTE_BLOCK_PLING-1-2']

  'Q':
    update: 20
    display:
      name: '&eBee~'
      mats:
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTE2MmRkMGI5ZjY1YjU4YTFlNzBmODFkOGUwM2U4ZmY2YzUzZTRlOTg1YmRiZTAxODY1NThkOGE2OWE4MTE4OSJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTlhYzE2ZjI5NmI0NjFkMDVlYTA3ODVkNDc3MDMzZTUyNzM1OGI0ZjMwYzI2NmFhMDJmMDIwMTU3ZmZjYTczNiJ9fX0==>'
      slots:
        - - 10
        - - 19
        - - 28
        - - 29
        - - 30
        - - 31
        - - 32
        - - 33
        - - 34
        - - 25
        - - 16

  'T':
    update: 8
    display:
      name: '&3Tr&bMenu'
      mats:
        - 'cyan stained glass pane'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmJhOTE1ZTMxOTRiMTc0NTZkZWIyYWM3YzhmOGM2MmRjYTIzZTUxYTQ1NjIzNzRiNTIyODAzNWVmYzFjOGFjIn19fQ==>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmJhOTE1ZTMxOTRiMTc0NTZkZWIyYWM3YzhmOGM2MmRjYTIzZTUxYTQ1NjIzNzRiNTIyODAzNWVmYzFjOGFjIn19fQ==>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmJhOTE1ZTMxOTRiMTc0NTZkZWIyYWM3YzhmOGM2MmRjYTIzZTUxYTQ1NjIzNzRiNTIyODAzNWVmYzFjOGFjIn19fQ==>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmJhOTE1ZTMxOTRiMTc0NTZkZWIyYWM3YzhmOGM2MmRjYTIzZTUxYTQ1NjIzNzRiNTIyODAzNWVmYzFjOGFjIn19fQ==>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmJhOTE1ZTMxOTRiMTc0NTZkZWIyYWM3YzhmOGM2MmRjYTIzZTUxYTQ1NjIzNzRiNTIyODAzNWVmYzFjOGFjIn19fQ==>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmJhOTE1ZTMxOTRiMTc0NTZkZWIyYWM3YzhmOGM2MmRjYTIzZTUxYTQ1NjIzNzRiNTIyODAzNWVmYzFjOGFjIn19fQ==>'
  'R':
    update: 8
    display:
      name: '&3Tr&bMenu'
      mats:
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzkzZWQ4MDdkYmYxNDdjNWVmOWI4ZWM0NmQzZmE2ZTJkN2IyZGJkMzQzMWEyMzQxN2MxMzU0YmI4NjNjNCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzkzZWQ4MDdkYmYxNDdjNWVmOWI4ZWM0NmQzZmE2ZTJkN2IyZGJkMzQzMWEyMzQxN2MxMzU0YmI4NjNjNCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzkzZWQ4MDdkYmYxNDdjNWVmOWI4ZWM0NmQzZmE2ZTJkN2IyZGJkMzQzMWEyMzQxN2MxMzU0YmI4NjNjNCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzkzZWQ4MDdkYmYxNDdjNWVmOWI4ZWM0NmQzZmE2ZTJkN2IyZGJkMzQzMWEyMzQxN2MxMzU0YmI4NjNjNCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzkzZWQ4MDdkYmYxNDdjNWVmOWI4ZWM0NmQzZmE2ZTJkN2IyZGJkMzQzMWEyMzQxN2MxMzU0YmI4NjNjNCJ9fX0=>'
  'M':
    update: 8
    display:
      name: '&3Tr&bMenu'
      mats:
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2VmODljMjFiN2JjY2VlMzYyMjc0MTYwYmQzNGE0NWNlMmFiMzQ3YjZkZjliMjY4OTY2MGYwZTk0YWRlZGQ1MCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2VmODljMjFiN2JjY2VlMzYyMjc0MTYwYmQzNGE0NWNlMmFiMzQ3YjZkZjliMjY4OTY2MGYwZTk0YWRlZGQ1MCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2VmODljMjFiN2JjY2VlMzYyMjc0MTYwYmQzNGE0NWNlMmFiMzQ3YjZkZjliMjY4OTY2MGYwZTk0YWRlZGQ1MCJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2VmODljMjFiN2JjY2VlMzYyMjc0MTYwYmQzNGE0NWNlMmFiMzQ3YjZkZjliMjY4OTY2MGYwZTk0YWRlZGQ1MCJ9fX0=>'
  'E':
    update: 8
    display:
      name: '&3Tr&bMenu'
      mats:
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmZiYzQxYWI2ZWU0Zjk3YzY1OWQ0ZjZlNDdjNDk0ZTk2MTI1NWEwNmE0OTZiZDVjNjYzOGIzMzlkYzAifX19>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmZiYzQxYWI2ZWU0Zjk3YzY1OWQ0ZjZlNDdjNDk0ZTk2MTI1NWEwNmE0OTZiZDVjNjYzOGIzMzlkYzAifX19>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmZiYzQxYWI2ZWU0Zjk3YzY1OWQ0ZjZlNDdjNDk0ZTk2MTI1NWEwNmE0OTZiZDVjNjYzOGIzMzlkYzAifX19>'
  'N':
    update: 8
    display:
      name: '&3Tr&bMenu'
      mats:
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmM3OWZlNTU4MjdjYmE4ZGNiYzE5YmRmOTNiNWNkNWQwNDE2ZTVhODM2MmU2NjgzMDg0YTI1MjMzNDI4MyJ9fX0=>'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmM3OWZlNTU4MjdjYmE4ZGNiYzE5YmRmOTNiNWNkNWQwNDE2ZTVhODM2MmU2NjgzMDg0YTI1MjMzNDI4MyJ9fX0=>'
  'U':
    update: 8
    display:
      name: '&3Tr&bMenu'
      mats:
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - 'cyan stained glass pane'
        - '<skull:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTE4NGVlNzE0MjVkNmI3NGMzZTY4NzJjM2ExMTc3ZGNiZmIwZmU3OTlkMmM0NzIxMGI1YTQ0NjcyY2UxZmJhIn19fQ==>'