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 Jul 6, 2012Sorry for the delay, let's see.. i want to create new formulas right? but i want default formulas of minecraft work normally. So if i delete the default folder... the default formulas of minecraft will not work?
-
View User Profile
-
Send Message
Posted Jul 6, 2012Alright I must be doing something wrong, the plugin loads error free it loads 182 recipes, I add more recipes and reload the plugin- still only 182 recipes. I've tried making them in new folders, making them folderless, putting them in the default folder, and even adding them right into the default txt files- nothing. I do reload, or even restart the server, and it is still just 182 recipes.
-
View User Profile
-
Send Message
Posted Jul 5, 2012On a positive note, I've had 0 problems so far on 1.23c with that setting turned off. :)
-
View User Profile
-
Send Message
Posted Jul 5, 2012@THDigi The chunk load error occurs in at least two other circumstances. It's definitely not just portals. For example:
This one may be related to JukeboxControl, but it's a very simple plugin that just checks if adjacent blocks are jukeboxes when a redstone power event occurs. Here's another one:
Most are portaltravelagent related errors, and can get pretty spammy. It's possible that they occur more often on my server because of the way Multiverse-NetherPortals handles those events. However, it's not indicated in the error.
-
View User Profile
-
Send Message
Posted Jul 5, 2012@RealityIntern
Well that error triggers inside the imported experience class (which is required to corectly give experience as Bukkit's methods are wrong) and recently it was updated to prevent just that, the heap errors, I've added that to the next version as well :} hopefully it's fixed.
The reason why that triggers I belive it's because of a player's invalid level or uber huge (which can be achieved only by means of plugins or invalid level...), but that is just guessing.
Also, I know that the chunk load error triggers when a portal is generated in a chunk that has tile entities (like signs), do your players make that many portals that it spams your console ? O.o
-
View User Profile
-
Send Message
Posted Jul 5, 2012I looked back at the log from the last day I had this and I had three repeating errors outside of the chunk load events, all "java heap space" errors. I'm not sure how that works, but it was the only plugin giving me errors at the time. It started only after 4.5 hours after a restart and there were no reloads of any kind. I still had allocated space left even when it was giving errors. (2100MB/3000MB)
I'm not sure if this is useful information or not, given the circumstances, but it's information at least. I installed 1.23c tonight and so far so good with the chunk load event turned off.
-
View User Profile
-
Send Message
Posted Jul 4, 2012@RealityIntern
I see, well, looking forward to your findings :}
@Zefram
Yes it was already reported and fixed for the next version.
I've also noted it in the version's known caveats section (under the file changelog) along with an easy temporary fix until the next version :}
-
View User Profile
-
Send Message
Posted Jul 4, 2012v1.23c
11:20:45 [INFO] [RecipeManager] FurnaceBurnEvent cancelled due to error:
11:20:45 [SEVERE] java.lang.NullPointerException
11:20:45 [SEVERE] at digi.recipeManager.Events.eventFurnaceBurn(Events.jav
a:705)
11:20:45 [SEVERE] at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown
Source)
11:20:45 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
11:20:45 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
11:20:45 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
aPluginLoader.java:302
11:20:45 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
eredListener.java:62
11:20:45 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
ePluginManager.java:460
11:20:45 [SEVERE] at net.minecraft.server.TileEntityFurnace.q_(TileEntityF
urnace.java:179
11:20:45 [SEVERE] at net.minecraft.server.World.tickEntities(World.java:11
77)
11:20:45 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServe
r.java:558)
11:20:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
ver.java:459
11:20:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
ceFile:492)
>
-
View User Profile
-
Send Message
Posted Jul 4, 2012@THDigi Sorry I couldn't go into more details about my problems. I sometimes look into other people's code for bugs, but the issues seemed unrelated to your plugin or difficult to track down. You already knew about the one chunk load event issue, and that was already bothering me when I noticed the plugin was somehow related to stability issues on my server.
I don't use global reload as that causes issues for certain plugins, but It's possible I used plugman to reload something else much earlier in the day. I don't recall doing that, though. Usually when a plugin like yours has a reload command, I use that.
I didn't use a custom furnace time. All I did was add xp for gold/iron ore furnace recipes, as it is in 1.3.
I just came on when I noticed you had updated with disabling chunk load events. Thank you so much. It's enough to get me to come back to this plugin. And knowing you're on the case will encourage me to invest a bit more time into digging into possible issues. I'll let you know how it goes.
-
View User Profile
-
Send Message
Posted Jul 4, 2012@renadi
Yep, that's been added a while now. You can also execute client or server commands when recipes are crafted to comunicate with other plugins easily :P ... for example, you can award permissions when someone crafts a recipe by using the a command from your permission manager to give the player a permission.
Just open readme.txt to see all the options :P
-
View User Profile
-
Send Message
Posted Jul 4, 2012XP cost for crafting?
Oh my, I like the sound of that.
-
View User Profile
-
Send Message
Posted Jul 3, 2012@skullonroses
Yes I know, it does that for everything :} and yeah, soon enough :P
-
View User Profile
-
Send Message
Posted Jul 3, 2012Hm looks like that bug I have reported u exist even with regular fuels...(cannot refill remember if not empty?) Do you think any bug fixes will come out soon?
-
View User Profile
-
Send Message
Posted Jun 30, 2012@RealityIntern
That event disabling idea is interesting, I'll look into adding that.
When you had memory leaks, did you have any furnace recipes with custom cooking time ? Also, if you used "reload" or a plugin that enables/disables other plugins, those would also be the cause of a memory leak... I'll look into possible causes tough.
Still, you didn't really say what's "too buggy" about it... I didn't have other complains of memory leaks and the server issues are not my fault, altough I'm trying to manage them as much as I can, there's only so much that I can do. I also don't run a public server and I can't know what is wrong with it without feedback. :}
-
View User Profile
-
Send Message
Posted Jun 30, 2012I have no problems with it...minor bug mb
-
View User Profile
-
Send Message
Posted Jun 30, 2012Had go back to another recipe plugin. This seems to be too buggy, craftbukkit bugs or not. Maybe add options to completely disable certain parts of the plugin? For example, in WorldGuard you can turn off playermove events and it won't register those events at all. In RecipeManager, if I could turn off furnaces then you wouldn't need to register the load chunk event, thus preventing that spammy craftbukkit error.
Something related to RecipeManager was causing a memory leak, and I had enough. The very moment I disabled it I could see the memory stop climbing.
Still, I do appreciate all the work you've done on this. There's some great features here and I hope to use it in the future.
-
View User Profile
-
Send Message
Posted Jun 29, 2012@THDigi
Will do buddy when Im not 2 wine bottles deep...
-
View User Profile
-
Send Message
Posted Jun 28, 2012@skullonroses
Well, I did actually do that but I looked at the code again and it seems I mistyped a condition which cancells my effort to add fuel over existing fuel (and same for ingredients), will be fixed in next version.
You should test some other stuff from shift clicking in furnace and let me know if any don't work as expected so I can fix them in the next version.
-
View User Profile
-
Send Message
Posted Jun 28, 2012My bad. Here is something I wound in RM. When using custom fuel (ex. Seeds) if some custom fuel is in fuel slot and u are trying to add more of the same kind by shift + left click it wont add to fuel slot...it will do nothing or will move it to item slot if empty...
-
View User Profile
-
Send Message
Posted Jun 27, 2012@skullonroses
No, but an improvement would be to... however, variable snow height has bugs with shadows and looks crappy :/ Also, you should post there if it's about that plugin instead of here.