Page cover

Modify Menu

Guide to modify the menus correctly

Sections available.

Everything that will be shown below is used for all the menus that the plugin contains

title_menu

The menu title is what is displayed at the top left of the inventory. You can modify it to your liking.

config.yml
Menu:
 title_menu: '&bCustomJoin&fEvents &8| &7Main'
Menu title

The plugin supports the new Minecraft colors, but to use them you need to be on a version higher than1.16.

If you want to know how to use these new colors, click here.

size

The size of the menu is important, depending on the value that you place, it will be its size. Here are the sizes available

Valid sizes: 9,18, 27, 36, 45 y 54

config.yml
Menu:
 title_menu: '&bCustomJoin&fEvents &8| &7Main'
 size: 45
Size menu

decorations

The decoration section is to place a variety of decorative items, the plugin has some decorations by default. If you want to remove any of those decorations, just delete the section. But if you want to keep the section and disable the decoration, just look for the enabled section and change its value to false. In this way, the decoration will be deactivated but keeping its configuration.

config.yml
Menu:
 decorations:
  title_menu: '&bCustomJoin&fEvents &8| &7Main'
  size: 45
  decorations:
   glass:
    material: 'GRAY_STAINED_GLASS_PANE'
    display_name: ' '
    enabled: true
   close:
    material: 'BARRIER'
    display_name: '&6&l✦ &cClose &6&l✦'
    enabled: true
    lore:
     - ''
     - '&6&l| &fClick to close this menu'
     - ''
decorations

What comes next is for theitemsanddecorations section.

material

The material will be the item that is shown to the user in the inventory of their respective menu. In this section you can place materials and even custom player heads.

To place an item or custom player head there are 3 ways to do it.

1) Normal item

For the normal or material item, you must place the name of the material in the corresponding section that is material.

Materials of version 1.8+, click here.

Materials of version 1.13+, click here.

Materials of version 1.16+, click here.

config.yml
  Menu:
   items:
    settings:
     material: 'FIREWORK_ROCKET'

2) Textures

To place textures is somewhat more complicated to do, but here I will show you how. First you must go to the following link: click here. You will select the head that you like the most and you will go to the bottom of the page and look for the "Other" section and copy the value found in value.

Minecraft value

Once we have copied the texture value, you will paste it into material followed by the word TEXTURE-value. Here are some examples.

config.yml
  Menu:
   items:
    settings:
     material: 'TEXTURE-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDg5ODVmODI0MDVjY2FjOGY1YWUxYjlmNjAzMTQyNTYzYzBlNTFmNGI4NGE4ZTM5NThkNTNiOTkzZWNiMThkMyJ9fX0='

3) Player head

This is the same as the texture, but here you can put a player's name (premium) and it will be replaced by that player's head. To place the player's head, you must place the following in material PLAYER_HEAD-player_name

config.yml
  Menu:
   items:
    settings:
     material: 'PLAYER_HEAD-_ImJona'

display_name

Display_name will be the name that will be given to the item in the inventory, you can choose the name to your liking.

config.yml
  Menu:
   items:
    settings:
     material: 'COMPARATOR'
     display_name: '&a&lTitle &e#2'

You can also use colors from the new version of Minecraft 1.16 and higher. To know how to use it, click here.

display_name

action_type

Action_type are the actions that the item does when clicked by the user, you can choose already predetermined actions.

Actions available:

1) OPEN_MENU_<menu>

2) CLOSE_MENU

3) BACK_MENU_<menu>

Currently, there are 6 menus available.

1) MAIN

2) FIREWORK

3) SETTINGS

4) SOUND

5) MESSAGE

6) TITLE

config.yml
  message:
   material: 'PAPER'
   display_name: '&3Messages'
   action_type: 'OPEN_MENU_MESSAGE'

sound_on_click

This section is only added by default in decorations - "close". What does it really do? Well, it plays a sound when a user clicks on the item in question. You can add them in all the sections that you like.

config.yml
Menu:
 items:
  close:
   material: 'BARRIER'
   display_name: '&cClose'
   sound_on_click: 'CHEST_CLOSE'
   enabled: true
   action_type: 'CLOSE_MENU'

slot

Slot will be the place where our material is located within the inventory. You are free to choose the position you like.

Inventory slots

In the image shown there are numbers in each slot, you must choose one and write it in your slot section of your event. But I will show you other ways to place your material in the inventory.

1) Normla slot

The first way is the one that is mentioned to you, select the position in the inventory (number) and place it in the slot and it would be left.

config.yml
Menu:
 items:
  close:
   material: 'BARRIER'
   display_name: '&cClose'
   sound_on_click: 'CHEST_CLOSE'
   enabled: true
   slot: 40
   action_type: 'CLOSE_MENU'

2) List

In this you can place multiple positions of a material in the inventory, we do the same as the above mentioned. We select the positions we want and we are placing it as follows.

config.yml
Menu:
 decorations:
 items:
  glass_1:
   material: 'PINK_STAINED_GLASS_PANE'
   display_name: ' '
   enabled: true
   slot:
    - 0
    - 1
    - 7
    - 8
    - 9
    - 17
    - 27
    - 35
    - 36
    - 37
    - 43
    - 44

3) All

This is easier than it seems, if you want the empty spaces in your inventory to be filled, just put -1 in the slot section and it will automatically be filled.

config.yml
Menu:
 decorations:
 items:
  glass:
   material: 'PINK_STAINED_GLASS_PANE'
   display_name: ' '
   enabled: true
   slot: -1

lore

The lore is the information that is displayed on a material/item, it is used to specify certain things in more detail, this is fully modifiable in all inventories.

config.yml
Menu:
 decorations:
 items:
  message:
   material: 'PAPER'
   display_name: '&3Messages'
   action_type: 'OPEN_MENU_MESSAGE'
   slot: 23
   lore:
    - ''
    - '&6&l| &fClick to open the messages menu'
    - ''

It supports PlaceholderAPI variables and you can also use colors from version 1.16 (only if the server is 1.16, otherwise it won't work), click here to know how to use colors.

Item information

Última actualización