Skip to content
Hempfest edited this page Jun 26, 2022 · 6 revisions

GUI Information

Clans pro offers you the ability to configure your own custom skull values!

Using Labyrinth's CustomHead loader simply define the heads you want to use in the `heads.data` file! Each key can be called whatever, its simply there as a placeholder, numbers/letters/words, use whatever!

For a more in depth explanation to how labyrinths head loading works visit: https://github.com/the-h-team/Labyrinth/wiki/Custom-Heads

{
  "My_heads": {
    "1": {
      "custom": true,
      "name": "Clan",
      "category": "ClansPro",
      "value": "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjg1YThiYTRkZThlYjdlMjgzNzRlMDJiMDNjZmRiZTIyYmRjNjAzMWMzNmFjYjJlZWEyZGVkN2RkZWQ4MzE5NCJ9fX0"
    },
    "2": {
      "custom": true,
      "name": "Left_Button",
      "category": "ClansPro",
      "value": "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzdhZWU5YTc1YmYwZGY3ODk3MTgzMDE1Y2NhMGIyYTdkNzU1YzYzMzg4ZmYwMTc1MmQ1ZjQ0MTlmYzY0NSJ9fX0"
    },
    "3": {
      "custom": true,
      "name": "Right_Button",
      "category": "ClansPro",
      "value": "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjgyYWQxYjljYjRkZDIxMjU5YzBkNzVhYTMxNWZmMzg5YzNjZWY3NTJiZTM5NDkzMzgxNjRiYWM4NGE5NmUifX19"
    }
  }
}

Once you have your heads configured you can now use them with the GUI! (Basically any place that allows you to setup items. Under the type key just use the name of the custom head.

items:
  'Example':
     type: Clan
     locked: true
     message: '&6It works!'

1.3.9+

In the latest updates clans pro now offers full gui customization. You can change how each of the accessible menus look and act. There will be later on a deep explanation on how things such as custom placeholders work, for now here is a rundown on basics.

There are 3 types of usable menus that are internally baked using a newer api called Docket, they allow the transformation of configuration nodes into fully functional menus, they only need to be loaded. Starting with the most commonly used menu is `SINGULAR` this menu doesn't (unless code provided) have placeholder provision. It just like all menu types (excluding `PRINTABLE`) can have a filler element, border element & items added.

filler:
  type: Clan
  locked: true
  name: ' '
Notice the options I include with each item customized, locked means when you click on said item it wont let the player remove it from the inventory. `name` is an option that can go with ANY item edit. Allowing you to set an item name & lore as-well is only part of it, as noticed from above you can make the system message the player when the item is clicked, you can make it make the player run a command with the `open` option or use it to open another registered menu via ID, you can make it force close the current inventory for the player with `close`, assign a specific slot to it using `slot` and even add enchantments using `enchantments` option!
slot: 13
type: bow
enchantments:
  ARROW_DAMAGE: 3
Clone this wiki locally