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 May 30, 2012@justjinxed
If you've made an alias why don't you use it in the recipe ?
But basically you want to allow aliases to be printed in /recipe ?
And I've never used server mods, so no, I never encountered that :}
@skullonroses
Yes I did that for the next version, there was a ticket about this that requested it.
I'll release it once I get the time to finish the next version xD
-
View User Profile
-
Send Message
Posted May 28, 2012Hey Digi, what would be the correct way to add buildcraft recipes? I made new .txt file in recipes directory which looks like:
Then added WOODEN_GEAR: X4056:0 to the aliases. Problem is when doing a /recipe wooden_gear it shows X4056, which might be fine. But I'm having to build subsequent items off this item:
I'd like a more human way for my users to look these up. I know it's more of a buildcraft issue since they don't use actual DB names, but maybe you ran into this before?
-
View User Profile
-
Send Message
Posted May 28, 2012Um could you add possibility to enchant items like chest?( Needed for backpack plugin)
-
View User Profile
-
Send Message
Posted May 25, 2012@tremor77
Hmm, I'll test it out when I get a chance and see what's the glitch about.
The condition or data value isn't considered by the game for the ingredient, it can be set to a fixed value in the restult tough.
-
View User Profile
-
Send Message
Posted May 25, 2012i created a recipe to smelt iron armor into chainmail, and give it a 50% chance of success, and smelt time of 30.
It works OK, however, sometimes when a smelting fails.. I quickly add another ironplate, and it gives me an instant chainmail.. so the time is bypassed.. any suggestions or it this a bug?
oh and something else i found out, not sure if this can be fixed but, the condition of the armor piece is not taken into effect.
-
View User Profile
-
Send Message
Posted May 24, 2012Both are known issues, the first is listed in the main page, it's a bukkit issue, the other one is fixed in the next version but I'm cought up in some other stuff for now :/
-
View User Profile
-
Send Message
Posted May 23, 2012I get these errors when I enter a unloaded chunk:
2012-05-23 16:15:31 [SEVERE] Could not pass event ChunkLoadEvent to RecipeManager org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103) at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:117) at net.minecraft.server.World.getChunkAt(World.java:328) at net.minecraft.server.World.getTypeId(World.java:267) at org.bukkit.craftbukkit.PortalTravelAgent.findPortal(PortalTravelAgent.java:91) at org.bukkit.craftbukkit.PortalTravelAgent.findOrCreate(PortalTravelAgent.java:29) at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:393) at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:306) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:341) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.block.CraftSign.<init>(CraftSign.java:17) at org.bukkit.craftbukkit.block.CraftBlock.getState(CraftBlock.java:227) at org.bukkit.craftbukkit.CraftChunk.getTileEntities(CraftChunk.java:117) at digi.recipeManager.Events.furnaceChunk(Events.java:519) at digi.recipeManager.Events.eventChunkLoad(Events.java:489) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 19 more
AND, when I have the flag "@minlevel:0" it says the required level is 0, but you still can't craft it.
-
View User Profile
-
Send Message
Posted May 21, 2012Nvm me, This is a great plugin! :D
-
View User Profile
-
Send Message
Posted May 17, 2012Got the error finally and submitted a ticket
-
View User Profile
-
Send Message
Posted May 17, 2012@THDigi
I'm not at home right now and am controlling the server remotely and can't view the console for some reason, I have a limited console but it's not showing full debug messages or errors
-
View User Profile
-
Send Message
Posted May 17, 2012@Faldonboy
The grass is the placeholder for items, the amount is the recipe ID, it should've been replaced with the actual result... but I guess the error screwed that up...
Please post a new ticket with this and with the full error... why can't you get the full error ? O.o
-
View User Profile
-
Send Message
Posted May 17, 2012Urgh, even putting a fresh copy of RecipeManager in didn't fix it, I'm confident this isn't a plugin conflict either because I took everything else out. I really wish I could get you the full console printout of the error. :s
-
View User Profile
-
Send Message
Posted May 17, 201205:10 PM [SEVERE] Could not pass event PrepareItemCraftEvent to RecipeManager
Happening all of a sudden with any custom recipe, every custom recipe is outputting grass(31:1) for some strange reason. Also, givelevel, givexp and givemoney aren't working on COMBINE recipes. givexp still isn't working for me at all unless I make it a global flag for the entire .txt file
I unfortunately can't give you the actual error right now but i'll try and get it in a bit.
-
View User Profile
-
Send Message
Posted May 17, 2012@THDigi
Suggestion/possible bug(not sure if you intended this) If you do the givexp flag on something with a failure chance you get the xp even if you fail crafting the recipe. Doesn't make much sense to me lol
-
View User Profile
-
Send Message
Posted May 17, 2012@bormoshka
Yes, 10% is the chance of failure.
@Faldonboy
No it shouldn't because they're duplicate, I belive
And no, 90% in the recipe is chance of success for that specific item, if there's undefined space until 100%, that would be the failure chance... example: 3 items with 20% would make the recipe succeed 60% of the time, while the rest of 40% is failure.
-
View User Profile
-
Send Message
Posted May 17, 2012@bormoshka
Technically it should work, what permissions are you using? Also I believe that message is displaying what the chances of a successful craft are. The 90% on that recipe is the rate of failure.
-
View User Profile
-
Send Message
Posted May 17, 2012@SoniEx2 Looks like it doesn't work with identical recipes.
@THDigi It will be great!
hmmm... Another question: in config:
in chat: Recipe failed! (10% chance)
is it a fail chance or what?
-
View User Profile
-
Send Message
Posted May 17, 2012@bormoshka
can't you use per-recipe flags? (and permission nodes?)
like:
then add "crafting.recipelevel" to a group and "crafting.recipelelvel2" to the other group (and use "-crafting.recipelevel" to remove the first recipe)
-
View User Profile
-
Send Message
Posted May 17, 2012@bormoshka
Interesting ideea, but I don't know how to approach it on the recipe format... I'll have to think about this, noted in todo list 'cause I like it.
-
View User Profile
-
Send Message
Posted May 17, 2012Is it possible to implement the following? For example, two groups of people have different permissions. One group is crafting thing with the n% chance, and the other with m% chance.