Commands & Permissions
Comprehensive listing of commands, aliases, and permission nodes in EasyMenu 7.
EasyMenu Commands
| Command | Description | Permission | Default | Run by |
|---|---|---|---|---|
/menu | Opens the main menu (main.yml) | None | Everyone | Players only |
/menu reload | Atomically reloads configurations and menu definitions | easymenu.command.reload (easymenu.admin also works; so do operators) | OP | Players and console |
/submenu <ID>/sm <ID> | Opens a specific submenu by ID | None | Everyone | Players only |
<open-command> | Custom command registered via a menu's open-command | As configured | As configured | Players only |
Tab completion for /menu reload is shown only to senders who may reload.
EasyMenu Permissions
These two nodes are registered in plugin.yml:
| Permission Node | Description | Default |
|---|---|---|
easymenu.admin | EasyMenu administrator permission (includes easymenu.command.reload). | OP |
easymenu.command.reload | Allows running /menu reload. | OP |
The permission nodes you use for open-when are yours to choose per menu.
The node you write in an item's cooldown.bypass-permission is an arbitrary string. The name easymenu.cooldown.bypass is only an example; EasyMenu does not register it and it is not granted to operators by default.
Grant the node you wrote to the relevant players or groups with your permissions plugin (LuckPerms, for example).
Dynamic Open Command Permissions
Custom permissions can be defined per menu using open-command:
open-command:
name: "vipshop"
permission: "myserver.vipshop"
permission-default: false # false = OP only; true = all players
For the characters allowed in name and aliases, and for automatic permission registration, see Opening Menus.
NegiLib Commands (for reference)
These commands belong to the rendering foundation NegiLib, not to EasyMenu. They are not available just by installing EasyMenu and require NegiLib's negilib.admin permission (default: OP).
Both must be run by a player; they cannot be used from the console ("This command must be run by a player." is shown).
| Command | Description |
|---|---|
/negilib debug visual | Shows how the item in your hand was resolved for display, plus cache state. |
/negilib reload | Re-parses and activates the resource-pack layers listed under resource-packs in plugins/NegiLib/config.yml. |
See the NegiLib Settings Guide for NegiLib's configuration.