1.0.3.1 2 days ago
More and more bug fixes !
  • Fix folia commands and data manager #63
  • Fix actions for command with delay
  • Fix MenuItemStack with AIR material
  • Fix color with messages in button
  • Fixed saving enchantments with /zm save
  • Change Item Permission to check in all inventory instead of just the player's hand
  • Create new Button for zMenu+ INPUT, allows you to choose a number or a text in the chat and perform actions
  • You can choose the pattern plugin for the button with pluginName
  • Fix MenuItemStackLoader for save model id

1.0.2.9 Mar 27, 2024
Button patterns + 5 new config
  • Added support for zHead. A free and open source head database plugin (with more than 72.000 heads)
  • Create new placeholder %zmenu_player_page%, return player page
  • Create new placeholder %zmenu_player_max_page%, return player max page
  • Change NEXT and PREVIOUS button. If you click right you will go directly to the first or last page.
  • Improve MiniMessage format with italic text
  • Create new file: default_values.yml, it will contain all the default values for the placeholders of the player data.
  • Create pattern for Button. You can create a pattern file for a button with placeholders. And in your inventory, just call the pattern with a placeholder list. The placeholders will be replaced by your values and the button will be loaded with the new values. Thus, you can have dozens of similar buttons while reducing your configurations by several hundred lines. More information here.
  • Creation of 5 configurations for zMenu:
  1. PLAYTIME LEVELS - zMenu Configurations: https://minecraft-inventory-builder.com/resources/9
  2. VOTE MENU - zMenu Configurations: https://minecraft-inventory-builder.com/resources/8
  3. DONUTSMP HOME - zMenu Configurations: https://minecraft-inventory-builder.com/resources/7
  4. zAuctionHouse - Hypixel AuctionHouse: https://minecraft-inventory-builder.com/resources/6
  5. zAuctionHouse - DonutSMP AuctionHouse: https://minecraft-inventory-builder.com/resources/5

1.0.2.8 Mar 16, 2024
Inventory Editor Ingame !
[MEDIA=youtube]onevTxbwQp8[/MEDIA]
 
  • Add /zm inventories - Allows access to the inventories of the online inventory editor
inventories.gif
  • Add PlayerInteractEvent in DupeListener
  • Fix classic meta with PAPI color
  • Fix NPE with ButtonOption
 

1.0.2.7 Mar 4, 2024
Huge API change
  • Start of development of the zMenu+ paid addon. This addon will be available with the purchase of Premium upgrade.
  • Huge API Change. This change introduces zMenu+
  • Create ButtonOption, allows any developer to add options that will be available for all types of buttons.
  • Create PaginateButton interface. This interface allows you to create buttons that need pagination. This interface will manage the number of pages in the inventory.
  • Add matrix support for button slots #39
  • Add /zm editor, at the moment this command redirects to the online editor
  • Add target placeholder #48
  • Fix reload command with pattern. The pattern were reload after the inventories
  • Fix error with InventoryPlayer
  • Fix NmsVersion with 1.8 and 1.9
  • Fix anti-dupe for old version
  • Fix MenuItemStack loader with placeholder check
  • Fix CONTAINS_STRING action for placeholder
  • Fix NMS with 1.20.4
  • Fix method getRealSlot with isPermanent

1.0.2.6 Feb 23, 2024
Fix jar

Fix jar


1.0.2.5 Feb 13, 2024
Fix and BETA Minecraft Inventory Editor
  • Beta of https://minecraft-inventory-builder.com/
  • Add new lore as string support
  • Fix itemstack amount of 0
  • Support file with space
  • Improved API, added many new methods to make API more permissive.
  • Patterns can now be on multiple pages
  • Add custom sound to SoundOption
  • Added ability to add arguments and select page for INVENTORY button #45
  • Change update interval to milliseconds #37

1.0.2.4 Feb 4, 2024
Bug fix + new features

- Added replacement of , by . for placeholders requirements. If your placeholder returns a number with a comma instead of a period, the plugin can handle that.
- Added base64 MaterialLoader. Allows to load ItemStack with all the data it can contain.
- Added cooldown on button click. The default cooldown will be 350ms.
- Fix Folia with VersionChecker #35
- Fix error with mini message format in 1.16
- Fix JUMP Button
- Change /zm save <item name> <base64/yml>, saves an element in YML or base64 format. The base64 format will save the itemStack with all its data.
- Change page from JUMP Button to toPage


1.0.2.3 Jan 25, 2024
Bug fix + JUMP Button
  • Fixed the pattern display, they will now appear first and let the more important buttons pass over
  • Fixed MenuItemStack build method, add boolean for use cache or not
  • Fixed PAPI use if player is null
  • Create new button type: JUMP #34

1.0.2.2 Jan 6, 2024
Executable items
  • Added open menu with item interaction #29 by EnzoShoes
  • Added /zm giveopenitem <inventory> [<player>]
item.gif 

1.0.2.1 Dec 27, 2023
More actions !
  • Added the ability to perform actions when clicking. For simple actions you no longer need to use a click_requirements.
  • Added ShopKeeper support for action. #27
  • Added deny and success action for each requirement. In addition to its global actions, you can add them for each requirement. Perfect to set the error message for the player.
  • When creating ItemStacks, the plugin will no longer use PlaceholderAPI if the item contains no placeholders.
  • Added cache system for ItemStack. If ItemStack does not use placeholder API, then it will be created once and cached. All inventories will therefore use the same ItemStack. This allows to improve performance (from a few thousand nano seconds per item, so if you have a lot of items in your inventory the gain can be very important).
  • Fixed command /zm open. The opening arguments were only taken into account if the command had more than 5 arguments instead of starting from 5.
  • Fixed command /zm reload with commands.

