public class MenuCommandManager extends Object
| Constructor and Description |
|---|
MenuCommandManager(BetterGUI plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMenuCommand()
Clear all menu commands
|
Map<String,org.bukkit.command.Command> |
getRegisteredMenuCommand()
Get registered menu commands
|
void |
registerMenuCommand(org.bukkit.command.Command command)
Register the command that opens the menu
|
void |
registerMenuCommand(String command,
Menu menu)
Register the command that opens the menu
|
public MenuCommandManager(BetterGUI plugin)
public void registerMenuCommand(String command, Menu menu)
command - the name of the commandmenu - the menupublic void registerMenuCommand(org.bukkit.command.Command command)
command - the menu commandpublic void clearMenuCommand()
Copyright © 2023. All rights reserved.