Installing MyMenu:
- Download the jar file into your plugins folder.
- Add the permissions using your desired permissions plugin.
- Reload the server.
Read the commands page to get an understanding of how to use all the commands. This will make plugin usage much easier.
A Welcome Menu:
- The first time you run the plugin on the server, a default welcome menu will already be set up as an example of a menu.
- To open the welcome menu run the command: /mmopen welcome
Deleting A Menu:
- Type in the command: /mmdelete [menu]
Setting Up Your First Menu
- Run the command: /mmcreate [Menu-Name] (Optional- Rows) (Optional- Inventory Name)
- If you specify rows make sure they are always before the inventory name.
- If you don't specify rows, 6 will be used.
- Color codes are supported for the inventory name! Use &[Color/Format] to use color.
- Make sure if you are using format with color to put the format after the color. Example: &a&lExample Name.
- An empty inventory will appear with the options you used.
- Your player-name and player-UUID will be used in the menu info. To remove these you must use the config.
Editing A Menu:
- To edit an existing menu, use the command /mmedit [Menu]
- Adding a new item to your menu:
- Right click in an empty slot in the menu. You cannot use your normal inventory at this time.
- The menu will be closed to receive information from you about the item to add.
- To cancel adding the item at any time during the prompts enter in: mmcancel
- Enter in the desired material to be placed in the slot.
- Use _'s in places of spaces.
- Make sure to spell correctly.
- Air cannot be used as a material.
- Enter in the item amount.
- This will just change how large the stack size is.
- Useful for creating step-by-step instructions.
- Enter in the amount of commands you would like to run for the item. (Between 0 and 10)
- Enter in the commands one by one as they are requested.
- Do not place a "/" in front of the command! For example: Want to use the command: /spawn? Type in: spawn instead!
- If you would like to have it send the player a message instead of run a command place a "\" in front of the text and enter a message.
- You can have the console run the command! Place a "$" in front of the text.
- You may use any {WILDCARD} you want for the command. List is found below.
- You can use {WILDCARD}'s and console together! Example: $give {PLAYER} diamond 64
- You may use color for the command. Use &[Color/Format].
- You may choose not to enter in a command, so the user may not click the item. To do this enter "none" for the command.
- Enter in the item name.
- You may use color for this. Use &[Color/Format]. Defaults to white.
- You may choose not to specify a name by entering "none"
- Enter in how many lines of item lore you want (Between 0 and 10).
- Item lore is the description for the item. It is found under the display name.
- Enter in each line of lore as they are requested.
- Color is supported for this! Use &[Color/Format] for this. Defaults to white.
- Blank lines may be achieved by entering in just a color code. For example &r
- Removing an item from your menu
- Simply right click on an item within your menu and it will be removed.
Wildcards
A wildcard is something that is replaced with a value when the command is ran. Example: {PLAYER} is replaced with the player's name who clicked the item.
Wildcard | Description |
{WORLD} | World name. |
{SERVER} | Server name. |
{LOCATION-X} | Player's x-location. |
{LOCATION-Y} | Player's y-location. |
{LOCATION-Z} | Player's z-location. |
{PLAYER} | Player's name |
Have any suggestions for a new {WILDCARD}? Suggest them in the comments!
Material List
The material list below provides the materials that have different names than Minecraft's default material name. The names below will probably be more familiar to you, and they are used when you are creating a new menu item. They are entered in exactly as they appear on this page.
These are not the only supported materials.
Planks | | |
oak plank | spruce plank | birch plank |
jungle plank | acacia plank | dark oak plank |
Saplings | | |
oak sapling | spruce sapling | birch sapling |
jungle sapling | acacia sapling | dark oak sapling |
Logs | | |
oak wood | spruce wood | acacia wood |
birch wood | jungle wood | dark oak wood |
Leaves | | |
oak leaves | spruce leaves | acacia leaves |
birch leaves | jungle leaves | dark oak leaves |
Sandstone | |
chiseled sandstone | smooth sandstone |
Wool | | | |
white wool | orange wool | magenta wool | light blue wool |
yellow wool | lime wool | pink wool | gray wool |
light gray wool | cyan wool | purple wool | blue wool |
brown wool | green wool | red wool | black wool |
Flowers | | |
rose | blue orchid | allium |
azure bluet | red tulip | white tulip |
pink tulip | oxeye daisy | |
Double Slabs | | | |
double slab | double sandstone slab | double wooden slab | double cobblestone slab |
doubel brick slab | double stone brick slab | double nether brick slab | double quartz slab |
Slabs | | | |
slab | sandstone slab | wooden slab | cobblestone slab |
brick slab | stone brick slab | nether brick slab | quartz slab |
oak wood slab | spruce wood slab | birch wood slab |
jungle wood slab | acacia wood slab | dark oak wood slab |
Stained Glass | | | |
white stained glass | orange stained glass | magenta stained glass | light blue stained glass |
yellow stained glass | lime stained glass | pink stained glass | gray stained glass |
light gray stained glass | cyan stained glass | purple stained glass | blue stained glass |
brown stained glass | green stained glass | red stained glass | black stained glass |
Block Monster Eggs | | |
stone monster egg | stone brick monster egg | mossy stone brick monster egg |
cracked stone brick monster egg | chiseled stone brick monster egg | |
Stone bricks | | | |
stone bricks | mossy stone bricks | cracked stone bricks | chiseled stone bricks |
Walls | |
cobblestone wall | mossy cobblestone wall |
Quartz Block | | |
quartz block | chiseled quartz block | pillar quartz block |
Stained Clay Block | | | |
white stained clay | orange stained clay | magenta stained clay | light blue stained clay |
yellow stained clay | lime stained clay | pink stained clay | gray stained clay |
light gray stained clay | cyan stained clay | purple stained clay | blue stained clay |
brown stained clay | green stained clay | red stained clay | black stained clay |
Stained glass panes | | | |
white stained glass pane | orange stained glass pane | magenta stained glass pane | light blue stained glass pane |
yellow stained glass pane | lime stained glass pane | pink stained glass pane | tray stained glass pane |
light gray stained glass pane | cyan stained glass pane | purple stained glass pane | blue stained glass pane |
brown stained glass pane | green stained glass pane | red stained glass pane | black stained glass pane |
Carpets | | | |
white carpet | orange carpet | magenta carpet | light blue carpet |
yellow carpet | lime carpet | pink carpet | gray carpet |
light gray carpet | cyan carpet | purple carpet | blue carpet |
brown carpet | green carpet | red carpet | black carpet |
Large Flowers | | |
sunflower | lilac | double tallgrass |
large fern | rose bush | peony |
Golden apples |
golden apple | enchanted golden apple |
Dyes | | | |
rose red | cactus green | coco beans | lapis lazuli |
purple dye | cyan dye | light gray dye | gray dye |
pink dye | lime dye | dandelion yellow |
light blue dye | magenta dye | orange dye | bone meal |
Monster Eggs | | | |
creeper egg | skeleton egg | spider egg | zombie egg |
slime egg | ghast egg | pigman egg | enderman egg |
cave spider egg | silverfish egg | blaze egg | magma cube egg |
bat egg | witch egg | endermite egg | guardian egg |
pig egg | sheep egg | cow egg | chicken egg |
squid egg | wolf egg | mooshroom egg | ocelot egg |
horse egg | villager egg | | |
Heads | | |
skeleton head | wither head | zombie head |
human head | mob head | |
One I would suggest is "{SCORE_(Scoreboard Objectives Name)}" Ignore (Scoreboard Objectives Name), as that would be the scoreboard name. Case sensitive, because there can be capitalized letters in the score name. Basically, it would show the score, of that player, in the objective. Say "Not in objective", or "0" if player isn't in the objective. Must not be objective's show name.
So, lets say you made a scoreboard: "Oped" and was set on 1 for your self. If you put it like this in the chat for making the item, "{PLAYER}, your op score is {SCORE_Oped}" basically for me, it would say "KJP12, your op score is 1", while for a another player: "NOTNAMED, your op score is missingno", or "NOTNAMED, your op score is 0". Once again, it must not be objective's show name. That maybe a handy wildcard, for showing someone's score. (sorry if wasn't suppose to post in this comment area, but in main area.)
@KJP12
Good idea, I'll have to add that in a future update. Thanks for the suggestion!
Hi we have just started testing this plugin before making it live on our server, and we are so far very pleased with it, however we have one question, is it possible to make it so players cannot not drop the menu item, or a command for them to get it back if they do drop it?
Thanks in advance EllisWin
Can you add MyCommand support, please? When I try to run a MyCommand command, it gives me the "Unknown Command" error.
Does this plugin support bungeecord server commands?
Thanks
@WinFamSurv
I don't think so, but if you use a little utility called MicroJump you can have it issue /server commands.
How do I set an item to a Player's Head? Someone please respond
How can I set {SERVER}? Please post some example because i tried {SERVER} anni {anni} server ......
Is there a way to select a player within the menu too? Like having a ban option then a menu that lists all the players and you having to click one
Can I ask how dyes are written? For example, ROSE_RED doesn't work for me. Thank you in advance