zMenu 1.0.4.0
on Apr 21, 2025Fixed placeholders in actions Fixed commands with arguments Fixed minimessage #124 Added RoyaleEconomy support
zMenu 1.0.3.9
on Apr 11, 2025Added dependency management for inventory loading. If an inventory needs to be loaded but one of its dependencies is not yet loaded, it will be put on hold until all dependencies are loaded. This allows you to use any element from any other plugin in any zMenu inventory. Added teleport action. Added default value for commands. This allows having optional arguments with a default value. Added API method : InventoryManager#loadYamlConfiguration(File file), load a YAML file using the file’s placeholders global-placeholders.yml. This allows you to reduce the size of your configurations by avoiding the repetition of certain values. Added API method : ZPermissibleLoader#loadPermissible(ButtonManager buttonManager, TypedMapAccessor accessor, String key, String path, File file), Allows you to load a list of permissible. Added API method : ButtonManager#loadPermissible(YamlConfiguration configuration, String path, File file), allows you to load a list of permissible list from a configuration. Added API method : ButtonManager#loadActions(YamlConfiguration configuration, String path, File file), allows you to load a list of action list from a configuration. Added conditional-name, allows you to change the name of the inventory based on conditions. (available with zMenu+). Added MagicCosmestics material loader. Added the ability to include \n in actions. This allows you to send a list of commands in an inventory argument and more ! Added lore-type, allows you to define how the lore should interact with the itemstack. If you are using a material loader, you can specify that the lore is added at the end of the existing lore, added before the existing lore, or replaces the existing lore. Added and and or permissible. Allows you to create more complex requirements. (available with zMenu+). Fixed ConcurrentModificationException that could occur when using PlayerData #104. Fixed material's loaders. Fixed commands and messages placeholders. Fixed buttons with multiple slots that could not be on another page. You can now define a list of slots and a page for your buttons. Fixed next and back button with old inventories Rework messages.yml, you need to redo your configuration. You can use trims in 1.20. Updated miniumRequirement to minimum-requirement for requirements. Updated maxPage to max-page for inventory name. Register command permissions in Spigot. This prevents the command from appearing in the player's tab completion if they do not have permission.
Bug fixes and global placeholder!
on Feb 15, 2025Added Global Placeholders, which allows you to define values that will be available across all inventory configuration files. Fixed custom heads with URLs Fixed inventories that do not have a default type Added sound category Removed deprecated method onInventoryOpen(Player player, InventoryDefault inventory) Improved code, removed the slot variable to use only the list of slots for each button Fixed actions withdraw, deposit and requirement money, now allowing lowercase Added API code for use of slots in player inventory. Coming soon in zMenu+ ! Updated folia API All configuration keys are now in kebab case. Old configurations will still work but the documentation has been updated to reflect the new format. Improved pagination performance by avoiding unnecessary list management operations
zMenu 1.0.3.7
on Dec 16, 2024Added inventory type #97 Added placeholder priority #96 Added the possibility to include a prefix for lists when using a pattern. You need to add text in front of your placeholder Modified the money permissible to support more economies using CurrenciesAPI Modified the deposit and withdraw action to support more economies using CurrenciesAPI Added deny-message for commands. Allows to send a custom error message if the player does not have permission. Fixed the max page placeholder that says 0, it will now say 1 by default
zMenu 1.0.3.6
on Nov 12, 2024Added the ability to use font ItemsAdder with format :font-name: Improve TypedMapAccessor Added API method InventoryManager#openInventoryWithOldInventories Added API method ZButton#paginate Added action set permission, allows setting a permission to a player with luckperms Added aliases command and commands for console command action. Fixed max-stack-size for itemstack with 1.21
zMenu 1.0.3.5
on Sep 27, 2024- Added support for DeluxeMenus configurations. You no longer need to convert your DeluxeMenu configurations to zMenu, they are now automatically compatible!
- Added command /zm documentation [<word>]
- Added key title for inventory name, you can use name or title now
- Fixed itemstack with 1.21, components was added when it should not be added by default.
- Fixed the item backup system for potions and firework (use in /zm save command and in zEssentials)
zMenu 1.0.3.4
on Sep 15, 2024- Add support for \n in item lore
- Add refresh_requirement, allows refreshing the lore, name of the item or the button in its entirety according to several conditions.
- Add permissions on default commands
- Add PlaceholderAction: DIFFERENT_STRING, check that a string is different from the value
- Add sub commands for commands. You can now have sub commands to perform actions, for example, create a /votes party command, a /votes info command!
- Added aliases for enchantments, this allows using the word protection to obtain the PROTECTION_ENVIRONMENTAL enchantment
- Deprecated method
onInventoryOpen(Player, InventoryDefault)
use nowonInventoryOpen(Player, InventoryDefault, Placeholders)
- Fixed items flags (HIDE_ATTRIBUTES) for 1.20.4 and above
- Added zItems support, Example: material: "zitem:<item name>", zItems is an item that allows you to create items taking advantage of all the features of 1.21
Only for version 1.21 and above
- Added max-stack-size: <number>, Overrides the default maximum stack size of this item.
- Added max-damage: <number>, Controls the maximum amount of damage an item can take.
- Added damage: <number>, The absolute amount of damage or use this item has taken.
- Added repair-cost: <number>, Number of enchantment levels to add to the base level cost when repairing, combining, or renaming this item with an Anvil.
- Added unbreakable: <true/false>, Tools, armor and weapons set with this won't lose durability when used.
- Added unbreakable-show-in-tooltip: <true/false>, If false, an 'Unbreakable' line will not be included in the tooltip. Default is True.
- Added fire-resistant: <true/false>, If true, this item will not burn in fire.
- Added hide-tooltip: <true/false>, If present, it will completely hide the whole item tooltip (that includes the item name). The tooltip will still be visible and searchable in creative mode.
- Added hide-additional-tooltip: <true/false>, If true, disables the 'additional' tooltip part which comes from the item type.
- Added enchantment-glint: <true/false>, If true, the item will glint, even without enchantments; if false, the item will not glint, even with enchantments. If null, the override will be cleared.
- Added enchantment-show-in-tooltip: <true/false>, If false, no enchantments will be shown in the item tooltip. Default is true.
- Added attribute-show-in-tooltip: <true/false>, If false, the attributes will not show on the item tooltip. Default is true.
- Added item-rarity: <COMMON/UNCOMMON/RARE/EPIC>, Determines the default color of its name. This enum is ordered from least rare to most rare.
- Added trim: <trim configuration>, Represents an armor trim that may be applied to an item.