đCommands and Permissions
Commands
Command | Permission | Description |
---|---|---|
|
| Display the list of commands. |
|
| Opens the specified inventory. |
|
| Reload configurations. |
|
| Reload |
|
| Reload inventory files. |
|
| Reload command files. |
| - | Show plugin version. |
|
| Convert DeluxeMenu to zMenu. |
|
| Display the list of inventories. |
|
| Create a new inventory file. You can add items afterward. |
|
| Save the item you have in hand in the plugin configuration format. |
|
| Retrieve the item used to open the inventory during a click. |
| Custom permission | Open a specific file. |
List of commands for the player data system can be found here.
Open Command with Arguments
You can use the /zm open
command with arguments (more details here).
For example, with the default inventory example_punish
, you can define two arguments to be used. You can do this in two ways:
Specify Argument Names: Use
<argument name>:<argument value>
format.Example:
/zm open zmenu:example_punish Maxlego08 false target:Maxlego09 reason:test
Result:
%zmenu_argument_target%
and%zmenu_argument_reason%
You can also add more arguments:
/zm open zmenu:example_punish Maxlego08 false target:Maxlego09 reason:"this is a really long reason"
Use Values Directly: The argument names will be indexed as 0, 1, etc.
Example:
/zm open zmenu:example_punish Maxlego08 false Maxlego09 test
Result:
%zmenu_argument_0%
and%zmenu_argument_1%
Last updated