# PlayerWarps by Olzie-12
# https://www.spigotmc.org/resources/115286/
# We also have a discord server for help: https://olziedev.com/discord or check docs https://docs.olziedev.com/projects/playerwarps
# Also if you find any bugs be happy to report them I will fix them :)
# Made with love

confirm:
  # Should you enable a category gui meaning players will have to sort their warp into a category?
  enabled: false
  # What is the name of the gui? 
  name: "confirm"
  # The title of the gui (Can use color codes)
  title: "&a&lConfirm Teleport"
  # What is the size of this GUI? (multiples of 9 can only go up to 54)
  size: 27
  # What are the actions when this menu is opened up?
  open-actions: []
  # What are the actions when this menu is closed?
  close-actions: []
  # Where should the warp icon the player is warping to be?
  slot-warping: 13
  # Should the previous menu that was opened be opened when this menu is closed?
  open-previous: true

  icon:
    # This is the name of the skull in the gui.
    name: "&a[warp]"
    # What is the lore of the icon shown in the menu?
    lore:
    - "&aLocation: &d[world], [location]"
    - "&aVisits: &d[visits]"
    - "&aDescription: "
    - "&d[desc]"
    - "&aTime Created: &d[date]"
    - "&aCategory: &d[category]"
    - "&aRates: &d[rates]"
    - "&aRates Average: &d[rates_average]"
    - "&aTeleport Cost: &d[cost]"
    - "&aPassword: &d[password]"
    - "&aLocked: [locked]"
    # Should the item appear with the glowing effect?
    glowing: false

  clickable-items:
    accept:
      name: "&aConfirm teleport"
      material: "LIME_WOOL"
      data: 5
      lore:
      - "&dClick&a to teleport to &d[warp]&a for &d[cost]&a!"
      amount: 1
      slot: 11
      glowing: false
    deny:
      name: "&cDeny teleport"
      material: "RED_WOOL"
      data: 14
      lore:
      - "&cClick to cancel this teleport."
      amount: 1
      slot: 15
      glowing: false
      # If you wish to disable any of these please set them the material to "AIR"
      # this is the material of the next page item. valid material names: https://javadocs.olziedev.com/spigot/latest/org/bukkit/Material.html
      # These only work if the skull is a SKULL_ITEM and the data is 3!
      #texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWE0ZjY4YzhmYjI3OWU1MGFiNzg2ZjlmYTU0Yzg4Y2E0ZWNmZTFlYjVmZDVmMGMzOGM1NGM5YjFjNzIwM2Q3YSJ9fX0= - Skull texture
      #owner: Next - Skull owner

  items:
    1:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 0
      amount: 1
      glowing: false
    2:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 1
      amount: 1
    3:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 2
      amount: 1
    4:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 3
      amount: 1
    5:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 4
      amount: 1
    6:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 5
      amount: 1
    7:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 6
      amount: 1
    8:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 7
      amount: 1
    9:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 8
      amount: 1
    10:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 9
      amount: 1
    11:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 17
      amount: 1
    12:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 18
      amount: 1
    13:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 19
      amount: 1
    14:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 20
      amount: 1
    15:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 21
      amount: 1
    16:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 22
      amount: 1
    17:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 23
      amount: 1
    18:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 24
      amount: 1
    19:
      name: " "
      material: "MAGENTA_STAINED_GLASS_PANE"
      data: 2
      slot: 25
      amount: 1
    20:
      name: " "
      material: "LIME_STAINED_GLASS_PANE"
      data: 3
      slot: 26
      amount: 1
    # What are the items that are placed into the GUI to make it more pretty?
      # This is the name of the item.
      # This is the item material.
      # This is the data item
      # You can add lores!
      # example of what you can do:
      # lore:
      #   - "&bThis is a pane."
      # What is the stack amount?
      # commands that will be executed on click.
      # [server] means the command is executed as the console
      # [player] means the command is executed as the player
      # commands:
      #   - "[server] msg %player% you clicked this item!"
      # These only work if the skull is a SKULL_ITEM and the data is 3!
      #texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTZmOGFmYjI3YmFmYzc3YzJiODI1OTljMmY3YjhmMWY2ODMxMGU2YWE5MDRmMDUxYjA3YWIxYzJiNmIifX19 - Skull texture
      #owner: Glass - Skull owner
