RecipeManager
RecipeManager 2
Complex recipes made easy !
Features
NOTE: I will refer to some .html files in here, those files can be found in your /plugins/RecipeManager/ folder after you load the plugin the first time. The html files will also be updated automatically on new versions.
- Add new recipes (or remove existing ones):
- Shaped or shapeless recipes with optionally multiple results
- Furnace (+ Blast Furnace and Smoker) recipes with optional custom cook time and optional special fuel
- Fuel recipes with custom burning time or even random time from specified range
- Anvil, Brewing, Campfire, Stonecutting, and Compost recipes
- NEW: Grindstone and Cartography recipes with configuration for disabling default functionality
- See 'basic recipes.html' for more info.
- Making recipes more special with flags, featured flags:
- @permission to limit a recipe (or result) to specific permission node(s)
- @remove, @restrict and @override to remove/restrict/override existing recipes, including Minecraft recipes.
- @ingredientcondition to make extra requirements from ingredients like enchantments, ranged data values, stack amounts, etc
- @keepitem to keep an ingredient from using up and optionally damaging it in the process
- @modmoney/@reqmoney and their experience and level counterparts to require/give/take money/exp/level from crafter
- @cooldown to limit the usage of the recipe
- And a lot more, see 'recipe flags.html' for all of them including documentation.
- Flags can also be added to results to make them more special, some featured result flags:
- @cloneingredient to clone an ingredient's features over to the result, like data value, amount, enchantments, etc
- @itemname and @itemlore to edit a result's display name and description with colors
- @potionitem and @fireworkitem to design your custom potions and fireworks
- @getrecipebook to get a RecipeBook as result, ones generated by this plugin with recipes in them
- And a lot more, see 'recipe flags.html' for all of them including documentation.
- Flexible recipe files to add your recipes in:
- You can use any kind of spacing and letter casing you want in recipe files, also supports comments
- Design your file names and folder structure as you want in the 'recipes' folder
- Auto-generated recipe books with high customization:
- Pick which recipes to be added and to what volume
- Re-arrange them as you like
- Books that players have are automatically updated when edited by admin and reloaded
- For more information see 'recipe books.yml' file.
- Other features:
- Local documentation files for ease, the .html files that will be generated the first time you run the plugin
- Customizable settings, messages and item/data/enchant aliases in their respective YML files
- Supports Vault for economy and permission groups
- API for plugin developers, custom events and utility methods for most features
Installing or updating
- Download the latest version of the plugin
- Place the RecipeManager.jar file in the plugins folder and start/restart the server
- Now the plugins/RecipeManager/ folder is created which contains configuration files (.yml) and documentation files (.html)
Using the plugin
- Run the plugin at least once to allow the .html files to be generated, then start with 'basic recipes.html'.
- Plugin settings can be configured in "plugins/RecipeManager/config.yml"
- When you're done editing, type rmreload in server console to reload everything without a server restart.
- Commands and permissions can be found in 'commands & permissions.html' file.
Changelog
In the jar file, auto-extracted when first ran to plugins/RecipeManager/changelog.txt and on GitHub.
Having problems, found bugs ?
If you have any issues or found some bugs, please create a ticket. But first you should check other tickets if the issue has already been reported and then check out the Discord server below to ask for help.
Note: I don't support any previous versions other than the absolute latest, so if you used an older version, update and test again.
Source code
Source code is on github, feel free to look at it, improve on it and provide feedback: https://github.com/haveric/RecipeManager2 If you need, you can use code from my project but please provide credits to haveric and THDigi.
Support project
If you find my plugins useful and want to help support future development and faster updates, please consider donating and fueling my need for coffee:


