Skip to content

GUI.yml

Houska02 edited this page Jul 4, 2023 · 6 revisions

Everything about GUI.yml file.

Here you can find default GUI.yml file and all default settings.

GUI.yml
gui:
  title: "!#8602e1&lAmazing!#c148f3!#c148f3&lTags!#f74c34"
  categoryTitle: "!#c148f3&lTags!#f74c34 &7&l- &3%category%"
  
  items:
    preview:
      type: "PLAYER_HEAD"
      displayName: "&5&lSelected tag:"
      lore:
      - "&7Selected: %tag_name%"
      - "&7Tag: %tag_format%"
      - "&7"
      - "&7Rright click to reset tag"
      head:
        type: "PLAYER"
        owner: "%player%"
    default:
      type: "NAME_TAG"
      displayName: "&5&l» &7%tag_name%"
      lore:
      - "&7Info: &f%tag_info%"
      - "&7Tag: &f%tag_format%"
      - ""
      - "%tag_format% &7%player%"
      - ""
      - "%tag_status%"
    next:
      displayName: "&cNext"
      type: "PLAYER_HEAD"
      head:
        type: "VALUES"
        owner: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmZmNTVmMWIzMmMzNDM1YWMxYWIzZTVlNTM1YzUwYjUyNzI4NWRhNzE2ZTU0ZmU3MDFjOWI1OTM1MmFmYzFjIn19fQ=="
      lore: []
    previous:
      displayName: "&cPrevious"
      type: "PLAYER_HEAD"
      head:
        type: "VALUES"
        owner: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjc2OGVkYzI4ODUzYzQyNDRkYmM2ZWViNjNiZDQ5ZWQ1NjhjYTIyYTg1MmEwYTU3OGIyZjJmOWZhYmU3MCJ9fX0="
      lore: []

Titles title and categoryTitle

These titles are displayed when the menu is opened. categoryTitle is only used when a player is selecting tag from a category. (creating categories). categoryTitle also supports %category% placeholder, where name of category will be displayed.

gui:
  title: "!#8602e1&lAmazing!#c148f3!#c148f3&lTags!#f74c34"
  categoryTitle: "!#c148f3&lTags!#f74c34 &7&l- &3%category%"

Items

So... you can fully edit items! Yes! You just need to follow this guide (ItemMaker). You can find there all options.

Default item (default)

This item is default teg item that will show in menu. Of course, you can create custom item for each tag, but who would bother with that... right?

gui:
  items:
    default:
      type: "NAME_TAG"
      displayName: "&5&l» &7%tag_name%"
      lore:
      - "&7Info: &f%tag_info%"
      - "&7Tag: &f%tag_format%"
      - ""
      - "%tag_format% &7%player%"
      - ""
      - "%tag_status%"

Placeholders

You need some placeholders, because this is not the final item. All possible placeholders:

Placeholder Description
%tag_name% Tag's name. You can find this under tags.<your_tag>.name in Tags.yml or plugin will use <your_tag> as name.
%tag_info% Tag's info. You can find this under tags.<your_tag>.info in Tags.yml
%tag_format% Tag's format. You can find this under tags.<your_tag>.tag in Tags.yml
%tag_status% Tag's status. If player can choose this or not. (more in Config.yml)
%player% Just player's name

Preview item (preview)

Same options like Default item. The only difference is that it only appears one in the menu. And it works as tag resetter (right click and you will reset your tag selection).

BTS same placeholder options as previous item

gui:
  items:
    preview:
      type: "PLAYER_HEAD"
      displayName: "&5&lSelected tag:"
      lore:
      - "&7Selected: %tag_name%"
      - "&7Tag: %tag_format%"
      - "&7"
      - "&7Rright click to reset tag"
      head:
        type: "PLAYER"
        owner: "%player%"

Next and previous buttons

Do you need some explanation here? If there are so many tags that another page is needed, next and previous page buttons will be there waiting for you 😃.

No placeholders here!

gui:
  items:
    next:
      displayName: "&cNext"
      type: "PLAYER_HEAD"
      head:
        type: "VALUES"
        owner: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmZmNTVmMWIzMmMzNDM1YWMxYWIzZTVlNTM1YzUwYjUyNzI4NWRhNzE2ZTU0ZmU3MDFjOWI1OTM1MmFmYzFjIn19fQ=="
      lore: []
    previous:
      displayName: "&cPrevious"
      type: "PLAYER_HEAD"
      head:
        type: "VALUES"
        owner: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjc2OGVkYzI4ODUzYzQyNDRkYmM2ZWViNjNiZDQ5ZWQ1NjhjYTIyYTg1MmEwYTU3OGIyZjJmOWZhYmU3MCJ9fX0="
      lore: []

Older versions

Version 1.1

We recomend updating plugin to more recent version!

Link to downloable jar file: here

Default GUI.yml

GUI.yml
GUI:
  # Title of AmazingTags GUI -> /tags
  Title: "!#8602e1&lAmazing!#c148f3!#c148f3&lTags!#f74c34"
  
  Items:
    Preview:
      Name: "&5&lSelected tag:"
      Lore:
      - "&7Selected: %tagname%"
      - "&7Tag: %tag%"
      - "&7"
      - "&7Rright click to reset tag"
      PlayerHead: true
      # Type: ""
      # Head: ""
    Next:
      Name: "&cNext"
      Head: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmZmNTVmMWIzMmMzNDM1YWMxYWIzZTVlNTM1YzUwYjUyNzI4NWRhNzE2ZTU0ZmU3MDFjOWI1OTM1MmFmYzFjIn19fQ=="
      Lore: []
    Previous:
      Name: "&cPrevious"
      Head: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjc2OGVkYzI4ODUzYzQyNDRkYmM2ZWViNjNiZDQ5ZWQ1NjhjYTIyYTg1MmEwYTU3OGIyZjJmOWZhYmU3MCJ9fX0="
      Lore: []

Preview item:

This item servers as an informational item (in GUI). You can see what is your selected tag and you can reset your tag to default tag (default tag can be edited in Config.yml)
This plugin supports Heads!

  Items:
    Preview:
      Name: "&5&lSelected tag:"
      Lore:
      - "&7Selected: %tagname%"
      - "&7Tag: %tag%"
      - "&7"
      - "&7Rright click to reset tag"
      PlayerHead: true
      # Type: ""
      # Head: "" # Head support: https://github.com/TheDevTec/AmazingTags/wiki/Head-support

Next & Previous items

You can use Head of Material!

  Items:
    Next:
      Name: "&cNext"
      # Type: "STONE"
      Head: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmZmNTVmMWIzMmMzNDM1YWMxYWIzZTVlNTM1YzUwYjUyNzI4NWRhNzE2ZTU0ZmU3MDFjOWI1OTM1MmFmYzFjIn19fQ=="
      Lore: []
    Previous:
      Name: "&cPrevious"
      # Type: "STONE"
      Head: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjc2OGVkYzI4ODUzYzQyNDRkYmM2ZWViNjNiZDQ5ZWQ1NjhjYTIyYTg1MmEwYTU3OGIyZjJmOWZhYmU3MCJ9fX0="
      Lore: []

Clone this wiki locally