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 Aug 12, 2015Would love to have the ability to add the {Unbreakable:1} tag to the items.
-
View User Profile
-
Send Message
Posted Aug 7, 2015@OficialSaciDePatinete
I figured that would be the case, but I haven't tested that flag recently.
@keepitem can replace any ingredient (non-stacking for now apparently). There's an example in the "recipe flags.html" file showing this:
"{flag} potion | replace bottle // using any kind of potion would return an empty bottle"-
View User Profile
-
Send Message
Posted Aug 7, 2015Haveric, what you said is pretty much what I wanted to do, but like you said, does not work with stackables items, I tested and the following message appears on the console 'Flag @keepitem can not replace stackable ingredient: Chest: any'.
Another question, @keepitem serves only to recover items that have been used as ingredients, or can substitute one ingredient for another item?
-
View User Profile
-
Send Message
Posted Aug 7, 2015@OficialSaciDePatinete
If I'm understanding you correctly, you should be able to use @keepitem similar to this:
I'm not at a machine to test this right now and there is mentioned in the "recipe flags.html" file for @keepitem that it will only work with non-stackable items. I'm also not certain if it will reset the metadata on the item.
Let me know if this works for you, otherwise I can investigate the flag and see if it can be updated.
-
View User Profile
-
Send Message
Posted Aug 7, 2015Haveric, when used to make milk buckets cake, so that the cake is made, milk buckets are changed to common buckets has making iso with other items? For example, I put a "Gold Chest" on the desk, picked up a gold bar, and left a chest in place to put the ingredients.
-
View User Profile
-
Send Message
Posted Aug 6, 2015@JerethKhan
The next version will have a 'bookenchant' condition in @ingredientcondition.
@OficialSaciDePatinete
There'll be a hide flag in the next version. Most shop plugins should be able to handle the items produced from RecipeManager. They are normal ItemStacks.
@JerethKhan
I'm adding a remove option to both @enchantitem and @enchantbook flags that will be in the next release.
-
View User Profile
-
Send Message
Posted Aug 6, 2015Another small issue is removing enchants from items. Doing this:
Creates a cloned item with "Smite enchantment.level.0" Would be hard to make 0 levels enchants just strip them off? I'm using enchants on items as a way to gain XP, money, MMO levels, ect. I'd look into it myself but half the people that do things on our server are on fored vacations, so I have almost no spare time.
-
View User Profile
-
Send Message
Posted Aug 6, 2015Haveric, some flag that allows to hide the lore of damage of swords and tools? In addition, some plugin you know who can sell and buy special items created with RecipeManager?
-
View User Profile
-
Send Message
Posted Aug 6, 2015@JerethKhan
That would be correct. It is mentioned in the flag's description: "Condition for applied enchantments (not stored in books)." I will certainly look into this though and see if it is something that I can implement.
-
View User Profile
-
Send Message
Posted Aug 6, 2015There's something funky in 1.8 that's preventing for example this: @ingredientcondition enchanted_book | enchant Smite 1
It has no problem seeing enchants on all other items, but for some reason, it doesn't see enchants on books, either created from tables, grabbed in Gamemode 1, or using essentials /enchant.
I pretty sure it has something to with book enchant data being stored in the "StoredEnchantments" value rather than the "ench" value in the NBT data. Might be easily fixed by adding a second check for "StoredEnchantments" for enchanted_book items.
-
View User Profile
-
Send Message
Posted Aug 6, 2015Thanks Haveric! You helped me a lot! I would be happy to make you donations, but frankly, in recent times I do not have a penny in his pocket, and here in Brazil is going on a very big crisis and're hard to find a job. :(
-
View User Profile
-
Send Message
Posted Aug 6, 2015@OficialSaciDePatinete
You should be using the amount condition of @ingredientcondition instead of defining the amount in the ingredients, such as:
Your second recipe is likely conflicting with the default gold ingot->nugget recipe (or just being ignored because it is matching it.) Instead, you should override the default recipe and modify it to work for both recipes:
The default recipe can be grabbed from /rmextract and looks like this:
Overriding it should look like this:
Let me know if you have any questions or issues with these recipes
-
View User Profile
-
Send Message
Posted Aug 6, 2015Haverici have 2 errors:
craft Coins Bag gold_nugget:0:64
gold_ingot
@name &6Coins Bag @ingredientcondition gold_nugget | name &6Gold Coins
This first recipe, an error appears on the console saying "line 2 Warning: Item 'GOLD_NUGGET' can not have amount defined here, amount ignored".
craft Gold Coins gold_ingot
gold_nugget:0:64
@name &6Gold Coins @ingredientcondition gold_ingot | name &6Coins Bag
In the second recipe, ingots named "Coins Bag" generate common gold nuggets.
-
View User Profile
-
Send Message
Posted Aug 6, 2015@OficialSaciDePatinete
No, I mean the exact recipe that you are trying to use and isn't working. If I can see what you have now, I can help figure out what might be going wrong.
-
View User Profile
-
Send Message
Posted Aug 6, 2015Haveric, i use craft recipe.
-
View User Profile
-
Send Message
Posted Aug 5, 2015@OficialSaciDePatinete
What is the recipe you are using?
-
View User Profile
-
Send Message
Posted Aug 5, 2015Haveric, by default minecraft, a gold ingot generates 9 nuggets of gold. I created a custom recipe using @ingredientcondition that makes anyone a gold ingot with name 'Coins bag' manages 64 gold nuggets named 'Gold Coins', but 'Coins Bag' is generating 9 common gold nuggets ! Can you help me?
-
View User Profile
-
Send Message
Posted Aug 5, 2015@xH3LLRAIZ3Rx
Wear and held might be possible. Aura would be tricky. I'd have to look into these more. It also might make sense as a different plugin that hooks into RecipeManager for these types of attributes.
-
View User Profile
-
Send Message
Posted Aug 5, 2015can you add a @effect thing, so I can add effects to my items like so:
@effect WITHER:1:1000:HELD
so that it will give Wither 1 for 1000 seconds when held
and also add WEAR and AURA so that it can be applied when either wearing or in a radius of 5
-
View User Profile
-
Send Message
Posted Aug 5, 2015Thanks Haveric! This will help me a lot.