-
View User Profile
-
Send Message
Posted Dec 29, 2012@Flutterwry
good work, but not ignoring default MC recipes when set in config "existing-recipes: nothing" fireworks can't create and all recipes must be in recipes folder (txt) can you fix it please? :)
-
View User Profile
-
Send Message
Posted Dec 28, 2012You don't have to use the item id: http://jd.bukkit.org/apidocs/org/bukkit/Material.html
-
View User Profile
-
Send Message
Posted Dec 27, 2012fireworks no item id
so can't make recipes
-
View User Profile
-
Send Message
Posted Dec 26, 2012<<quote>>Source code Source code is inside the jar file as always, feel free to inspire from it, improve on it and feed back. <<quote> **As respect, I follow the improve on it statement. However this is a unofficial version to work with 1.4.6 Bukkit. You use this HIGHLY at your own risk, I am not liable for anything nor is THDigi, only you are are for using it if anything happens. @THDigi, I respect you and am putting this here to give you some breathing room if you are busy, everything works as I have tested it. Nothing seems broken by what I can tell through testing everything I know to test. Please remove this post "or link" when official 1.4.6+ comes out.
Temp 1.4.6 UNOFFICIAL Recipe Manager plugin jar. All rights belong to THDigi, I do not own this. You use this again at your own risk, you are responsible for anything that happens "but nothing should". There is a added warning on Server Done that warns you are using this UNOFFICAL version, I put it there for a reason.
https://www.dropbox.com/s/21y1xpsrwd1mt46/RecipeManagerUnofficial1.4.6Compatability.jar
I am sorry, You WILL have to create the 1.4.6 new recipes yourself, such as fireworks and such. Because there is so many combines I simply could not waste time making them. It is much more easy to just ignore default recipes in Config and @override any you need to with custom ones and disable the vanilla ones you wish to modify.
Also side note, I removed some imports that are NOT being used at all, this should speed up plugin loading by at most a few hundred milliseconds. As well suppressed warning a deprecated method.
@THDigi and Bukkit Staff, feel free to remove this post if deemed against rules, or contact me if wish to notify of something. If removed, do please notify me. However this is a improved at moment RecipeManager as stated at top this comment. When official version for 1.4.6+ is released, this post is obsolete and can be removed, either by I or someone else.
-
View User Profile
-
Send Message
Posted Dec 26, 2012If you want to edit it using the hex editor, use this unofficial version: https://dl.dropbox.com/u/11144544/RecipeManager.jar Do note this is a version hacked together to work on 1.4, the original author can't provide support.
-
View User Profile
-
Send Message
Posted Dec 26, 2012Can someone post their working 1.4.6 version cuz i opened those classes with hxd editor and some other hex editors and they cant find 1_4_5 or 1.4.5 at all.
Ty
-
View User Profile
-
Send Message
Posted Dec 26, 2012That should work too :-D I have programmed various languages for over seven years, but i haven't figured out java yet. If you could upload your version somewhere, that would be awesome. If allowed, of course. If not, i'll have to attempt it myself, in which case some more details would be appreciated :-)
In any case, sounds like an official update wouldn't be that hard to make, is the official version still alive?
-
View User Profile
-
Send Message
Posted Dec 26, 2012@Master2II2
Or a more more easy way is to obtain the source code that respectfully THDigi has a link for to Github. Get Eclipse and Java SDK 1.6 or 1.7 and recompile after applying the NMS/OB changes.
Also Materials/Items must be changed to the same. I will put a example of the changes I did and RecipeManger works flawless on my 1.4.6 server. Still however waiting for official release.
Only Recipes, RecipeManger, and Events sources should need changed.
To note I compiled against BOTH 1.4.6 Bukkit R0.2 as well the API
There is a few imports that can be removed as they are not used. There is also iirc, or may be another plugin, deprecated method as well, just suppress the warning.
-
View User Profile
-
Send Message
Posted Dec 25, 2012Also possible! I don't update my server pc nearly as often as i should. (meaning; i update bukkit, and plugins if i have to) I'll try upgrading my java, and ill let you know if it works.
-
View User Profile
-
Send Message
Posted Dec 25, 2012I think that means it was compiled on java 7 and you're using java 6.
-
View User Profile
-
Send Message
Posted Dec 25, 2012Tried it: (using HxD and WinRAR)
First time, it couldn't find 1_4_5 in the class files. I tied the .java files, and it did find them there. Obviously, that didn't work.
I deleted the folder, and extracted the files again. This time, it did find 1_4_5 in the class files, so i replaced it with 1_4_6.
When i loaded the plugin, it gave me an error;
Could not load plugins\RecipeManager.jar
it said java.lang.UnsupportedClassVersionError, and Unsupported major.minor version 51.0
So, unfortunately, it doesn't work for me. I'm not sure if i did anything wrong, though replacing "1_4_5" with "1_4_6" isn't that complicated, or if my server is configured differently somehow, but i suppose i'll have to wait for the official one to get updated :P
If anyone else wants to try, just read the comment below this one, it has worked for others, but i guess you just have to try if it works with you.
-
View User Profile
-
Send Message
Posted Dec 24, 2012Take the jar, extract it and find the files Events.class, Recipes.class, and RecipeManager.class. Open them with a hex editor and replace all occurrences of 1_4_5 with 1_4_6. Open the archive and put the modified class files back into the jar.
I used 7zip to extract/open the archive, and HxD as a hex editor.
-
View User Profile
-
Send Message
Posted Dec 24, 2012Hi, i'm trying to make sense of the comments about getting it to work for 1.4.*, the official one worked without problems on 1.4.5 for me, but not on 1.4.6. Can someone that did figure out how to use it on 1.4.6 explain it to me? i read all the comments, but i still don't fully understand.
-
View User Profile
-
Send Message
Posted Dec 22, 2012Sweet, it seems to work fine for me so far at least. Also if anyone is interested, all you need to do to get this to work with 1.4.6 is go through Events.class, Recipes.class, and RecipeManager.class with a hex editor and change 1_4_5 to 1_4_6.
-
View User Profile
-
Send Message
Posted Dec 22, 2012Here is a hacked together UNTESTED .jar based off someones fork of the original project.
this has NOT been updated for 1.4.5, however has been made to compile against it.
All previous comments relating on how to get it working for 1.4.x should be followed.
do NOT use on production servers without testing.
I will not support this, neither should the original authors have to.
https://dl.dropbox.com/u/11144544/RecipeManager.jar
I however would love to hear feedback.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@Folas1337
We need one for 1.4.5 R1.0 too, more importantly than one for a dev version of 1.4.6...
-
View User Profile
-
Send Message
Posted Dec 21, 2012Just a really quick update for 1.4.6 =)
-
View User Profile
-
Send Message
Posted Dec 21, 2012Please update
-
View User Profile
-
Send Message
Posted Dec 20, 2012Please update soon :(
-
View User Profile
-
Send Message
Posted Dec 19, 2012Please, update to RB.
This is most important plugin on my server.