[Guide] How to use CreateYourOwnMenus

Discussion in 'Bukkit Help' started by EpicCraft21, Jan 27, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    EpicCraft21

    • Need a plugin like a compass warp, or a hide players?
    Want to open menus on an item right click and be able to edit it quickly and easily?
    Well, everything you need can be found here!
    http://dev.bukkit.org/bukkit-plugins/createyourownmenus/

    This awesome plugin allows you to bind a menu to an item!
    And I'm going to show you how to do it.

    Note: If creating a compass warp, you should probably use bungeecord as well.

    HOW TO INSTALL:
    Put the .jar or .zip file in the plugins folder.
    Reload server.

    REQUIREMENTS:
    -A computer
    -A server
    -This plugin
    -Java 7(jre and jdk)
    -Creative mode

    A LOOPHOLE HAS BEEN DISCOVERED THAT AS LONG AS YOU ARE IN CREATIVE MODE, YOU CAN MAKE A MENU, SO BE SURE NOT TO PUT PLAYERS IN CREATIVE!
    BUT AS THE WEBSITE ITSELF SO AWESOMELY SAYS,
    "You can alleviate this somewhat by adding commands to the "blacklist-commands:" section in the config.yml. This will stop anyone but operators from using menu items with those commands on them. E.g.

    blacklist-commands:
    - op
    - stop
    - kick
    - grantperms etc etc

    Another option is to keep those players in Survival mode, but use other plugins to give them creative-like powers such as infinite resources, fast breaking and flight."

    SO FOLLOW THAT ^^^^^^^^^^^^^^^^^^^^

    SOME GHOST ITEMS MAY BE CREATED, BUT IT IS A MOJANG BUG!
    AND YOU PROBABLY DO NOT WANT TO USE A RIGHT CLICK ABILITY ITEM, LIKE FIREWORKS!


    Okay, so now back to actually how to do it.

    After installing the plugin and reloading/restarting the server, do /menu for detailed instructions on e plugin itself.
    By default, ops are the only ones with the ability for the commands, so to allow others to do so, grant them the permissions listed beside each command. It should be like this: cyom.commands.(command name)


    COMMANDS:
    It would be easier to check this
    http://dev.bukkit.org/bukkit-plugins/createyourownmenus/pages/commands-and-permissions/
    But I'm going to list this here as well.
    Note: I list it as description, command, and permission.

    Create a menu with id as the item ID, rows, and the title of the menu.
    /menu create (id) (number of rows) (title)
    cyom.commands.menu.create

    Copy an existing menu with different title and ID of the item. Note that the item is the item you right click to open the menu.
    /menu copy (old id) (new id) (new title)
    cyom.commands.menu.copy

    Allows op to edit existing menu, add or remove items in menu.
    /menu edit (id)
    cyom.commands.menu.edit

    Deletes existing menu.
    /menu delete (id)
    Cyom.commands.menu.delete

    Lists all menus.
    /menu list
    cyom.commands.menu.list

    Opens menu.
    /menu open (player) (id)
    cyom.commands.menu.open

    Grabs copies of all items in menu for specific player, or sending player if none is specified.
    /menu grab (player) (menu id)
    cyom.commands.menu.grab

    Clears all of the lore in the item in your hand. Allows you to write the script again from scratch
    /menu script clear
    cyom.commands.menu.script

    Displays hidden commands of lore of item in hand.
    /menu script show
    cyom.commands.menu.script

    Hides commands in lore of item in hand.
    /menu script hide
    cyom.commands.menu.script

    Add a line of text to the end of the lore of the item in your hand. Allows you to add comments and commands to the item
    /menu script append (text)
    cyom.commands.menu.script

    Replaces a line of text in the lore of the item in your hand (0 is the first). This allows you to modify existing menu scripts line-by-line
    /menu script replace (index) (text)
    cyom.commands.menu.script

    Inserts a line of text before the given index (0 is before first) in the lore of the item in your hand.
    /menu script insert (index) (text)
    cyom.commands.menu.script

    Deletes a line of text at the given index (0 is the first) in the lore of the item in your hand.
    /menu script delete (index)
    cyom.commands.menu.script

    Sets title of item in hand.
    /menu script title (text)
    cyom.commands.menu.script

    Reloads menu in disk and config.
    /menu reload
    cyom.commands.menu.reload

    Auto executes command as if player typed it. Useful for warps compass
    /sudo (player) (command)
    cyom.commands.sudo



    CONGRATULATIONS, IF THIS TUTORIAL HELPED YOU, YOU ARE NOW A BOSS. *bows*
     
  2. Offline

    CJ12345

    How do I allow and item in the menu to do a command when clicked.. I.e /hub

    And how do I give a player the menu block on join?

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jan 31, 2015
    django07 likes this.
Thread Status:
Not open for further replies.

Share This Page