IconMenu Commands
Example of use :
'example':
command: /iconmenu
type: ICON_MENU
text:
- 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
iconmenu_title: '&cMyCommand &4ItemMenu'
iconmenu_size: 27
iconmenu_commands:
- '0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu'
- '1:COMPASS:0:/mycmd:Menu:MyCommand menu'
- '9:EMERALD:0:/list:Player List:&bShow online players'
- '10:WATCH:0:/time set 0:Day:Turn day'
- '26:WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->'
Result (old img):
iconmenu
Note : "iconmenu_title" can be max 32 chars
Also,you can put "%openiconmenu%" it as a prefix of command to run in a iconmenu for open another iconmenu.
Example :
iconmenu_commands:
- '0:WORKBENCH:0:%openiconmenu%/iconmenupage2:&2Next Page:&aChange page'
You can also add enchants to items:
Use ; for split the itemname from enchantname :
0:ITEM_NAME;ENCHANTMENT_NAME;LEVEL:0:/command:Title:Description
Become :
0:STONE_SWORD;DAMAGE_ALL;1:...ecc ecc.