TooManyItems Like Enchanting Menu

Discussion in 'Archived: Plugin Requests' started by wschumer, Jul 9, 2013.

  1. Offline

    wschumer

    So as many of you know, TooManyItems, while a client side mod, contains certain features that work in multiplayer and certain features that do not. One feature that does not work in multiplayer (efficiently) is the enchanting menu. I happen to love to use this tool, but certain features don't work on servers. For example, you cannot get level 10 enchantments in multiplayer while you can in single player.

    My idea is, someone makes a plugin that allows, with the use of a command, to bring up a menu similar to that (I'm not sure if you can directly use the TMI code as I'm new to this)
    This would bring up a menu that works the same if not better as the SMP version of the menu.

    I'm new to the forums, so If I did anything wrong just tell me.
    (Although I am use to this forum style, which I believe is Cloudflare)

    Also this would be an op only tool, so you could work with that I guess :3

    ~Wsch
     
  2. Offline

    timtower Administrator Administrator Moderator

    wschumer We can only show an Enchanting inventory, we can't change the max-level of it. (this is based on the default api)
     
  3. Offline

    Warreo

    timtower I believe that you could, when creating the inventory, use a name that is relevant to the type of enchants you want. So then you could attempt to reverse translate that on the enchant event. Of course the enchants you want would have to be predetermined... soyou're better off just using a plugin that could enchant the item in your hand... but I guess it's still a solution to what he wants haha :)
     
  4. Offline

    timtower Administrator Administrator Moderator

    I agree with the command based thing, much easier
     
  5. Offline

    Warreo


    Haha obviously much easier and makes wayy more sense... but like I said, it is technically a way to do it :) haha
     
    timtower likes this.
  6. Offline

    wschumer

    Well I don't know a whole lot about making plugins, merely here to make suggestions I guess. Thanks for your input though :D
     
  7. Get NEI and install it on the server, works fine with enchants up to level 10. Can also use it to place enchants on things that don't normally take enchants and I believe can be restricted to certain players (not sure if you can restrict to groups other than OP).
     
  8. Offline

    Chaositic

    Enchantmentpack would have what you need. Basically, watch the youtube video on that bukkitdev page and you'll learn about Custom Enchants and the ability to change the max possible level for any enchant, including enchants contained in vanilla minecraft. This is what part of the config for changing vanilla enchants looks like:
    Code:
      Vanilla Enchantments:
        ARROW_DAMAGE:
          Table: true
          Weight: 10
          Group: Default
          Max Level: 5
          Base: 1.0
          Interval: 11.0
          Items:
          - BOW
        ARROW_FIRE:
          Table: true
          Weight: 2
          Group: Default
          Max Level: 1
          Base: 16.0
          Interval: 11.0
          Items:
          - BOW
        ARROW_INFINITE:
          Table: true
          Weight: 1
          Group: Default
          Max Level: 1
          Base: 17.0
          Interval: 11.0
          Items:
          - BOW
    As you can see, a lot of things you wouldn't expect are customizable so you can set the max possible level of any of these to 10 or higher and then you can set the exp level required as well in another part of the config. As for a menu, you'd have to get a bit creative and combine this plugin with ChestMenu and then you can setup custom buttons that will perform a command for you. You could make a command run this:
    /enchantapi add Sharpness 10
    and it would perform it for that person on the item they're holding in their hand.

    Hopefully this helps you out.
     
  9. Offline

    wschumer

    Thanks a lot actually :D

    This will work great, I'll make sure to drop on by the page and download the plugin.
     
  10. Offline

    Chaositic

    Glad to hear it! Make sure you watch the video I made on that enchantmentpack page, I covered about 16 of the 51 enchants included in the pack :)
     
    wschumer likes this.

Share This Page