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:
thanks for the advice. been busy but gonna pound out some recipes tonight. another questionm would i use ingredient condition if i wanted say.... multiple smelt recipes for ore?
like say i have 2 recipes for smelting iron ore, one is standard result, iron ore smelts into iron ingot, but another one i want it to read the item name of the iron ore, and if its Steel Ore, it will smelt into steel ingot
@slimpyman
You're looking for the @ingredientcondition flag. Here's an example of how you could do it. You'll have to replace your steel recipe/name, but it should give you an idea.
Note that I used /rmextract to get the vanilla iron sword recipe and extended it to allow steel to work as well. You could use a different recipe to avoid this.
Let me know if you have any other questions.
im trying to find refernece in the help files, but to no avail.... id like to make a recipe, lets say sword. since i disabled renaming using colors, items with colors can only be crafted or bought.
So im trying to say, make a sword. im trying to figure out how to use an iron_ingot renamed steel in the recipe. i just cannot find out how to make this plugin differentiate between iron ingot and the "steel" ingot.
@haveric
Sure
@bscal123
Can you zip up your plugins/RecipeManager folder and pm it to me?
@haveric
Yes that is the entire recipe file. Lines 2 - 9 get that error of Warning: Unexpected directive.
@bscal123
Is that your entire recipe file? If not, can you pastebin the entire thing or pm it to me?
Hey!
Everytime I make a shaped recipe I receive and error:
Warning: Unexpected directive
This would be one of my recipes:
craft
iron_ingot + stone + iron_ingot
iron_ingot + stone + iron_ingot
iron_ingot + stone + iron_ingot
= iron_ingot
@name §bSteel
@lore §7Steel is stronger than iron.
@lore §7Used to craft medium level guns.
Shapeless work fine
@ketchupcoke
I'm not sure if it can hide lore, but you can try using the @hide flag. Take a look at the generated "recipe flags.html" in your RecipeManager folder for flag options.
Hi, I was just wondering if it would be possible to add an option for crafted items to have the flag which removes the new 1.9 meta added to items. Something like: itemMeta.addItemFlag(ItemFlag.HIDE_ATTRIBUTES); Since some RPG servers like mine use custom lore to modify stats and they aren't really necessary
@haveric
Sorry for late reply and thanks for your reply.
It would be great. Yes, please add ability to hide those message such as custom message for @needlevel, @modlevel and something like these flags.
Thanks.
Failmsg was a good option. I couldn't get rid of that fire though; however, I am satisfied with this.
-------- Is there some reason you are sticking with such an old version of the game?
This has something to deal with Korean culture ( not a good word choice I say )
You know " force updated " does not work higher than version 1.5.2 right?
==> Those who use crack version of Minecraft no longer were be able to enjoy higher version of Minecraft; therefore entire Minecraft society stopped at 1.5.2 in Korea. Now 1.5.2 servers are the most played in here. Ridiculous, right?
+ Don't worry, I bought the game.
@tman7206
Is there some reason you are sticking with such an old version of the game?
Another option that might work would be failmsg:
Nometa not for 1.5.2; I'd better give up ( Thanks though, for giving up your precious time )
I thought it can simply be disabled by true / false option somewhere in ~.yml...
+ I deleted EVERYTHING in messages.yml and error messages still are displayed on chat why?
@tman7206
I'm not at a dev machine to test this, but try a multiresult recipe with an air result when there is no meta on the dye:
CRAFT
@ingredientcondition 351:1 | name &a[제작재료] &d장미가루 | lore &f | amount 20
373:8229 + 373:8229 + 373:8229
373:8229 + 351:1 + 373:8229
373:8229 + 373:8229 + 373:8229
= 351:9
@name &a[제작재료] &d마법가루
@lore &f
@lore &6분홍빛 가루
It's normal recipe
If you put one red dye in the middle ( of course it satisfies the ingredientcondition ), a fire will appear saying : You can't craft this recipe! see chat for reasons
Can I disable this fire?
+ again really thank you for such fast reply
@tman7206
Can you provide the recipe you are using? That will help me figure out what you are experiencing.
Hello, thanks for providing such awesome recipe plugin.
Anyways, I have a problem dealing with the outcome, which is error message on the chat.
So this means, if the recipe requires you to use 2 stacked diamonds and you only place one diamond on the workbench, there will be a fire on the outcome and error message on the chat, " (Recipe) diamond needs amount: 2 "
I tried @secret, but it doesn't solve the problem. I know I can disable the message in messages.yml, but I do not want that fire.
thanksssssssss love you
@TheClubMC
You can't set a specific slot for a shaped craft (at least with this plugin, I can't remember offhand if vanilla does the same behavior). RecipeManager will reduce the size to the smallest needed size so that the shape can be applied anywhere and not be confusing to the end users creating the recipes.
Shift click does work for multiple crafting, but it is disabled on some more complex flags, such as ingredient condition as the results are too complex to handle at this time.
I could probably add an option to toggle the display of those, but they were added to help end user's to be aware of what's happening when crafting items. Is there a particular reason you'd like them hidden, such as a custom message?
item-datas.yml explains what it does in the header of the file. If you are not using a modded server (client side mods, not server), you can most likely ignore that file altogether.
@Draconic_Flame The best way right now would be to use @command with the MoreItems command: /mi create <Item Identifier> and then add the @noresult flag to prevent the normal item being created.
I don't have any plans to add other plugin support at this time, but I'm working on making the plugin more extendable so that in the future, there can be addons to RecipeManager that work to add that kind of functionality.
Hello. I was wondering if you could add an option to craft an item from the MoreItems plugin. Yes, it already has a recipe creator, but it would be nice to be able to use all of the RecipeManager flags such as only being able to craft the "ThunderSword" when it was storming. Or being able to summon a mob. Speaking of which, you should consider being able to summon mobs from the MythicMobs plugin.