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 31, 2012@liu_ch
Yes, known issue.
Hopefully I'll finish this next version soon :}
EDIT: Actually, seemingly I'd most likely remake the entire code, I'll release a small version with fixes until I get the new features in place... awaiting approval :}
-
View User Profile
-
Send Message
Posted Aug 31, 2012I use "@givemoney:-150" butwhen I craft It say need 150 experience .....
-
View User Profile
-
Send Message
Posted Aug 29, 2012No errors ?
Tall grass is the placeholder result for my custom recipes... it should've been replaced with the actual result... unless there's an error or something that prevented that from happening.
Please make a ticket so we can discuss this there and post the exact recipe you tried with so I can see what's up with it :}
-
View User Profile
-
Send Message
Posted Aug 29, 2012@MindlessKyle
i get this with just craftbukkit.
-
View User Profile
-
Send Message
Posted Aug 28, 2012I installed this on a Tekkit server, adding new recipes seemed to work fine (yay), but for some reason crafting cobblestone slabs (3 cobblestone in a row horizontally) resulted in 106 tall grass being made...
Any ideas? Disabling RecipeManager made it make slabs as per usual. It didn't happen for all players, but when it did happen it was quite reproducible.
-
View User Profile
-
Send Message
Posted Aug 25, 2012@MindlessKyle
Error is not related to those plugins and the error is listed in the known issues and it's been talked about over and over in the tickets and in the comments.
It's kinda fixed in the next version, works around it to avoid it as it's a problem with the Bukkit API.
However, the next version could take a while to be complete :/
Also, with Spout it has no reason to not work properly, but CraftBook I don't know... for the looks of it, it doesn't seem to have anything to do with recipes so it should be fine :}
-
View User Profile
-
Send Message
Posted Aug 25, 2012Get this error on v1.26 CB RB 1.3.1-R2.0. http://pastebin.com/ryjm8iTZ Does it not play nice with Spout or CraftBook?
-
View User Profile
-
Send Message
Posted Aug 23, 2012@StinkyPinky78
You could've just killed that player so his level rests xD
Anyway, I'll add a check for level under 0.
-
View User Profile
-
Send Message
Posted Aug 23, 2012@THDigi
Starting a new map from scratch seems to have fixed it, so I know it is on my end.
Thank you for the great mod and assistance.
-
View User Profile
-
Send Message
Posted Aug 23, 2012@craftovski It only affects this plugin, it couldn't find the furnaces from that specific chunk because of that error...
Good news tough, I found an alternative that might just avoid that method and that error alltogether, next version :P
@bubblybill
Currently no :/ I had a bit of progress tough, I found a way to allow all items (not the blocks tough, they're diferent in minecraft's code) to be placed in the ingredient slot... but I can't seem to trigger or force the brewing stand to brew... so I dunno, I'll keep trying after I'll finish this next version which seems it's taking forever xD
@StinkyPinky78
Wow that error is really screwely pasted in this comment... you should post it in code tags or on pastebin.com or something :P
But from what I can tell... a player has exp level -6 O.o Can you check if that's the case ? I can build a plugin with a command to print the actual level for you to test with if you want.
Either way I'll have to limit the level to minimum 0 because players can't have level under 0... if that's true for a player of yours, some other plugin might've screwed with your player's levels...
-
View User Profile
-
Send Message
Posted Aug 23, 2012I'm getting the following error message when trying to craft anything.
14:36:06 [INFO] [RecipeManager] PrepareItemCraftEvent cancelled due to error: 14:36:06 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: -6 14:36:06 [SEVERE] at digi.recipeManager.data.ExperienceManager.getXpForLev el(ExperienceManager.java:125) 14:36:06 [SEVERE] at digi.recipeManager.data.ExperienceManager.getCurrentE xp(ExperienceManager.java:78) 14:36:06 [SEVERE] at digi.recipeManager.data.Recipe.isUsableExp(Recipe.java:385) 14:36:06 [SEVERE] at digi.recipeManager.data.Recipe.isUsableBy(Recipe.java:639) 14:36:06 [SEVERE] at digi.recipeManager.Events.eventPreCraft(Events.java:387) 14:36:06 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 14:36:06 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 14:36:06 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 14:36:06 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 14:36:06 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav aPluginLoader.java:330) 14:36:06 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist eredListener.java:62) 14:36:06 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(Simpl ePluginManager.java:477) 14:36:06 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl ePluginManager.java:462) 14:36:06 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callPr eCraftEvent(CraftEventFactory.java:509) 14:36:06 [SEVERE] at net.minecraft.server.CraftingManager.craft(CraftingMa nager.java:271) 14:36:06 [SEVERE] at net.minecraft.server.ContainerWorkbench.a(ContainerWo rkbench.java:59) 14:36:06 [SEVERE] at net.minecraft.server.InventoryCrafting.setItem(Invent oryCrafting.java:125) 14:36:06 [SEVERE] at net.minecraft.server.Slot.set(Slot.java:51) 14:36:06 [SEVERE] at net.minecraft.server.Container.clickItem(Container.ja va:184) 14:36:06 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand ler.java:1116) 14:36:06 [SEVERE] at net.minecraft.server.Packet102WindowClick.handle(Sour ceFile:29) 14:36:06 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager. java:281) 14:36:06 [SEVERE] at net.minecraft.server.NetServerHandler.d(NetServerHand ler.java:109) 14:36:06 [SEVERE] at net.minecraft.server.ServerConnection.b(SourceFile:35 ) 14:36:06 [SEVERE] at net.minecraft.server.DedicatedServerConnection.b(Sour ceFile:30) 14:36:06 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServe r.java:583) 14:36:06 [SEVERE] at net.minecraft.server.DedicatedServer.q(DedicatedServe r.java:212) 14:36:06 [SEVERE] at net.minecraft.server.MinecraftServer.p(MinecraftServe r.java:476) 14:36:06 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:408) 14:36:06 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:539)
Using Bukkit version 1.3.1 R1.0. No custom recipes (yet). No other plugins, except permissions (which is setup).
Any idea what the issue is?
Thanks
-
View User Profile
-
Send Message
Posted Aug 23, 2012Is there any way to create brewing recipes, as Id like to use the brewing stand to create lapis
ie bottle of water, add ingredient = lapis etc
Is this possible now or in future ?
-
View User Profile
-
Send Message
Posted Aug 20, 2012Well im only curious can that error do some damage, like crash the server or make your plugin or any other plugin stop working in that moment of error or for longer period of time?
-
View User Profile
-
Send Message
Posted Aug 20, 2012@craftovski
Quote from known issues:
I can't fix that because it's not really a problem in my plugin, it's in a method that's from the Bukkit API which is called by my plugin.
Anyway, there is a bug report (link in the quote) but nobody really seems to make any progress on it :/
-
View User Profile
-
Send Message
Posted Aug 20, 2012I am getting SEVERE errors in console: [SEVERE] Could not pass event ChunkLoadEvent to RecipeManager org.bukkit.event.EventException
Running bukkit 1.3.1 R2
-
View User Profile
-
Send Message
Posted Aug 16, 2012@arnnie
Yes, you can use names or IDs....
Still, I've heard that in Tekkit item names are the IDs starting with X, they don't actually have names.
Also, I never used Tekkit and probably never will so I can't be aware of whatever errors there might be with it if nobody reports them.
-
View User Profile
-
Send Message
Posted Aug 16, 2012I am using an earlier version as the latest ones have errors on my Tekkit server. Version 1.21 works fine exept for the shift-click. It will not use item names in Tekkit, is it possible to use item ID's?
-
View User Profile
-
Send Message
Posted Aug 16, 2012@DiggerMark
Yes, givemoney and givelevel act as giveexp :/ it's fixed in the next version that's still to be finished :}
-
View User Profile
-
Send Message
Posted Aug 16, 2012At the moment @givelevel takes experience points instead of levels. This way it can not factor in the increased cost past level 19. Also a player doesn't know what e.g. 3500 experience would look like.
-
View User Profile
-
Send Message
Posted Aug 16, 2012@allbad1
The latest, v1.26, altough it's not documented in the readme.txt because I forgot xD I posted that documentation in previous comments.
EDIT: Here, I'll re-post it:
@arnnie
Yes well, I don't know if they work or not, you'll have to try it and if there are any issues I'll try my best to fix, but there are some problems with server mods that I can't fix from my end.