1.0.2.0 Dec 24, 2023
Bug fixs and new features
- Added ANY and ALL support for click requirements #24 
- Added a check when displaying the item to prevent that if the slot is outside the slots this triggers an error but just a message in the console
- Fix error with 1.20.4
- Fix error with Meta
- Fix error with slot page and else button 
- Fix checkPermission with view requirement who made it check placeholders and permissions impossible

1.0.1.9 Dec 13, 2023
Bug fixs
  • Added back type for action requirements
  • Improved ItemStackLoader. This class is used for converting inventories from GuiPlus.
  • Fixed loaded messages

1.0.1.8 Dec 3, 2023
Bug fixs
  • Add command /zmenu save <name>. Allows to save the item in your hand in format for plugin configuration.
  • Add material loader for eco #19
  • Set enableAntiDupeDiscordNotification to false by default
  • Fix ItemStackCompound
  • Fix PDC dupe, replace BOOLEAN by INT

1.0.1.7 Nov 21, 2023
Anti dupe

material: POTION
durability: 16454


1.0.1.6 Nov 17, 2023
New Requirement system
  • Start of the translation of the plugin documentation in French. If you want to translate zMenu documentation into your language, please contact me.
  • You can use multiple placeholders now, do like this:

[CODE=yaml]
placeholders:
- placeholder: <your placeholder>
  value: <your value>
  action: <your action>
- placeholder: <your placeholder>
  value: <your value>
  action: <your action>
[/CODE]
Be careful, you must put an s to placeholder, otherwise it will not work.

  • You can use now the text placeholder instanceof placeHolder
  • Start new way to configure the plugin, you have now requirement and actions:

A requirement consists of a permission list to check (placeholder, permission, regex and item), an action list on success and an action list on deny.
You have 12 actions available:

  1. broadcast
  2. broadcast_sound
  3. close
  4. connect
  5. console_command
  6. data
  7. inventory
  8. message
  9. chat
  10. player_command
  11. sound
  12. refresh

Example for view_requirement:
[CODE=yaml]
view_requirement:
deny:
- type: chat
messages:
- "msg Maxlego08 test"
success:
- type: sound
sound: ENTITY_PLAYER_LEVELUP
requirements:
- type: permission
permission: "admin.use"
- type: permission
permission: "use.pro.config"
- type: placeholder
placeholder: "%player_gamemode%"
value: "CREATIVE"
action: equals_string
- type: placeholder
placeholder: "%player_is_flying%"
value: "yes"
action: equals_string
[/CODE]
Example for open_requirement:
[CODE=yaml]
open_requirement:
requirements:
- type: regex
input: "%player_item_in_hand%"
regex: "(NETHERITE_|DIAMOND_|IRON_|GOLDEN_|STONE_|WOODEN_|LEATHER_|BOW|CROSSBOW|FISHING_ROD|SHEARS|SHIELD|TRIDENT|TURTLE_HELMET|ELYTRA|FLINT_AND_STEEL)"
deny:
- type: message
messages:
- "&cYou doesn't have an item in your hand."
[/CODE]
Example for click_requirement:
[CODE=yaml]
click_requirement:
left_click:
clicks:
- LEFT
- SHIFT_LEFT
requirements:
- type: placeholder
placeholder: "%player_gamemode%"
value: "CREATIVE"
action: equals_string
deny:
- type: inventory
inventory: "example"
plugin: "zMenu"
success:
- type: message
messages:
- "well <red>done <green>you did it"
[/CODE]
More information on the plugin documentation: https://docs.zmenu.dev/

  • Add alias for placeholder action:
  1. BOOLEAN: `b=`
  2. EQUALS_STRING: `s=`
  3. EQUALSIGNORECASE_STRING: `s==`
  4. CONTAINS_STRING: `sc`
  5. EQUAL_TO: `==`
  6. SUPERIOR: `>`
  7. SUPERIOR_OR_EQUAL: `>=`
  8. LOWER: `<`
  9. LOWER_OR_EQUAL: <`=`
  • Enable version checker
  • Improve javadocs
  • Remove example.yml, example2.yml and example3.yml in inventories folder
  • Remove example.yml in commands folder
  • Rename pattern1.yml to pattern_example.yml
  • Edit commands.yml file with new default config
  • Add pro_inventory.yml in inventory folder
  • Fix component for inventory name
  • Add cache system for ComponentMeta (optimizes code and makes it more efficient)

1.0.1.4 Nov 4, 2023
Commands fixs

- Inventory can load with error in button
- Fix commands register and unregister. The commands are now saved in the plugin that will load the command.
- Fix Firework meta for firework rocket
- Improve documentation: #15


BETA-1.0.1.3 Nov 2, 2023
Update button loader
  • Added DefaultButtonValue in Button, Change the default values of the buttons if they are not present in the configuration. To avoid, for example, having to redefine the slot for elses buttons or not having to set isPermanent: true for NEXT or PREVIOUS type buttons
  • Added advanced_inventory.yml in default config file
  • Fix /zm reload with patterns
  • Previous and Next button are now permanent button by default
  • Else button doesnt need to set slot and page
  • Fix error with 1.20.2 (PlayerSkin#getFromPlayer)

1.0.1.2 Oct 30, 2023
Even more configurations !

- Add /zm list command. View the list of available inventories.
- Add /zm create <file name> <inventory size> <inventory name> command
- Add action, closeInventory (more information here)
- Add new default inventory, basic_inventory. An inventory with lots of explanation for beginners.
- Fix ComponentMeta with old color tag
- Disable double click on inventory click, this will trigger button actions 3 times.


1.0.1.1 Oct 21, 2023