MenuFramework icon

MenuFramework -----

ui, framework, inventory




  • Panel resize
  • Localiztion
  • Icons and PDC fixes
  • New action body (from event to event + parent menu window)
  • GUI API improvements (Color specification)
----------, Jul 29, 2024

Localization manager based on CordellDB ( https://github.com/j1sk1ss/CordellDB.EXMPL)
Main idea, that every MenuWindow will have own CDB for translation
For creation a new localization file you will need:
- Every line of file - one component
- Key and value in CordellDB separated by ":"
- Key should have LNG_ prefix. Also key should copy name of component for localization
- Example: EN_button1:ButtonName/ButtonLore
- Example: EN_panel:InventoryName/-
- Example: IT_button1:ButtonNome/ButtonStoria
- Example: RU_button1:Кнопка/- (- means saving lore (Or name))
Then just get panel with lang (from prefix), and show it for player:
- Example: windowMenu.getPanel("panel1", "RU").getView(player);
Notes:
- Avoid localization for panels
- Remember that MenuFramework don`t know player`s native language. You should detect this by yourself.
----------, Jul 16, 2024

I start working under linking menuFramework with resource packs. Also, soon I publish some additional info. But anyway, now, with this framework and with little guide from internet ( https://www.spigotmc.org/threads/custom-inventory-uis-updated.635897/), you can make your own GUI.

Preview:

YqG7LaAafH8.jpg
Result:

SNIyKmvky04.jpg
----------, Jul 13, 2024

This update includes code cleanup and bug fixes.
Also was added next:
- LittleButtons
- Icons
----------, Jul 13, 2024

Resource Information
Author:
----------
Total Downloads: 76
First Release: May 7, 2024
Last Update: Jul 29, 2024
Category: ---------------
All-Time Rating:
0 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings