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 Jun 16, 2013Is there a way to turn off furnace debugging? I get this message:
...every two minutes in the console, and it's kind of annoying. On top of that, it would be helpful to know which world this was going on in so that I could locate the chunk and fix the problem furnace(s) myself.
EDIT: Just recently, I got error, but I don't know where it came from.
-
View User Profile
-
Send Message
Posted Jun 16, 2013I can not make it work a simple recipe (in fact, I can not create any kind of recipe).
The steps I followed to install the plugin are:
Downloaded plugin, and put it in the plugins folder.
Restart the server and check that has been created the folder "RecipeManager" and all the files inside.
Inside the folder "recipes" created a file called "chain_helmet.txt"
I open this file and add the following:
// Crear armadura de Chain
CRAFT
IRON_INGOT + IRON_CHESTPLATE + IRON_INGOT
IRON_INGOT + IRON_INGOT + IRON_INGOT
IRON_INGOT + IRON_INGOT + IRON_INGOT
= CHAINMAIL_CHESTPLATE
Then reload the plugin with "/rmreload" (or even restarting the server).
I open my craft table and put this crafting
I C I
I I I
I I I
I = Iron Ingot
C = Iron chestplate
But I do not receive any type of object, does not create an object (should create a chainmail chestplate).
I check that the recipe is loaded fine, I look at the console and confirm:
"[INFO] [RecipeManager] Parsed 1 recipes from 1 files without errors, 0.006 seconds elapsed time."
Use the latest version of "RecipeManager" and the latest version of "Spigot".
What am I doing wrong?.
I also tried to put "/ rm extract" not good that it does, but neither works.
-
View User Profile
-
Send Message
Posted Jun 15, 2013@CommodoreAlpha
Yes, that could happen, that's why I even added the error message =)
It's been reported before like 4 times already, it's because of mertrics: false, but doesn't break anything.
You could use metrics:true and disable metrics in its own config... plugin metrics folder or whatever it was.
-
View User Profile
-
Send Message
Posted Jun 14, 2013Oh, the irony! Your plugin somehow had an error printing an error! :D
Here's the error anyway. It happened while I was closing the server.
-
View User Profile
-
Send Message
Posted Jun 14, 2013@Talidorn
The plugin only reads what recipes exist and only alters them if you chose to by defining the existing recipe and using @remove, @restrict or @overwrite.
The 'rmextract' command grabs all the initial recipes and writes them in this plugin's syntax to a file in the disabled folder so that they are not loaded, because they already exist... the purpose of that file is for you to know exacly what ingredients a recipe has if you wish to remove/restrict/overwrite it.
You can simply move the file outside of that folder and use @remove (currently broken though, fixing it for next version) at the begining of the file and that will remove all recipes defined there... or you can just set 'clear-recipes: true' in config.yml if you want to remove all existing recipes, this is a faster way too (and works).
-
View User Profile
-
Send Message
Posted Jun 14, 2013Nevermind... did the rmexport to get a single file listing of current recipes. Thanks.
I've just loaded this plugin. I did as instructed, but I keep getting the following
14.06 12:30:23 [Server] INFO Using the latest version: 2.0
14.06 12:30:22 [Server] INFO No recipe files exist in the recipes folder.
14.06 12:30:22 [Server] INFO Loading all recipes...
I've looked in the recipes folder and it is empty. I thought that the plugin auto generated the recipes that are vanilla.
Thanks for any help.
-
View User Profile
-
Send Message
Posted Jun 14, 2013@THDigi
Good to know, thanks for the fast reply! Going to drop that other plugin for now and update so I can use yours. :)
-
View User Profile
-
Send Message
Posted Jun 14, 2013@Blacklands
No, because it uses 1.5.x specific features.
-
View User Profile
-
Send Message
Posted Jun 13, 2013Might be a dumb question, if it is, sorry.
Is it possible to use this plugin with a Bukkit .jar for MC 1.4.7 if I get the 1.5.2. version of the plugin? I can't update at the moment because another plugin I'm using doesn't work correctly with 1.5.2 so far. :/
-
View User Profile
-
Send Message
Posted Jun 13, 2013@ryan_the_leach
Yes, you and me both =)
When I get on working this again, I'll test that out.
@CommodoreAlpha
Game mechanic, yes.
Yeah I thought I should do that but forgot :/ I'll note it down :}
-
View User Profile
-
Send Message
Posted Jun 12, 2013@THDigi
I'm just curious, why are recipes "automatically horizontally reflected," but not "vertically reflected?" Is that just a part of how Minecraft is?
You should also throw a warning message into the readme/documentation that there is no need to add horizontal reflections of one's recipes. Write it in bold and red if you have to (some people don't read).
-
View User Profile
-
Send Message
Posted Jun 12, 2013@THDigi
oh wow, ive never made a backwards axe X_X
Also having a little troubles with the regex recipe flags, i posted in the forums where the original post was. http://dev.bukkit.org/bukkit-mods/recipemanager/forum/rm2test/52527-teleport-ideas/#p5
-
View User Profile
-
Send Message
Posted Jun 12, 2013@ryan_the_leach
The ingredients are the same in horizontally insensitive manner, more details: http://dev.bukkit.org/bukkit-mods/recipemanager/?comment=910
@BenRush
You can change how damaged it is, but its actual damage resistance is hardcoded in the game, I can not change that.
-
View User Profile
-
Send Message
Posted Jun 12, 2013It is possible to change armor defense rating? (I created bronze armor which is dyed leather armor and can I change only his defense rating without changing others)?
-
View User Profile
-
Send Message
Posted Jun 11, 2013CRAFT
SMOOTH_BRICK + MOSSY_COBBLESTONE
MOSSY_COBBLESTONE + SMOOTH_BRICK
= SMOOTH_BRICK:1:4
CRAFT
MOSSY_COBBLESTONE + SMOOTH_BRICK
SMOOTH_BRICK + MOSSY_COBBLESTONE
= SMOOTH_BRICK:1:4
Gives:
File: mossystonebrick
line 6 Fatal: Recipe already created with this plugin, file: mossystonebrick
line 6 Fatal: Recipe was not added! Review previous errors and fix them.
TIP: Warnings do not prevent recipe creation but they should be fixed as well!
Doesn't seem to work, it detects that there is already a recipe for smoothbrick:1:4 and refuses to load the second recipe.
-
View User Profile
-
Send Message
Posted Jun 11, 2013@BFUSpEd
Hmm, small typo there that screws stuff up and throws an error, I'll fix it in the next version.
However, that regex won't match anything that contains 'crafted', it will match 'crafted' exacly, case sesnsitive as well.
You'll need something like 'Crafted by (.*)' if your sword name is like 'Crafted by Someone', the '(.*)' matches anything... or if you want the checked string to be case insensitive then use '(?i:crafted)' instead... so this: '(.*)(?i:crafted)(.*)' will just look for 'crafted' or 'CRAFTED' or 'Crafted' etc. :P
@CommodoreAlpha
That plugin seems to mess with the game sourcecode and it seems to modify the same array that the error refers to... and I suspect something silently failed in his plugin and it didn't re-asign that array element therefore when any plugin tries to get details about an item it will have the same error.
You should report the error to WaterProof's dev.
-
View User Profile
-
Send Message
Posted Jun 10, 2013@THDigi
Heh, I would've never guessed this myself, but the error comes when WaterProof and this plugin are installed at the same time. I don't know why. When I run these two plugins, an exception is thrown out, but it doesn't look harmless, lag-wise.
Which leads me to my next question, when your plugin does a furnace workaround, how much lag would that generate? (After all, you are searching afflicted chunks block-by-block to look for furnaces.) Is there any way to prevent this from happening again (e.g. fixing the chunks in question, or making some sort of safeguard)?
-
View User Profile
-
Send Message
Posted Jun 9, 2013what is the correct format of regex checks?
atm I have this: @ingredientcondition stone_sword | lore regex:crafted but its throwing an error.
I am trying to make sure the stone sword's lore has the word 'crafted' in it.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@rayblon
Yes, both as conditions for ingredients and editing results:
It's long because there are really alot of features, and that isn't even a complete list :P
Not sure what you mean by tagged though.
-
View User Profile
-
Send Message
Posted Jun 6, 2013Can these custom recipes include renamed and tagged items?