Advanced crafting

Discussion in 'Plugin Requests' started by Hurk, Sep 25, 2015.

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

    Hurk

    Plugin category: Crafting

    Suggested name: Advanced crafting

    What I want: Im looking for a plugin that would make it so crafting ingredients must have a name. However I don't think that is possible, so I thought up a way of doing this. When a player types a command (ex. /craft) a chest gui would appear with configurable items to make a line in the middle of the gui. On the left side, the player would put named items into a shapeless or a shaped crafting recipe, then it would scan the gui and if the recipe is correct, the output item (with a name/lores and stuff) on the right side.

    Here is an image to make it easier to understand: (this image was made by me in photoshop!)
    [​IMG]
    Notes:
    It would be great if there could be multiple outputs (ex. if I put a bucket of milk and wheat it would give me a cookie and an empty bucket or something else if it can be configured)
    On the picture it doesn't show that coco beans are named, but they are.
    If it's not possible to make a shape recipe, a shapeless would be fine but both options would be awesome.
    Maybe more than 3 rows would be awesome too (of course configurable in the config file)

    I got a side-idea for this too. If you are somewhere in the wilderness, you could only craft some recipess. Others like iron swords, iron armor, diamond armor, ..... would be only possible in a diferent gui that would be opened when you click on an NPC named ex. Blacksmith from a plugin called "Citizens" then used with a plugin called CommandNPC (this plugin allows you to click on npcs and then they would run a command for you) to make this possible. Im making an open world game on my server and this feature would realy REALY help me.

    I hope I didn't forget anything.:p

    Ideas for commands:
    - /craft reload (if the crafting recipes must be made in the config file or something)
    - /craft (the crafting gui would open)

    Ideas for permissions:
    - craft.reload (if player can reload the plugin)
    - craft.<recipe_name> (if a player can use a specific crafting recipe)

    When I'd like it by: As soon as possible.
     
  2. Offline

    Hurk

    Bump...
     
  3. Offline

    boysnnoco

    I'll give it a try :D
     
  4. Offline

    Hurk

    Thank you soooo much :)
     
  5. Offline

    pie_flavor

    @Hurk Actually it is completely possible.
     
  6. Offline

    timtower Moderator Moderator

    And who said that it wasn't?
     
  7. Offline

    pie_flavor

    @timtower
     
    timtower likes this.
  8. Offline

    Hurk

    I meant: "must be named" crafting ingredients in a crafting table are impossible.
     
  9. Offline

    pie_flavor

    @Hurk That is exactly what I am saying is very possible.
     
  10. Offline

    Hurk

    It is????? I did't know.
    But anyways, I would like a plugin that requires named ingredients for a recipe to work. But my idea can make more than 3x3 crafting area + named igreedients. :p
    I just hope boysnocco does it as soon as he can.
     
    Last edited: Sep 30, 2015
  11. Offline

    MisterErwin

    @Hurk The recipe itself does not care about the name, lore, NBT data, etc.
    But there is a PrepareItemCraftEvent.

    You could check the (crafting) matrix. And if is doesn't contain the items you want it to require, you can cancel the event.
     
  12. Offline

    Hurk


    I don't know how to code, so that doesn't help me. I only get basic ideas what could be possible. So I don't know what you mean by that :(.
     
  13. Offline

    pie_flavor

    He means that the actual recipe registration doesn't check for any of that stuff, but you can make it so that when someone actually puts a recipe in the table, it cancels it if it doesn't have the right things.
     
  14. Offline

    Hurk

    Bump.
     
  15. Offline

    Hurk

    Bump.
     
  16. Offline

    Hurk

    Bump. Anyone up for the job? i'm not sure of boysnnoco is actually doing anything. I message him and he didn't reply.
     
  17. Offline

    pie_flavor

    @Hurk Just to be clear, do you want the thing pictured in your first post or do you want just a normal crafting table? I will assume you want custom names either way.
     
  18. Offline

    Hurk

    Well, in the original idea it's possible to input more than 9 items, so it's probably better. It would be even better if it would scan the positions of the items so you could have more than just 3x3 crafting area.
    If you or anyone else who is willing to do it doesn't feel like spending time on that, atleast the crafting table part would help me. I just need a plugin that makes "next lvl crafting" ~ required named ingredients.
     
  19. Offline

    Hurk

    Bump.
     
  20. Offline

    Hurk

    Bump.
     
  21. Offline

    TheMagzuz

    I'll do it. It shouldn't take too long. I'll let you know if any delays happen :). Do you want it so you put the items into the interface, or you have some templates, where you choose what you want to craft?
     
  22. Offline

    Hurk

    What do you mean by templates? Is it so a gui opens with items in it that if you click on, take the "ingredient" items from your inventory and gives you the "crafted" item? If I got it right, then I guess this could be cool too. Oh and if thats what you're making, probably put a "next page" button on top or bottom of the gui...... an item that sends you to next page, is what I mean. Oh and the items in the gui (that you click on to "craft" stuff) should also, obviously, have name of what you will craft and a lore with ingredients. Or when configuring, you need to insert the lore so it's more configurable (so it doesn't say "ingredients: -apple" if you don't want, but "sample text: $datappl$".... or something like that).

    I hope you can imagine what I just said.
    You choose which one, both seem awesome to me. Thanks for taking the job :)
     
  23. Offline

    TheMagzuz

    I mean that when you open the GUI there is a bunch of recipes you just click and then you craft it without having to know the recipe
     
  24. Offline

    Hurk

    Ye, thats cool too :D
     
    Last edited: Dec 27, 2015
  25. Offline

    Hurk

    This bump is to prevent the thread to autolock.
     
  26. Offline

    TheMagzuz

  27. Offline

    Hurk

    Thanks for telling me :D
     
Thread Status:
Not open for further replies.

Share This Page