Menus

menus/duel/duel_menu.yml
duel_menu:
  title: "Duel <player>"
  size: 27

  kit:
    material: diamond sword
    name: "<#9AABBD>Kit"
    slots: [ 12 ]
    lore:
      - "<gray>Select a kit for the duel."
      - "<gray>Selected Kit: <#9AABBD><kit>"
    flags:
      - "HIDE_ATTRIBUTES"

  arena:
    material: chest
    name: "<#9AABBD>Arena"
    slots: [ 13 ]
    lore:
      - "<gray>Select an arena to duel in."
      - "<gray>Selected Arena: <#9AABBD><arena>"
    flags:
      - "HIDE_ATTRIBUTES"
    permission_required: false # If enabled, only players with the permission will be able to select an arena.
    permission: cloud.player.duel.arena # The permission required to select an arena.

  rounds:
    material: paper
    name: "<#9AABBD>Rounds"
    slots: [ 14 ]
    lore:
      - "<gray>Choose the number of rounds."
      - "<gray>Selected Rounds: <#9AABBD><round>"
    flags:
      - "HIDE_ATTRIBUTES"

  start_duel:
    material: lime stained glass pane
    name: "<#9AABBD>Duel"
    slots: [ 16 ]
    lore:
      - "<gray>Click to send a duel request with:"
      - "<gray>Kit: <#9AABBD><kit>"
      - "<gray>Arena: <#9AABBD><arena>"
      - "<gray>Rounds: <#9AABBD><round>"
    flags:
      - "HIDE_ATTRIBUTES"

  not_setup:
    material: red stained glass pane
    name: "<#9AABBD>Duel"
    slots: [ 16 ]
    lore:
      - "<gray>Please select a kit first."
      - "<gray>Kit: <#9AABBD><kit>"
      - "<gray>Arena: <#9AABBD><arena>"
      - "<gray>Rounds: <#9AABBD><round>"
    flags:
      - "HIDE_ATTRIBUTES"

Last updated

Was this helpful?