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 Sep 22, 2014@haveric
sure, I want a recipe to craft coloured leather armour. E.g: setting this recipe: wood+stone+wood to make green leather helmet craftable.
-
View User Profile
-
Send Message
Posted Sep 21, 2014@midlander23
Can you be more specific as to what you want the recipe to do?
-
View User Profile
-
Send Message
Posted Sep 19, 2014Hi, I'm wondering if I could set a recipe for coloured leather armour, hope you can help me and tell me how. PD: great work with this plugin, I really like it :D
-
View User Profile
-
Send Message
Posted Sep 10, 2014@Superboop
Some of the issues you had, such as /rmreload not working correctly are fixed in v2.1.1 (which is in the approval queue and on github under downloads).
I'll have to look into the other two issues, can you create tickets for them?
-
View User Profile
-
Send Message
Posted Sep 10, 2014Hi, many of the issues seem to be resolved for me. Currently there are 3 problems that I am encountering (CB1.7.9-02, RM v2.1):
- /rmreload causes some recipes to break (e.g. the override recipes). It seems that you are aware of this already.
- Placing items on the crafting table often creates the "anvil repair" sound (3 metal clinks). The sounds occur when an item is displayed on the crafting output (regardless of if the output is taken out of the output slot or not). So if I place a row of three iron bars on the crafting table, the metal repair sound pops up the moment I place the 3rd iron bar.
- When you have more than the necessary amount of items on the crafting bench, the output disappears, although you can still click on it and get the output. (i.e. graphical glitch). For example, if I have a recipe where a 2x2 of iron bar creates an output, having 2 slots with 2 iron bars and 2 slots with 1 iron bar will have the output display nothing; when you click on the output slot, however, you get the output.
-
View User Profile
-
Send Message
Posted Sep 9, 2014Also, suggestion i saw in another plugin related to this, plugin allowed for recipe creation on command, by placing crafting materials in the 9 slots on left side of main inventory space, and the item to be crafted in the top right corner of the main inventory area. it didnt matter what else you had in your inventory, as long as the materials, and finished product were in the proper place. you would then run a command to add the recipe, for instance /recipe add shaped, would create a shape specific recipe for that item. was very convenient, although the way the plugin was written would cause people to lag out of the server due to a refresh of every single recipe (including the vanilla recipes it had created and overwritten) when you created a new recipe
it also affected other recipes as well, players couldnt craft any items created by mods, that hadnt been coded into the plugins recipes. just an idea, for a simple ingame way to add recipes, for ease of access of the administrators using this, either way, still an amazing piece of coding!
LGC_McLovin
-
View User Profile
-
Send Message
Posted Sep 9, 2014by far the most amazing recipe plugin ever, i am using this plugin on a Pixelmon server running the latest pixelmon build on 1.7.10 minecraft. I ran into an issue with another plugin fastcraft, which automatically detects bukkit recipes and adds them to its database automatically for simple click crafting of items. but this does not detect recipes added by mods. within seconds of installing this plugin (i use plugman to load new plugins while servers still running) i had added permissions, and extracted the recipes from the pixelmon mod into this plugins files with 1 simple command. which automatically added the pixelmon mod items to the fastcraft crafting database. giving my players the ability to craft their pokeballs with just a click of the mouse, no more putting items in a crafting table!!! Amazing work, to say the least. and if youre interested in working with growing server group with some pretty epic plans in the works, would love to have a chat with you. teamspeak IP is ts3.milspecsg.com just ask for the owner. im on quite often. hope to hear from you, again amazing work, and good day
LGC_McLovin
-
View User Profile
-
Send Message
Posted Sep 6, 2014@haveric
Well i dont want to use a uuid build :)
-
View User Profile
-
Send Message
Posted Sep 5, 2014@h0us3cat
Just a quick update on your issue:
If you are able to replicate this on a newer CraftBukkit build (assuming you can even get one due to the current DMCA situation), please let me know.
-
View User Profile
-
Send Message
Posted Sep 5, 2014@h0us3cat
Thanks,
I'll have a chance to test this tonight. Can you create a ticket so that I can keep you updated without filling up the comments?
-
View User Profile
-
Send Message
Posted Sep 5, 2014@haveric
Here all my files from recipemanager No idea how to replicate, i just joined the server. http://s000.tinyupload.com/download.php?file_id=00053642222573356903&t=0005364222257335690336915
-
View User Profile
-
Send Message
Posted Sep 5, 2014@h0us3cat
I have not tested it with 1.7.2, but that error doesn't seem to have anything to do with the CB version. I'll need your recipe files/configuration to investigate further. Any other details on how to replicate the issue would also be helpful. (Putting a specific item into a furnace?)
-
View User Profile
-
Send Message
Posted Sep 5, 2014I guess 2.1 is not compitable with bukkit 1.7.2? http://pastebin.com/6WWYxE8V
-
View User Profile
-
Send Message
Posted Sep 4, 2014@ZeriyaGaming
I'm not sure where you got that format, but try this:
Also note that /rmreload seems to be broken in v2.1, you will need to restart your server for changes to take effect properly.
-
View User Profile
-
Send Message
Posted Sep 3, 2014@ZeriyaGaming
I started to look into this last night, but ran into some other issues that I need to fix first. Please create a ticket and I will keep you updated on the progress.
@o18824
Try updating to the latest CraftBukkit dev builds (1.7.10).
-
View User Profile
-
Send Message
Posted Sep 2, 2014[11:01:23 INFO]: [RecipeManager] Loading all recipes... [11:01:23 WARN]: Exception in thread "Craft Scheduler Thread - 1" [11:01:23 WARN]: org.apache.commons.lang.UnhandledException: Plugin RecipeManager v2.1 generated an exception while exec uting task 5 at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()Ljava/util/Collection; at haveric.recipeManager.metrics.Metrics.postPlugin(Metrics.java:342) at haveric.recipeManager.metrics.Metrics.access$4(Metrics.java:335) at haveric.recipeManager.metrics.Metrics$1.run(Metrics.java:223) at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
[11:01:23 INFO]: [RecipeManager] Parsed 2 recipes from 2 files without errors, elapsed time 0.014 seconds. [11:01:23 INFO]: [RecipeManager] Parsed 0 recipe books. [11:01:23 INFO]: [RecipeManager] All done in 0.054 seconds, 2 recipes processed. [11:01:25 INFO]: [Vault] Checking for Updates: [11:01:25 INFO]: [Vault] No new version available [11:16:24 WARN]: Exception in thread "Craft Scheduler Thread - 6" [11:16:24 WARN]: org.apache.commons.lang.UnhandledException: Plugin RecipeManager v2.1 generated an exception while exec uting task 5 at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()Ljava/util/Collection; at haveric.recipeManager.metrics.Metrics.postPlugin(Metrics.java:342) at haveric.recipeManager.metrics.Metrics.access$4(Metrics.java:335) at haveric.recipeManager.metrics.Metrics$1.run(Metrics.java:223) at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
---please help (1.7.5 server)-
View User Profile
-
Send Message
Posted Aug 31, 2014Can't add Enchants to basic recipes
Outcome has no enchants.
-
View User Profile
-
Send Message
Posted Aug 30, 2014@Superboop
It looks like the error you're getting is from the changed getOnlinePlayers method. I can't find the specific build that this was changed in, so for now, I'd suggest using the latest 1.7.10 build. (1.7.9 was the latest I could pick when uploading the file)
Can you provide some examples of recipes where the flags don't work?
I'm not sure what's going on with the .yml files claiming to be outdated. I probably changed some logic that I shouldn't have.
Please note: I am still new to this codebase and I am attempting to refactor code where I can to allow for better maintainability of the project. Things will likely break. I didn't personally use this plugin beforehand, so I am learning everything about it as I go. The more community feedback I get, whether it be bug reports, feature requests, or anything else, the better I can provide back to the community and support this plugin.
Also note that v2.1 was released within 2-3 days of me taking over the project, sat in the approval queue for a week (while I was working on refactoring code), got denied for not conforming to the new updater api, and then I rebuilt it with all the changes I had done (with less testing than I would have liked) and it sat in the approval queue for another week before finally being released. My goal was simply to get an updated (official) working build out as quick as possible so that more people were up to date. Now that it is released, I can focus on fixing any bugs that pop up or any flags that don't work like they should.
-
View User Profile
-
Send Message
Posted Aug 30, 2014For some reason, the new update (v2.1) broke a lot of things, which forced me to revert back to the old version (v2.0).
v2.1 did not work at all for CB 1.7.9-02 (Beta build), where it threw this error, and using CB 1.7.10-01 (Dev build) did not throw any immediate errors but did not accept any flags whatsoever in recipes as well.
It also stated "item aliases.yml" and "enchant aliases.yml" are outdated everytime I load the server, which persists even if I delete those files and let the plugin generate the files again.
-
View User Profile
-
Send Message
Posted Aug 28, 2014@rediem
Are you getting any errors in the console or the log?