đCommands and Permissions
List of the commands and their permissions
Commands
List of commands for the player data system here.
Open command with argument
You can use the/zm open command with arguments (like here).
For example, with default inventory example_punish
. You will be able to define the two arguments to be used. You can do this in two ways.
The first is to specify the names of the arguments, as follows:
<argument name>:<argument value>
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 argument like that:/zm open zmenu:example_punish Maxlego08 false target:Maxlego09 reason:"this is a really long reason"
The second is to directly use the value, so the argument name will be 0 for the first value, 1 for the second etc... Example:
/zm open zmenu:example_punish Maxlego08 false Maxlego09 test
Result:%zmenu_argument_0%
and%zmenu_argument_1%
Convert
To convert your DeluxeMenu configurations to zMenu you must use the zMenuConvert extension.
Download link: https://groupez.dev/resources/zmenuconvert.266
After installing the plugin you need to run the command /zm convert. Your menus and commands will be created in the inventories/convert
and commands/convert
folders.
Be careful, the conversion may contain errors, you must check your files to make sure there are no problems.
Last updated