GUI

Everything is easier with interactive inventory.

Manual, how to configure items at GUI.

GUI.yml

Configuration file, where all data about items are located.

AppliedCouponCodeList: #Item's key. Maintained by system, can't be changed.
   Material: "PAPER" #Name of the material
   MaterialData: 0 #Metadata of the item. Especially color. Only for 1.8.8 - 1.12.X
   Slot: 3 #Slot number where item will be played in inventory
   SkullData: "textures" #Texture value of player's head. 
   ItemFlags: #Flags applied to item.
   - HIDE_ENCHANTS
   CustomModelData: 0 #Is an integer that may be associated client side with a custom item model. Supported at 1.14.X and aboove.

ItemFlags

  • HIDE_ENCHANTS

  • HIDE_ATTRIBUTES

  • HIDE_UNBREAKABLE

  • HIDE_DESTROYS

  • HIDE_PLACED_ON

  • HIDE_POTION_EFFECTS

  • HIDE_COLOR - 1.16.X and above

Helpful stuff

Materials: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html

Textures of player's head: https://minecraft-heads.com

Grid can help you to compute right slot index.

Locale/EN.yml

Localization file, where labels are assigned to items.

AppliedCouponCodeList:
  HeadName: "&2&lSub-Coupon Codes"
  Lore:
  - "&6\u25CF &7To apply this code, player has to apply"
  - "&7another codes before."
  - ""
  - "&6\u25CF &3Count &6\u00BB &7{coupon_code_requirement_applied_code_size}"
  - ""
  - "&6\u25CF &7Click"
  - " &2\u2022 &7Assign code"

Last updated