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 9, 2012Is there anyway i can simply remove an item by using its ID? Or do i have to remove its recipe. Also does this happen to work with tekkit?
-
View User Profile
-
Send Message
Posted Jun 9, 2012Per the bugs of 21b that have been fixed. Is there currently a version pending approval, or are you still working on finalizing the version?
I did notice your GNU3, is there a github or something where we can download the dev versions to help test with?
-
View User Profile
-
Send Message
Posted Jun 9, 2012@skullonroses
Like I said, the problem is that the default recipe's ingredients are shift-clicked into slots... but with the custom ability to make any furnace recipes and fuels, those items won't be placed there and manually doing so will be very unreliable and more buggy than just restricting that ability.... Still, why is it so bad without it ? You can't even use it for custom stuff anyway... like, if you made a custom cobblestone fuel, if you shiftclick that it will place it in the ingredients... or other stuff, like glowstone, it will move it around the inventory.
-
View User Profile
-
Send Message
Posted Jun 9, 2012ugh :( that disabled shift clicking in furnice is killing me :(( Otherwise really great plugin, must have!
-
View User Profile
-
Send Message
Posted Jun 8, 2012@AkiraShirou
Both are possible.
As long as it's a .txt file in the "recipes" folder or any subfolders (except those named "disabled", those folders are ignored), you can add recipes in there.
Yes you can add them to the default files but I don't recommend it because if you change alot of default recipes and you want to quickly restore the original default recipes you'll loose your extra recipes in the process. But, it's your server and you can set them up as you like, that's why I made it so flexible :}
-
View User Profile
-
Send Message
Posted Jun 8, 2012So its possible to add a new recipe by: adding the recipe to any existing .txt in \plugins\RecipeManager\recipes\default. Or adding a new .txt file?
-
View User Profile
-
Send Message
Posted Jun 7, 2012@KittyHopHop
I actually do tough =) top-right near the flame icon of Curse :}
-
View User Profile
-
Send Message
Posted Jun 7, 2012That's because u dont have a donate button :):):):)
-
View User Profile
-
Send Message
Posted Jun 6, 2012@Ferkswe It should work with the names as well... AFAIK they're X<ID> format tough, you can make aliases for them as well... however, they won't print the alias name yet, I'm looking into making that happen.
@KittyHopHop Yes, it kinda goes slowly because I'm not in a ... "scripting spree" atm.
@aitchy21 I restricted shift click on many things because I can't detect what's going on when user shift clicks, for example in furnace I can't know if your material has gone inside the furnace when you shift clicked or if it got in the quickbar... or whatever it does when clicking an item not normally smeltable/burnable as fuel... also I can't detect how many times a recipe is crafted when shift clicking so you can't shift click on recipes that have rewards OR multiple results.... yet, I'm looking for ways to counteract that tough.
About the error, it seems you didn't copy it entirely, when it's the most important part you ended... Caused by: java.lang.NullPointerException, after this it would show the files and lines that caused the error.
But by looking at the rest of the error I suspect it's that bukkit bug... I noted bukkit bugs that have a problem with this plugin in the description, here's the one I'm talking about: https://bukkit.atlassian.net/browse/BUKKIT-1033 If it's the same error, then I can't do anything about it, but if it's diferent, please make a TICKET with the full error, comments are unmanageable for bug reporting, bugs need to have their own "thread", a ticket that is.
-
View User Profile
-
Send Message
Posted Jun 6, 2012If I use this with custom client/server mods that adds it's own ID's would it work? If I define my recipes using IDs.
-
View User Profile
-
Send Message
Posted Jun 5, 2012First of all great plugin! works like a charm but I have 2 questions<sub>,,</sub>
Why can't I shift click with furnaces? (can't shift+click with furnace interface for now sorry)
And I am getting these errors randomly<sub>,</sub> Only been happening since started using recipe manager
[SEVERE] Could not pass event ChunkLoadEvent to RecipeManager org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 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 net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException
-
View User Profile
-
Send Message
Posted Jun 3, 2012@THDigi
You havent released it yet :(
-
View User Profile
-
Send Message
Posted Jun 3, 2012@KittyHopHop
I see, I'll remove the cap then.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@THDigi
Im using http://dev.bukkit.org/server-mods/enchantmore/ so it would be great if I could craft those enchantments without using OP commands..
Max level is 127 on any enchantment.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@KittyHopHop
Because that's the maximum level of the enchantment, if you try to set it much higher the server will print errors as far as I remember, that's why I capped it to each's maximum value which Bukkit supplies (they're not hardcoded by me I mean).
Unless you've seen this in another Bukkit plugin, I don't think it's possible.
-
View User Profile
-
Send Message
Posted Jun 3, 2012Why isnt it possible to craft enchanted items with extreme levels etc
That should give me a Bow with Power X (10), but it only gives Power V (5)
Also its not possible to use weird enchantments like
-
View User Profile
-
Send Message
Posted Jun 1, 2012@LordKainzo
That won't be anytime soon tough, I don't know how to design its recipe format... open to suggestions :}
-
View User Profile
-
Send Message
Posted Jun 1, 2012Cant wait for -> Variable recipe chance (and flags maybe) depending on permission
-
View User Profile
-
Send Message
Posted May 31, 2012@justjinxed
I see.
Well, alias is just a parser to input item ID and data to the recipe class, it doesn't store the actual alias and/or names you used. The result is printed by getting the material's name from Bukkit... and X<ID> is the name of the material :}
Still, I'll look into making it display aliases too.
But Buildcraft should allow users to name the items properly because the X<ID> is really weird.
@tremor77
I tried that thing and it didn't happen to me... if it happens again with the next version (once I release it) please make a ticket.
-
View User Profile
-
Send Message
Posted May 30, 2012@THDigi
I guess cause after using /rmreload it didn't seem to reload the aliases, I since restarted the server and everything caught up to me :) so ya, I'm now using the aliases in the recopies, now. But the resultant of the recipe command is coming out as using the original tag. Is there a way to tell it to output the alias used instead? Or what function is recipeManager using to pull the itemname. Maybe I should be knocking on buildcrafts door about this?
Recipe:
Alias: