Filled Craft More

Discussion in 'Archived: Plugin Requests' started by ThePluginMaker, Jul 10, 2014.

  1. Offline

    ThePluginMaker

    Plugin category: Fun

    Suggested name: MoreCraft

    What I want: A plugin where everything is configurable, when you craft an item you can make it give you more than 1, for example if i want it to give me 2 tnt every time i craft a tnt, in the config there would be like an item second then amount: 2

    Ideas for commands:

    Ideas for permissions: morecraft.use (Possibly more permissions per item?)

    When I'd like it by: asap
     
  2. Offline

    Mathias Eklund

    ThePluginMaker you know your signatures code is incorrect, right?
     
    Datdenkikniet likes this.
  3. Offline

    simgar98

    I think this gets closer, but his code just looks better (even though it wont work):

    Code:java
    1. public static void FixBreath(String playername){
    2. Player player = this.getServer().getOnlinePlayer(playername);
    3. if (player.hasBadBreath()){
    4. int ItemID = getConfig().getInt("mouthwash");
    5. ItemStack item = new ItemStack(ItemID, 1);
    6. player.getInventory().addItem(item);
    7.  
    8. }
    9. }

    I
     
  4. Offline

    izarooni

  5. Offline

    simgar98

    That comment is also pretty irrelevant.


    and so is this one.
     
    izarooni likes this.
  6. Offline

    ThePluginMaker

    lol, thanks guys, i don't mind if it's incorrect, it looks cleaner.
     
  7. Offline

    MCMastery



    Why do you request a plugin when you already know how to make them [sheep]
     
  8. Offline

    Necrodoom

  9. Offline

    MCMastery

    Necrodoom oh his name kind of implies it though xD
     
  10. Offline

    timtower Moderator Moderator

    Yeah, don't thrust names on here.
     
  11. Offline

    ThePluginMaker

    i'm still learning java. i'm not too bad at it, i understand quite a bit of it. just the process of making plugins is what i'm still learning
     
  12. Offline

    ThePluginMaker

  13. Offline

    dsouzamatt

    ThePluginMaker I'll make this. Give me a couple of hours.

    Edit: Sorry, I can't; there are some bugs which I just can't sort out.
     
  14. Offline

    ThePluginMaker

  15. Offline

    ThePluginMaker

  16. Offline

    MnMaxon

  17. Offline

    ThePluginMaker

    MnMaxon
    thanks man works like a charm, just yeah add it show it shows how much you're crafting in the workbench like you said, that's a good addon :) thanks again :p
     
  18. Offline

    MnMaxon

    ThePluginMaker
    I fixed it: https://www.dropbox.com/s/87xhbrv8fn9pes9/MoreCraft 1.0.jar
    Sorry it took so long, I didn't have a lot of free time the past few days.
    I just saw you wanted a permission node and as far as I know, it is not possible to give a permission node per crafting recipe. I'll try to find out more about it later, but I don't think I will be able to add it.
     
  19. Offline

    ThePluginMaker

Share This Page