zMenu Minecraft Plugin

By GroupeZ-dev

Inventory Builder integration

Buttons

BACK
Allows you to return to the previous inventory.
DYNAMIC_PAGINATION
Displays dynamically generated paginated content from a source. zMenu+.
HOME
Allows you to return to the main inventory, the one that was opened first.
INPUT
Captures chat input from the player (inputType, conditions, success/error actions). zMenu+.
INVENTORY
Opens a new inventory
JUMP
Allows to change page, to a predefined page.
MAINMENU
Allows you to returns to the main inventory you chose in the config.json
NEXT
Allows you to go to the next page if it exists. You can use the else element to display another button if there is no next page.
NONE
default button
PAGINATION
Displays static paginated content across pages (slots + elements). zMenu+.
PREVIOUS
Allows you to go to the previous page if it exists. You can use the else element to display another button if there is no previous page.
SWITCH
Displays a different button depending on a placeholder value (key + buttons map).

Actions

ACTIONBAR
Allows you to send a message in the action bar of the player. You can use placeholders and color/format codes here. MiniMessage format is enabled by default if your server supports it. Documentation
BACK
Return to previous inventory. Documentation
BOOK
Opens a book for the player. You can specify the title, author, and pages of the book. Documentation
BROADCAST
Sends a message to all online players. You can use placeholders, color codes, and format codes. The MiniMessage format is enabled by default if your server supports it. Documentation
BROADCAST SOUND
Send a sound to the online players, you must use XSound for sound. Documentation
CHAT
Sends messages on behalf of the player. You can use placeholders, color codes, and format codes. MiniMessage format is enabled by default if your server supports it. Documentation
CLOSE
Closes the player's inventory. Documentation
CONNECT
Allows sending the player to another server, only works with BungeeCord and Velocity. Documentation
CONSOLE COMMAND
Executes commands as the console. Documentation
DATA
Update player data. Documentation
DEPOSIT
Allows you to deposit money from the player’s account. Works with the BeastTokens, Vault, PlayerPoints, ElementalTokens, ElementalGems, Level, Experience, zEssentials, EcoBits, CoinsEngine and VotingPlugin. Documentation
INVENTORY
Opens an inventory. Documentation
MESSAGE
Sends a message to the player. You can use placeholders, color codes, and format codes. The MiniMessage format is enabled by default if your server supports it. Documentation
PLAYER COMMAND
Executes commands as the player. You can also send the command in the player's chat. Documentation
RANDOM CONSOLE COMMAND
Execute random commands from the list. Documentation
RANDOM PLAYER COMMAND
Executes random commands as the player. You can also send the command in the player's chat. Documentation
REFRESH
Refresh current button. Works only in click requirement. Documentation
SHOPKEEPER
Open a Shopkeeper trading inventory. Documentation
SOUND
Send a sound to a player, you must use XSound for sound. Documentation
TELEPORT
Teleport a player. Documentation
TITLE
Send a title. You can use placeholders and color/format codes here. MiniMessage format is enabled by default if your server supports it. Documentation
WITHDRAW
Allows you to withdraw money from the player’s account. Works with the BeastTokens, Vault, PlayerPoints, ElementalTokens, ElementalGems, Level, Experience, zEssentials, EcoBits, CoinsEngine and VotingPlugin. Documentation

Requirements

permission — Permission
No description provided. Documentation
placeholder — Placeholder
No description provided. Documentation
money — Money
No description provided. Documentation
item — Item
No description provided. Documentation
job — Job (Jobs Reborn)
No description provided. Documentation
luckperm — LuckPerms group
No description provided. Documentation
regex — Regex
No description provided. Documentation
player-name — Player name
No description provided. Documentation
cuboid — Cuboid
No description provided. Documentation
and — AND (all must pass)
No description provided. Documentation
or — OR (minimum must pass)
No description provided. Documentation

Placeholders

15 documented placeholders.

Placeholder Description Copy
%zmenu_argument_<key>% Returns the value of a command argument passed via zMenu custom commands
%zmenu_formatted_math_<expression>% Calculates a math expression and returns the result with number separators
%zmenu_global_placeholders_<key>% Returns the value of a global placeholder defined in global-placeholders.yml
%zmenu_math_<expression>% Calculates a math expression. Supports +, -, *, / and parentheses
%zmenu_player_max_page% Returns the maximum page number of the open inventory
%zmenu_player_next_page% Returns the next page number in the open inventory
%zmenu_player_page% Returns the current page number of the open inventory
%zmenu_player_previous_inventories% Returns the number of previous inventories in the player navigation history
%zmenu_player_previous_page% Returns the previous page number in the open inventory
%zmenu_player_value_<key>% Returns the stored player data value for the given key
%zmenu_statistic_hours_played% Returns the number of hours the player has played
%zmenu_statistic_time_played% Returns the player total playtime in a human-readable format
%zmenu_time_next_day_unix_timestamp% Returns tomorrow Unix timestamp in seconds
%zmenu_time_today_start_unix_timestamp% Returns the Unix timestamp for the start of today
%zmenu_time_unix_timestamp% Returns the current Unix timestamp in seconds

Permissions

22 documented permission nodes.

Permission Description Copy
zmenu.* Grants access to all zMenu commands.
zmenu.addons List official addons
zmenu.contributors Show plugin contributors
zmenu.convert Convert from other plugins
zmenu.create Create new inventories
zmenu.dialog Open dialogs
zmenu.documentation View documentation
zmenu.dumplog Export debug logs
zmenu.dupe Test anti-dupe system
zmenu.editor Access inventory editor
zmenu.give.item Give clickable items
zmenu.give.open.item Give menu-opening items
zmenu.list List all loaded inventories
zmenu.open Open inventories
zmenu.open.bedrock Open Bedrock forms
zmenu.open.bypass Bypass inventory open requirements
zmenu.players Manage player data
zmenu.reload Reload configurations
zmenu.reload.bedrock Reload Bedrock form files
zmenu.save Save items as inventories
zmenu.use Access to basic commands
zmenu.version Display plugin version information