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 Oct 29, 2015@haveric
Shift click does not break the axe. Regular clicking breaks it. It damages it down to low but then it becomes unbreakable when shift clicking
-
View User Profile
-
Send Message
Posted Oct 29, 2015@dbwallsmc
I don't know what you mean by "doesn't break", but I assume you are seeing it not craft when you shift click. That would be because @ingredientcondition prevents shift click crafting due to the complexity involved with the flag.
EDIT: Misread your recipe. I see you're using the @keepitem to damage the axe each craft. Is shift clicking not working at all or is it just not damaging the axe?
-
View User Profile
-
Send Message
Posted Oct 29, 2015@haveric
I have an issue where a recipe ingredient doesn't break when shift clicking the result.
http://hastebin.com/oxopuvitil.rb
the ingredient breaks normally when not shift-clicking the recipe.
-
View User Profile
-
Send Message
Posted Oct 29, 2015@dbwallsmc
I've never run into those issues using ItemLoreStats so you'll have to talk to the developer of that to figure out what is going on.
-
View User Profile
-
Send Message
Posted Oct 29, 2015@haveric
So ItemLoreStats is really buggy when combined with your plugin. It's breaking my custom recipes I added so I decided to remove it. Now I'm stuck with my health hearts displaying as 30 hearts and a bunch of Ender dragons in the distance because of the ItemLoreStats BossBar. Any ideas how to remove the ItemLoreStats plugin completely? I think it changed my default setting somehow through installation. One of my plugins isn't working now because of it. I tried reinstalling the ItemLoreStats plugin again to see if it would fix it and now I'm stuck with it.
-
View User Profile
-
Send Message
Posted Oct 28, 2015@dbwallsmc
ItemLoreStats simply uses lines of lore to add extra attributes so you can just use the lore flag as such:
I assume you mean the "Recipe already created with this plugin" error. You can only define each ingredient combination once. If it's already a vanilla recipe, you need to @override it. If you want more than one recipe with those ingredients, you need to add multiple results and add the @individualresults flag. I can't really help more without knowing the exact error and your entire recipe file(s).
-
View User Profile
-
Send Message
Posted Oct 28, 2015@haveric
How would I link that plugin to the new recipes? I'm unsure how to do that. Also, I get the same error as the smelting one for crafting.
-
View User Profile
-
Send Message
Posted Oct 28, 2015@dbwallsmc
You might be able to use Item Lore Stats and set the lores with RecipeManager for weapon speed and damage. There is nothing currently to prevent block placement. Smelting doesn't support multiple results at this time. You'll have to use a unique material:data combination for each smelting recipe.
-
View User Profile
-
Send Message
Posted Oct 27, 2015@haveric
That worked. Thanks. Is it possible that if I use an ID like an Iron Axe, to make it chop down trees slower or faster or if I used a block as an ID that I can't place that certain item?
http://hastebin.com/pefovimada.mel
Like this item; I want to make it weaker, like 3 Attack Damage. And not chop down trees fast.
http://hastebin.com/virutiwafo.vala
And this item turns into a hopper but I want it just to be for crafting purposes and not actually a hopper.
EDIT: I also ran into another problem, sorry! http://hastebin.com/azuguguyat.rb
Your plugin is perfect for my server so I'm having a hard time setting this up by myself. Thanks so much though. :-)
-
View User Profile
-
Send Message
Posted Oct 27, 2015@CommodoreAlpha
Does removing the space altogether change anything?
If you put the custom durability item in one of the left 9 slots of you inventory and use "/createrecipe", what is the output of that?
If you have a lot of errors, it will truncate them and only show you a few. The errors may also cause recipes afterwards to not get added.
-
View User Profile
-
Send Message
Posted Oct 27, 2015There's a mod (called Carpenter's Blocks) that lets you specify a custom durability for an item - although RecipeManager will interpret this item as a durability-less item, which doesn't allow for me to use any kind of "damage this item by x amount of points" parameter. Could there be a way to bypass this restriction?
Also, it appears that when I load my recipe files, I get a bunch of errors (no surprise, I'm working on fixing them) - but the strange part is that some recipes I've written aren't even registered by RecipeManager despite there being no mention of an error for the recipe in question.
-
View User Profile
-
Send Message
Posted Oct 27, 2015@haveric
If ID only, it works. Getting rid of underscores in the aliases did not work. I could opt to use IDs instead, but I was just curious if I could get this system to work first before having to change anything.
As an example, the following works:
-
View User Profile
-
Send Message
Posted Oct 27, 2015@CommodoreAlpha
Does it work with just the id?
If so, try getting rid of the underscores in the aliases:
If that doesn't work, let me know and we'll figure out how I can test it.
-
View User Profile
-
Send Message
Posted Oct 27, 2015@dbwallsmc
Change @forpermission to @permission. @forpermission is only needed when you want other flags to be dependent on that permission.
-
View User Profile
-
Send Message
Posted Oct 27, 2015I tried adding a modded item to the item alias list like so:
Followed by a recipe like this:
But it says "ARMOUR_PADDING doesn't exist". Am I not adding the modded item to the alias list correctly? I checked the ID number in the names index .html file and it is indeed the correct ID I am adding.
P.S. Just FYI I sent a PM to you. ;)
-
View User Profile
-
Send Message
Posted Oct 27, 2015@haveric
File: Test Recipes
I received this error!
-
View User Profile
-
Send Message
Posted Oct 27, 2015@dbwallsmc
Try something like this:
You should be able to continue to chain results, just make sure that the most difficult to make is the first result and the easiest (in this case no permission) is last as it will try to use the first result that succeeds.
Let me know if that doesn't work or you have any more questions.
-
View User Profile
-
Send Message
Posted Oct 27, 2015Would it be possible for the flag @forpermission to add to chance?
Ex. http://hastebin.com/uqisutusut.rb
For each permission node they have I want to increase their chance of creating that item! This is very important in my server. Thanks. :-)
-
View User Profile
-
Send Message
Posted Oct 24, 2015@xH3LLRAIZ3Rx
I don't know what they are doing, but they are not using the Bukkit API. If you can show me an open source plugin that does it or where it exists in the Bukkit API, I'd be glad to implement it.
-
View User Profile
-
Send Message
Posted Oct 24, 2015@haveric
They do, heres a plugin that uses them: https://www.spigotmc.org/resources/make-your-server-unique-with-blueprints-awesome-items-for-your-minigames-quests-loot-any-plugin.12703/