This plugin aids client server communication by providing players with numbered menus. It is designed to be used by other plugins, and also supports server-side yml configured menus.
Features:
Download the latest version: MenuMetaMod.jar Requirements: Spout
Version: v0.8 This plugin aids client server communication by providing players with numbered menus. It is designed to be used by other plugins, and also supports server-side yml configured menus.
Outdated - Sample Plugin (Menu for MyWarp)
MenuMetaMod.sendMenu(player, new MetaModMenu(title, optionText[], commands[]) ); // optionText = String[] of Option Titles // commands = String[] of Commands to execute on selection
When the player chooses an option, the plugin makes the player execute the command at the same index in the commands array. (eg. "/warp spawn" is executed)
For a full implementation See line 100 of MyWarpMenu.java, which gets a list of the warps available to the player, creates the arrays, and sends the menu.
On first launch, the plugin will create an empty config.yml in the plugins/MenuMetaMod/ dir. Fill it up with content, following the syntax of the example file: Sample config.yml
Menus will be sent to the user following the command:
/qm ('command' in config.yml) e.g. /qm menu1 the command [code]/qm[/code] will send the 1st configured menu
With MyWarpMenu

Old but approximate: MetaMenuMod