Inactive [ADMIN/SEC] RecipeRepo v0.1.4 – Prevent Unwanted Recipes [1.2.5-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Jsn_man, Jan 5, 2012.

  1. Offline

    Jsn_man

    Do you run an RP server and don't want your players making beds? Do you wish that you could stop TNT placing right from the crafting table? Do you hate colors and don't want people to dye wool?

    Whatever the reason, Recipe Repo is here to help!

    What does it do?
    Using high-end Java list removing technology, this plugin has the power to eliminate certain unwanted recipes from your server. The recipes you choose to remove are completely configurable and easy to change.

    Shaped and Shapeless Recipes
    Minecraft has two types of recipes: shaped and shapeless recipes. Shaped recipes are only crafted when objects form a certain shape, for example how a wooden door requires two columns of planks next to each other. Shapeless recipes are the opposite. They will produce something no matter what shape is made, for example how you can place wool and a dye anywhere and still achieve an outcome. This plugin should cover both forms of recipes.

    Installation & Configuration
    1. Simply place the JAR file from the download below in your plugins folder.
    2. Once your server has ran once, a new file called blockedrecipes.yml will be created in the plugins/RecipeRepo/ directory.
    3. To block a new recipe, simply put in the ID of the item/block that you don't want to be crafted in blockedrecipes.yml. If the desired object has a damage value, put the ID followed by a colon and then the damage. If you need help, look below for examples.
    4. Once this is done, you can run your server and the blocks or items with the IDs you specified will no longer be able to be crafted.
    Examples
    If I wanted to block iron blocks (42) and wooden planks (5) from being crafting, my config file would look like this:
    Code:
    42
    5
    If I also wanted to prevent light blue wool (ID 35, Meta 3) from being crafted, my config file would look like this:
    Code:
    42
    5
    35:3

    If you are having trouble with finding IDs for the blocks and items in Minecraft, you can use this picture of all the vanilla IDs courtesy of the Minecraft Wiki. http://www.minecraftwiki.net/images/3/33/ItemslistV110.png

    Commands
    If you want to find out which items or blocks you cannot craft in game, just use the command /blockedrecipes and the server will tell you.

    Mod Support
    This plugin should be 100% compatible with non-vanilla blocks and items. An example of such is if you wanted to stop players from crafting IC2 machines. Just put in the ID and meta value (if applicable) of the object in the config file (with the mod installed, of coarse) and you should be set.


    Download RecipeRepo v0.1.4

    Latest Source: http://goo.gl/LqaN9

    Older:
    [1.0.1-R1] RecipeRepo v0.0.3

    Change Log



    v0.1.3:
    • Updated to 1.2.5-R1.
    v0.1.0:
    • Modified core structure to improve clarity and performance.
    v0.0.3:
    • Fixed a command bug.
    v0.0.2:
    • Altered the method that was used to decide if a recipe was shaped or shapeless
    v0.0.1:
    • Initial export.
     
    rezays likes this.
  2. Offline

    md_5

  3. Offline

    SheepSteve

    Forever useful![cake]
     
  4. Offline

    Kozzy68

    great plugin. there was one like this onece but its dead. Would you condider also option for changing how much items you gain from crafting original MC recipies ? There is no plugin that can do that and this one has quite close to such function. Some original recipies are quite unbalanced adding so much grind to game.
     
  5. can you add, that every single recipe has a permissions node smth like reciperepo.cancraft.(id)
    u need for crafting this?
     
    tombik likes this.
  6. Offline

    AlexMac

    Good.
     
  7. Offline

    Jsn_man

    @Kozzy68
    That's actually a good idea and I'll see what I can do with it.

    @DesaLon
    Sadly, the way in which I change the recipes cannot be based upon player.

    Does anyone know why the topic's title is null only on http://plugins.bukkit.org/ and how to fix it?
     
  8. Offline

    tombik

    Don't change it, it gives you more attention! :D
    Nice plugin btw
     
    mrarroyo and nunber1_Master like this.
  9. Offline

    foldagerdk

    Don't know why, but your plugin shows up as "null" on the plugin list :)
     
  10. Offline

    number1_Master

    he doesnt know why either, read above your post :)
     
  11. Offline

    Jsn_man

    I'd prefer not to implore that kind of propaganda.
     
  12. Offline

    LucidLethargy

    Can this ban potion recipes? So far I have had no luck, but I REALLY want those stupid things off my server save for quest rewards and other special events.
     
  13. Offline

    Jsn_man

  14. Offline

    LucidLethargy

    I've banned normal glass bottles through modifyworld with PEX for the time being, so it no longer seems like as big of a deal, but it would be better to ban/modify them in the brewing stand so I could make some custom potion recipes (although man, it would be nice if someone made a plugin that had custom potions with custom effects... I can't believe nobody is working on that!) Either way I love this plugin, unlike others it actually works, and works well!
     
  15. Offline

    Jsn_man

    @LucidLethargy Potions... are complex. I thought they would be the same as furnace recipes, but that's not the case. I might be able to find some small thing I can alter that will change the recipes... wait I just had an idea mid-sentance. I've got to see if this works.
     
  16. Offline

    norsac321

    I've been looking for somthing like this for ever...Thank you for making this awsome plugin i'm using it on my server
     

    Attached Files:

  17. Offline

    DIgital_stick

    Could you update it for latest MC Version(1.1.0)?
    It can ban only with Items/Blocks Recipe Only in Vanila.
    :'-(
    sorry for my English.
     
  18. Offline

    mushroomhostage

    I'm using this plugin on 1.1-R4 to remove the crafting recipe from the non-vanilla Mo' Food and Crops mod (its dish item 3704 conflicts with PlasticCraft's wood flour recipe) – it has been working great for me, no problems so far.

    edit: I have noticed a few minor glitches. When crafting the banned recipe, it briefly flashes the old recipe output. Also, the banned recipe can be accessed using the Crafting Table II mod (if you're using it – I actually like this feature, since it means the original recipe is preserved, but if you want to block recipes, something to keep in mind).
     
  19. Offline

    Jsn_man

    mushroomhostage The recipes only flash because they are there on the client, but the server then says that the recipe shouldn't exist, so it then removes it. Don't worry, no matter how fast someone is, they can't remove it. I'll try to boost the importance of the plugin so that it can remove recipes before the Crafting Table II can detect them, but then again, it may search and destroy before the actual recipes are submitted by the mods. I'll really have to look into that.
     
  20. Offline

    mushroomhostage

    I actually like the ability to access the disabled recipes through Crafting Table II – so if you do find a way to block this, it would be great if there was an option to turn it off :).

    Also, I haven't investigated this too much, but someone in #mcportcentral reported how IC2 QuantumSuit Boots couldn't be blocked. I reproduced this problem, tried adding 30171, 30171:-1, 30171:26 to the blocked recipes, but they still could be crafted (on a regular crafting table) even after restarting the server. I don't need this for my purposes, but thought you might be interested in this problem. My uninformed guess is that it is somehow related to the damage values on the crafted items and/or their durability.

    edit 2012/03/27: PotionsPlus released ;)
    You should post a request to the requests forum for this =). I wanted to make such a plugin, adding new effects to the numerous unused potions already in the game.. but haven't got around to it. But I think it'd be a fun plugin and could enhance the game in interesting ways without client-side modification, exploiting unused values similar to EnchantMore. There actually is already one plugin I know of which uses special potions: Mortuus Terra ("Players can cure themselves of the Zombie infection by crafting and throwing a special potion." and "Players can create a special potion that has a chance to detonate a nuclear explosion, adding a crater and radiation to the world.").
     
  21. Offline

    Timmie3054

    Does this plugin work for 1.2.3? I tried it and when I do /plugins, the plugin shows up. Although the ID's I add don't seem to get blocked. When I do /blockedrecipes it say there are no blocked recipes. When I clearly added some.
     
  22. Offline

    AmoebaMan

    Source?
     
  23. Offline

    Jsn_man

    I've now updated to 1.2.5-R1, so everything should work as intended. As always, if there are any issues, please inform me of them so I'm able to fix them.
    AmoebaMan The source is on my other machine right now, so I'll probably get around to posting it tomorrow.
     
  24. Offline

    AmoebaMan

    Jsn_man Tag me when you do please
     
  25. Offline

    Luxius96

    Dont work with mod loader
     
  26. Offline

    GalaxyBlast

    I put this on my tekkit server to prevent the crafting of NanoSuit armor, but I can still make it, I even set an admin to builder and he could craft it too? please help
     
  27. Offline

    Jsn_man

    AmoebaMan: The source has been added.
    GalaxyBlast: Tekkit runs on an older version of Bukkit, if I remember correctly, so I suggest you use the 1.0.1-R1 build. If that doesn't work, please say so.
     
  28. Offline

    larrystephen

    Could you also add a feature to block certain items from being enchanted?
     
  29. Offline

    Jsn_man

    larrystephen: That's not a bad idea. I'll take a look at it later.
     
  30. Offline

    Speedyboy235

    EXACTLY what I've been looking for! Never thought it was possible!
     

Share This Page