🎑Customize Menus

On this page, you will find information on how to customize the crate menus.

Plugin Menus

All the menus that can be customized for the plugin are located in the menus folder of Phoenix Practice.

Menu settings can be found in any type of menu. From there, you can specify the type of menu you want, the title of the menu, the number of rows it will have, the refresh rate, and the actions that will run when the user clicks to preview it.

settings:
  type: SETTINGS
  title: 'Your Settings'
  rows: # 1, 2, 3, 4, 5, 6
  refresh:
    enabled: false
    rate: 20
  on-open-actions: []

You can change the rows number if you want to adjust the rows that the menu will have.

Pagination

Pagination is another main option that menus have. With this, you can create multiple pages, set your preview page item, the next page item, and a material that will fill specific slots.

Items

With the items, you can create custom entries to be included in your menu. These could be items to close the menu or items that display where players can purchase keys.

items:
  close-menu:
    slot: '49'
    material: ARROW
    amount: 1
    custom-model-data: 0
    glow: false
    hide-attributes: false
    display-name: '&aClose Menu'
    lore:
    - '&7Click here to close this menu.'
    - ''
    - '&6Left-Click: &eClose menu.'
    actions:
    - '[CLOSE_INVENTORY]'

Last updated

Was this helpful?