
zMenu
The best inventory plugin! Online editor available!
- Загрузки
- 30K
- Подписчики
- 57
- Обновлён
- 16 июня 2026 г.
- Лицензия
- GPL-3.0-only
Опубликован 15 сентября 2024 г.
Documentation: docs.zmenu.dev
Documentation en français: docs.zmenu.dev/v/fr/
With zMenu+ addon:
Features:
✅ Ability to create an infinite number of GUI menus and commands.
✅ Possibility to create several pages in the same inventory.
✅ Arguments, actions, and auto-completion for your commands.
✅ A marketplace to download configurations.
✅ An online inventory editor.
✅ Open Source: GitHub.
✅ Advanced API.
✅ Bedrock support !
✅ Ability to create an infinite number of buttons for each of your actions.
✅ Highly customizable.
✅ PlaceholderAPI support.
✅ Kyori Adventure Mini Message Format support.
✅ Folia support.
✅ Convert from other plugins: zMenuConvert.
✅ Patterns, no more need to copy and paste the same configuration several times!
✅ zHead and HeadDatabase support.
✅ Documentation translated into several languages:
- English: docs.zmenu.dev
- Français: docs.zmenu.dev/v/fr/
✅ Anti-duplication system. Duplication will be completely impossible with the plugin.
✅ Turn your items into a configuration with /zm save.
✅ Executable items for open inventories.
✅ Possibility to translate your items into several languages. The plugin displays the correct translation to the player!
✅ Use mathematical expressions in your inventories!
Plugin's files: https://docs.zmenu.dev/plugins-files
Video:
Ченджлог
1.1.1.5Релиз26.1.1, 26.1.2, 26.2 · 16 июня 2026 г.
New Features
- Player Inventory Placeholders: Added
%zmenu_player_empty_slots%to get the number of free slots in the player's inventory, and%zmenu_player_item_count_<MATERIAL>%to count the total amount of a specific item. These placeholders work even when the bottom inventory is hidden withclear-inventory: true, allowing shop menus to check if the player has enough space before purchasing. - Custom Commands: Add a new field
actions-requirementsfor custom commands, allowing you to specify requirements that must be met for the command's actions to execute. This provides more control over argument conditions and enhances command functionality. - Anvil Inventory Support: Added a new
ANVILinventory type, withrename-requirementsto validate the text entered by the player before running the rename actions. Inventory types are now resolved through a dedicatedInventoryTyperegistry (currentlyANVILandCHEST), making it easier to add new container types in the future. - Item Rules System: Added a flexible item-matching system configurable through a
rulesection. Built-in rule types:material,material-contains,material-prefix,material-suffix,name,lore,tag,custom-model-data, and theand/orcomposites to combine several rules. Plugin-specific item rules (match by item id, supporting wildcards andignore-case) are available for CraftEngine, Denizen, Eco, ExecutableBlocks, ExecutableItems, HeadDatabase, ItemsAdder, MMOItems, Nexo, NextGens, Nova, Oraxen and SlimeFun. Theitem_dragbutton now accepts arulesection to validate which items a player is allowed to drop. - New Action
set_item(set_item/set-item): place an item in one or several inventory slots (menu or player inventory viain-player-inventory: true), withdupe-protectionenabled by default. - New Action
take_item(take_item/take-item): remove a configurableamountof matching items from the player's inventory, withverification: SIMILAR(default) orMODELIDto control how items are matched. - New Action
refresh_slot(refresh_slot/refresh-slot): refresh only the givenslots(menu or player inventory) without rebuilding the whole inventory. - Check Inventory Requirement (
check-inventorypermissible): verify that a givenslotcontains a specific item (or that the player owns it), withsuccessanddenyactions and a configurable comparisontype. - Denizen Support: Added a new hook for Denizen, allowing Denizen items to be matched through the item rules system (
denizenrule type).
Bug Fixes
Clear Inventory Session Items: Fixed a bug where items given to the player during a menu session (e.g., via shop purchase actions) were lost when closing a menu with
clear-inventory: true. Session items are now collected before restoring the original inventory and properly restored afterward.ItemGiveAction Inventory Update: Added
player.updateInventory()after giving items via thegive_itemaction, ensuring the client inventory display updates immediately.Inventory Desync on Item Give: Fixed
ItemGiveActionnot callingplayer.updateInventory()after adding items, causing a visual desynchronization where the player's hotbar/inventory wouldn't visually update until the next interaction.Multi Dialogs
number-of-columns: Fixed multi-action dialogs not supporting thenumber-of-columnsoption.Nexo Glyphs in Items: Fixed Nexo glyphs not working inside items. Add
skip-first-cache: trueto the item configuration to use them.Animation Listener: Fixed an issue with
PacketAnimationListener(#245).
Internal Changes
- New Minecraft version detection system
MinecraftVersionover oldNMSVersionenum, allowing more flexible version checks and better support for future Minecraft versions without needing to update the plugin. - New utils annotations
@SinceVersion| These annotations can be used to mark classes that should only be loaded for specific Minecraft versions, check in theVersionFilterclass for more details.@UntilVersion| These annotations can be used to mark classes that should only be loaded for specific Minecraft versions, check in theVersionFilterclass for more details.@PaperOnly| These annotations can be used to mark classes that should only be loaded if the server is a Paper version, check in theVersionFilterclass for more details.@SpigotOnly| These annotations can be used to mark classes that should only be loaded if the server is a spigot version, check in theVersionFilterclass for more details.@AutoComponentLoader(renamed from@ComponentLoader) | Allow to load dynamically all items component loader without having to register them one by one in theZComponentManagerclass for "fr.maxlego08.zmenu" package, filtering by version and server type with the new annotations by the helper ofVersionFilterclass.@AutoListener| Allow to load dynamically all listeners who take aMenuPluginin their constructor or no-arg constructor without having to register them one by one in theZListenerManagerclass for "fr.maxlego08.zmenu" package, filtering by version and server type with the new annotations by the helper ofVersionFilterclass.@AutoActionLoader| Allow to load dynamically all action loaders without having to register them one by one, filtering by version and server type via theVersionFilterclass.@AutoMaterialLoader| Allow to load dynamically all material loaders without having to register them one by one, filtering by version and server type via theVersionFilterclass.@AutoPermissibleLoader| Allow to load dynamically all permissible (requirement) loaders without having to register them one by one, filtering by version and server type via theVersionFilterclass.@AutoRuleLoader| Allow to load dynamically all item rule loaders without having to register them one by one in theZRuleLoaderRegistry, filtering by version and server type via theVersionFilterclass.@RequiresPlugin| Mark a class so it is only loaded when a given plugin is present. Now supports aversionand atype(Comparison) to only load the class when the plugin version comparison is true, plus acheckMode(EXISTS/EXISTS_AND_ENABLED) to choose between "plugin installed" and "plugin installed and enabled".
- All action, component, listener, material, permissible and rule loaders are now discovered and registered automatically at startup through
ClassRegistryand the annotations above, instead of being registered one by one. ClassRegistrynow logs constructor instantiation failures, making it easier to diagnose why a loader did not register.- New dedicated NMS modules (
NMS/Base,NMS/v1_20_R3,NMS/v1_20_R4,NMS/v1_21_R1) with a versionedNMSHandlerabstraction. - New item packet management classes:
NMSMenuPacketListener,PacketQueueandForceChannelPromise. - New item components:
AttackRangeandMaxStackSize(with Spigot and Paper implementations); entity variant loaders refactored onto shared base classes (CollarColor,DyeColor,Enum,Registryvariant loaders). - Standardized string casing using
Locale.ROOTacross all classes for consistent, locale-independent behavior. - Migrated the build to a Gradle version catalog (
gradle/libs.versions.toml).
1.1.1.4Релиз26.1, 26.1.1, 26.1.2 · 21 мая 2026 г.
New Features
- Bedrock Inventory Support: Added full Bedrock inventory support via Geyser/Floodgate integration. Includes Bedrock-specific actions, buttons, input builders (with placeholders support and legacy color code conversion), drag button, inventory replacement, dialog support, and Bedrock player validation.
- Inventory Replacement: Implemented inventory replacement functionality, allowing inventories to be dynamically replaced across various classes.
- ItemStack Build Context: Added
ItemStacksupport to build context and updated durability handling in menu item stack. - PaperProfileComponent: Added new
PaperProfileComponentfor Paper-specific profile handling.
Bug Fixes
- Clear Inventory + BACK Button: Fixed items being restored to the player when clicking a BACK button between two inventories with
clear-inventory: trueandclear-inventory-type: PACKET_EVENT. Items are now physically cleared from the player inventory during storage, ensuring container content packets don't reveal hidden items. The close handler also uses physical restoration (giveInventory) instead of packet-based restoration. - Item Pickup with Clear Inventory: Fixed items being picked up by the player when
clear-inventoryis enabled. - Lore Metadata Duplication: Fixed "lore" metadata duplication when loading items.
- Color Handling: Fixed and simplified color handling for leather armor and banner patterns in
MenuItemStackLoader. - NPE Fix: Fixed null pointer exception.
- Import Fix: Fixed import for
ZBuildContextinItemEditAction. - API Errors: Fixed errors and updated API version.
Improvements
- Requirement Configuration Validation: Added validation for
click-requirement,view-requirement, andopen-requirementconfigurations. Detects common misconfiguration where users place requirement keys directly under the requirement section instead of using named groups (for click-requirement) or arequirementslist (for view/open-requirement). Displays a clear warning message with an example of the correct structure and a link to the documentation. - Inventory Lookup Optimization: Optimized inventory lookup with a map cache for better performance.
- CraftEngine Compatibility: Updated compatibility with the latest version of CraftEngine.
- Color Parsing: Added color parsing support.
Changes
- Time Placeholders: Changed
time_unix_timestamp,time_next_day_unix_timestamp, andtime_today_start_unix_timestampplaceholders to return values in seconds instead of milliseconds.
Internal Changes
- Standardized method parameter annotations to use
@NonNullacross action and button classes. - Standardized
thiskeyword usage in method return statements for clarity. - Streamlined item stack creation by consolidating special item stack application.
- Enhanced click handling in
Buttonclass and simplified click requirement configuration. - Updated Nexo dependency version.
- Updated Gradle repositories URL for Floodgate.
- Removed unused library files (
FirstCore.jar,zEssentials.jar,zMenu-1.1.0.0.jar). - Removed debug messages.
1.1.1.3Релиз1.21.9, 1.21.10, 1.21.11 · 19 апреля 2026 г.
New Features
- Pagination Management System: Introduced
PaginationManagerwithPaginationButton,PaginationNextButton, andPaginationPreviousButtonclasses, allowing a single button to handle pagination. Includes max page tracking and optimized page size handling. - Pagination Placeholders: Added pagination-related placeholders to
MenuPlaceholdersfor enhanced inventory navigation. - Reset Pagination Action: New
ResetPaginationActionand loader to reset pagination state for button paginations. - Skip Close Actions on Inventory Switch: Added
skip-close-actions-on-switchconfiguration option to prevent close actions from firing when switching between inventories, fixing issues with back/inventory actions triggering on close. - PacketManager Interface: Introduced
PacketManagerAPI interface and refactored title name handling in packet events for cleaner architecture. - ClickAction Enum: Added
ClickActionenum to streamline action handling inInventoryLoader.
Bug Fixes
- Fixed
CustomModelDataComponentdata handling (removed Optional) and added Paper-specific implementation (PaperCustomModelDataComponent) for proper Paper compatibility. - Fixed head cache issue in
ZMenuItemStack. - Fixed unnecessary
toLowerCaseconversion on dialog names inCommandDialogOpen. - Fixed item button click handling by removing redundant null check for clickable buttons.
Internal Changes
- Added javadocs.
- API fixes.
- Removed unused class.
1.1.1.2Релиз1.21.9, 1.21.10, 1.21.11 · 17 марта 2026 г.
Bug Fixes
- Fixed
openWithOldInventoriesmethod crash on 1.20 by usingCompatibilityUtil.getTopInventory()for safe inventory access. - Fixed trim pattern and material validation: now uses Bukkit
Registryinstead of the hardcodedTrimHelper, with proper error messages listing all available patterns/materials when a key is not found. - Fixed null
ItemFlagentries causing errors when applying flags to item meta. - Fixed
EnchantmentGlintOverrideComponentnot handlingfalsevalues correctly — previously onlytruewas applied, now bothtrueandfalseare respected. - Fixed click requirements defaulting to an empty click list when none are specified — now defaults to all click types.
- Fixed
AttributeWrapperto support an optionalNamespacedKeyinstead of always generating a random UUID, preventing attribute duplication on item rebuild. - Fixed database connection logger initialization order in
ZStorageManager. - Fixed item loading from map (
loadItemStack) to useMenuItemStackLoaderinstead of the removedMenuItemStackFormMapclass.
Improvements
- Command Permissions: Added dedicated permissions for
CommandMenuEditor(ZMENU_EDITOR),CommandMenuVersion(ZMENU_VERSION), andCommandMenuGiveOpenItem(ZMENU_GIVE_OPEN_ITEM). - API: Added
getClickRequirementKeys()method toMenuPlugininterface, allowing addons to retrieve the supported click requirement configuration keys. - Default Configs: Updated default configuration files (
pro_inventory.yml,playtime_reward.yml) to use kebab-case (view-requirement,click-requirement,open-requirement) matching current conventions. - Dependencies: Added
adventure-text-minimessageas a library dependency inplugin.yml.
Internal Changes
- Removed unused
PlayerSkinclass. - Removed unused
MenuItemStackFormMapclass and associatedfromMapstatic method. - Cleaned up imports and formatting across multiple files.
1.1.1.1Релиз1.19.2, 1.19.3, 1.19.4 · 9 марта 2026 г.
New Features
- MMOItems Support: Added material loader for MMOItems plugin integration.
- Enchantments Component: Added enchantments component support for item configuration.
Performance
- Performance improvement for items that will use a player's nickname to be displayed (player-head optimization).
Bug Fixes
- Fixed enchant key parsing in configuration.
- Fixed enchantments component initialization.
- Fixed title parsing before sending to player in
PlayerTitleAnimation. - Fixed dynamic material check in menu item stack caching logic.
- Fixed
%player%as a valid player argument in validators. - Fixed error handling and formatting in various loaders and actions.
- Fixed basehead itemstack rendering.
- Fixed French translations in message strings.
- Fixed wrong format issues.
- Fixed null checks for player in packet listeners.
- Fixed
[]display when placeholder returns an empty list. - Fixed null message handling in
getLegacyMessagemethod.
Internal Changes
- Refactored placeholder package structure and usage.
- Renamed
SpigotDyeColorItemComponentLoadertoSpigotDyedColorItemComponentLoader. - Changed item model type from
StringtoNamespacedKeyin MenuItemStack classes. - Updated
@Contractannotations inBaseInventory.javafor clarity. - Removed unnecessary whitespace in
ComponentMeta.java. - Removed debug messages.
1.1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 15 февраля 2026 г.
New Features
- Performance Debug System: Added per-operation performance monitoring for inventory opening. Measures execution time for each step (permission checks, button building, item rendering, etc.) and logs results to console. Configurable via
enable-performance-debug, with threshold filtering and whitelist/blacklist support for operation names.
Performance
- ItemStack Build Optimization: Optimized
ZMenuItemStack.build()to reduce redundant work on each inventory open:- Eliminated duplicate PlaceholderAPI resolution for material strings (was called twice per build)
- Pre-resolve
Materialat load time when no placeholders are present, skipping PAPI parsing at runtime - Replaced exception-based control flow for numeric material IDs with a simple numeric check
- Pre-compute
NamespacedKeyfortooltipStyle,itemModel, andequippedModelin setters instead of splitting/creating on every build - Cache the glowing enchantment lookup instead of querying the enchantment registry on every build
- Pre-split lore lines containing
\nat load time instead of splitting on every build - Added early exit in
Placeholders.parse()when the string contains no%character, avoiding unnecessary iteration over all placeholder entries
Internal Changes
- MiniMessage Color Parsing Refactor: Consolidated color parsing methods into
MiniMessageColorUtilsclass for better maintainability and code reuse. - Added unit tests to verify preservation of MiniMessage color tags.
Bug Fixes
- Fixed hex color parsing regex to correctly handle edge cases.
- Fixed typo in
PlayerCommandLoaderconstructor parameter list.
1.1.0.9Релиз1.21.9, 1.21.10, 1.21.11 · 3 февраля 2026 г.
New Features
- Dynamic Inventory Title Updates: Added
PacketEventChangeTitleNameandPacketTitleListenerfor changing inventory titles dynamically without reopening the inventory. Requires PacketEvents. - ClearInvType for Inventory Management: Introduced
ClearInvTypeenum and temporary inventory storage system for better inventory state management. - Per-Inventory Click Limiter: The click limiter now only applies to zMenu inventories and can be configured per inventory with
click-limiter-enabled: true/false. It no longer interferes with non-zMenu inventories. - Enhanced ItemButton Context:
ItemButtonnow includes inventory context for improved button logic and interactions.
Bug Fixes
- Fixed parsing of map structures inside arrays in YAML configuration. #219
- Fixed click limiter applying to all inventories instead of only zMenu inventories. #219
- Fixed inventory restoration on plugin disable. #215
- Fixed PacketEvents warning on plugin disable. #215
- Resolved scheduler compatibility issue with Folia.
- Fixed task registration during plugin shutdown.
- Enhanced variant component initialization with proper error handling and version checks.
1.1.0.8Релиз1.21.9, 1.21.10, 1.21.11 · 27 января 2026 г.
New Features
- New Item Component System (1.20.5+) - Complete overhaul with 30+ components (Enchantments, Lore, Trim, Tool, PotionContents, WrittenBook, AttributeModifiers, etc.). Improved error handling and case sensitivity.
- Animated Inventory Titles - Requires PacketEvents.
- Local Placeholders -
local-placeholderssection in inventory/pattern configs, cached with Guava for better performance. - Actions Pattern System - Define default actions for all buttons in
actions_patterns/directory. - New Actions:
message-to(send to specific player),open-actionsandclose-actionsfor inventories. - Console Commands - Commands can now be executed from console (
console: true). - LuckPerms - Permission expiration support with time unit configuration.
- MiniMessage support in toasts.
- Multi-line inventory names (useful with zTextGenerator).
- Resin trim material support.
Bug Fixes
- Fixed Avast false positive on VirusTotal.
- Fixed async access block and container component issues.
- Fixed PacketAnimationListener task execution when plugin is disabled.
- Fixed button reference in updatedButtons iteration.
- Various minor fixes.
Internal Changes
- Removed
getCustomItemStack(Player player)method. UsegetCustomItemStack(Player player, Placeholders placeholders)instead. - Renamed package
zcore→common. - Moved Component classes to API module.
- Added nullability annotations and new interfaces (
BuildContext,MenuItemStackContext). - Improved JavaDoc documentation.
Комментарии
Загружаем…






