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 7, 2012@THDigi
i can put it on my test server but i have no player to Check thoroughly
-
View User Profile
-
Send Message
Posted Aug 7, 2012Can anyone quickly test a new version ? I'm unsure if it will fail terribly on certain situations =)
Or should I just release a beta ? :}
-
View User Profile
-
Send Message
Posted Aug 6, 2012@THDigi
i have no laags but if i have more plugins the server must work more
-
View User Profile
-
Send Message
Posted Aug 5, 2012@Tealk123
Well, depends on the plugins... do you have any lag problems ? If not, that extra plugin shouldn't add lag.
@jespertheend
I see.
Just for your information: SEEDS, LEATHER, JUKEBOX, AIR, MINECART, BOOK, STRING, GLASS_BOTTLE (and maybe more) are already the names of those items... and they are fully supported by the plugin without aliases :}
Also, the valid word is 'dispenser' :P That's also the name of the item itself.
-
View User Profile
-
Send Message
Posted Aug 5, 2012here are my aliases:
SEEDS: 295 MOSSYCOBBLE: 48 SLIMEBALL: 341 CLAYBALL: 337 FLESH: 367 LEATHER: 334 ENDERPEARL: 368 BOOKCASE: 47 JUKEBOX: 84 SMOOTHSTONE: 1 AIR: 0 MINECART: 328 TRACK: 66 PTRACK: 27 DTRACK: 28 BUTTON: 77 GOLDN: 371 SPRESSURE: 70 ENCHANTTABLE: 116 GHAST_TEAR: 370 BROKENDISC: 2266 BOOK: 340 DISPENCER: 23 BLAZEROD: 369 COBWEB: 30 STRING: 287 GLASS_BOTTLE: 374 SOULSAND: 88 MILK: 335 ENDEREYE: 381
-
View User Profile
-
Send Message
Posted Aug 5, 2012@THDigi
i have atm 60 Pluigins on my server, and thats the reason why i try that i dont make it mutch more.
the best way would be a own plugin writer but nobody like us :P
-
View User Profile
-
Send Message
Posted Aug 5, 2012@Tealk123
No, not really, it involves returning items in crafting grid and copying data values from an ingredient over to the result... for that plugin is easy because he can just do it directly, but for this plugin is alot harder because I need to consider all recipe types, shapes and etc.
You can just use that plugin tough, it shouldn't interfere with this plugin.
Also, why don't you just use CraftItemEvent ? It triggers when player clicks the result slot when it has a valid result, so you wouldn't need all those checks.
-
View User Profile
-
Send Message
Posted Aug 5, 2012hi, is it possible to add this Recipe? and then how
http://dev.bukkit.org/server-mods/maplicate/
-
View User Profile
-
Send Message
Posted Aug 5, 2012@THDigi
Yeah. This makes more sense ;-) . An command for that would solve it. But i think it sucks to search the whole file just to remove some lines. Wouldn't it be better if there is both? At first it creates the default ones (at startup if they don't exist, or by command) and then it overrides them with the specified flag.
EDIT: I also have an idea how to implement the command without have the files included so it reads them out from the bukkit recipeDictionary and converts them into a readable format.
-
View User Profile
-
Send Message
Posted Aug 5, 2012@_Belkar_
Oh forgot about that in the readme, I wanted to add the command a long time ago but then I forgot... I'll just remove that from there as you can just re-download or re-extract the default recipes from the original zip if you want... but I guess it would be easier to just extract them from the plugin on a command... it would also increase jar file size :} I dunno, thoughts ?
But I think, instead of removing and replacing recipes with flags... wouldn't it be easier to just add an 'extract' command (or existing-recipes option ?) to generate recipe files for *all* recipes found in the server ?
-
View User Profile
-
Send Message
Posted Aug 4, 2012@THDigi
I PM'd you. I finally got it to work. No on my server I made it so that diamond tools need EXP to be crafted. But your plugin also cleared all server mod recipes and there are also some changes to vanilla recipes (like minecart tracks (not from your Plugin but from Tekkit/Railcraft)). So I want(ed) a feature to JUST modify some of the recipes and not all (I don't feel like writing all recipes from the mods down :P)
And about those bugs I spoke. Forget them, Bukkit saves his recipes in a bit corrupted shape (see PM for near information)
About your command: I saw it in your readme.txt (Line: 14)
I also sent you the code with the changes you only need to add the override-tag and field to your Recipe.java then it sould work.
EDIT: Something that would now be easy to implement is an @remove-tag to just remove this recipe instead of replacing it with another one.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@_Belkar_
Any other recipes provided by server mods or other plugins shouldn't be affected, if they are you should say so and I'll investigate.
I try to make this plugin compatible with Tekkit and any other mods or plugins, but I can't use them all so I can only fix what users experience.
So you basically want to change some other mod's recipes ? Yeah I could add an @override flag (overload has diferent meaning).
There isn't any "rm restore default recipes" command nor any "rm" command, where did you get that idea from ?
Also, I'm curious what bugs you found in the shape, you should detail instead of attempting to fix... expecially since you just started coding and I've been working on this since before october 2011 :)
-
View User Profile
-
Send Message
Posted Aug 4, 2012Great plugin. I really like it. But could you please make it more friendly to server modifications like Tekkit so it only overrides/replaces recipes that are available in the config file or that it generates the default crafting recipes from the server intern recipe variables so that those aren't affected.
Or, which I would prefer more, an additional flag that forces a new crafting recipe (default recipe but with new flags) to replace an existing with the EXACT same item positions. The final recipe would then look like this:
EDIT: btw. your "rm restore default recipes" command doesn't work (not handled (or found?) in your source code)
EDIT2: Also I started coding my self (I got bored) and found bugs at your shape setting (at least they don't fit with the ones from pure bukkit). I try to fix them and then will PM you (I am working on the 1.24c version since I don't use 1.3.1)
EDIT3: Sorry this isn't a bug from you... Bukkit turns the shape around after adding the recipe.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@SzynuszPL
It's similar to http://dev.bukkit.org/server-mods/recipemanager/tickets/95-chunk-load-event-event-error-1-25b/ , same cause.
You can disable chunk events in the config.yml to avoid the error but it will remove some options, the comments in the config will detail more on that.
-
View User Profile
-
Send Message
Posted Aug 3, 2012Hello, I have another problem pops up to say this error is the plugin version 1.25
-
View User Profile
-
Send Message
Posted Aug 3, 2012@jespertheend
Hmm, it seems I've set its lastchanged to 1.25 instead of 1.25b, so the warning shows regardless of your changes.... you can just set lastchanged to 1.25b to avoid it.
I'm curious what aliases you're adding, can you post them ? Maybe I'll incude them in the release :}
Also, I don't recommend using exp rewards (level and money are fine) because I didn't update the exp system for 1.3 (it needs manual stuff because Bukkit's giveExp() method is glitchy).
... I'll note these in the release's caveats.
-
View User Profile
-
Send Message
Posted Aug 3, 2012hey I've a problem. When I delete the aliases.yml and regenerate, it works fine. But as soon as when I put my own aliases at '# Add your own if you want.' it says:
liases.yml has changed! You should delete it, use rmreload to re-generate it and then re-configure it, and then rmreload again.
in the console.
-
View User Profile
-
Send Message
Posted Aug 3, 2012yay, thanks :P
-
View User Profile
-
Send Message
Posted Aug 3, 2012@SzynuszPL
I've just said below a few comments, I've uploaded it, it's waiting approval... but now it's approved it seems.
And the only place you can get it is from the Files tab, nowhere else.
Altough I've already found a few recipe issues with v1.25, you should set existing-recipes: nothing in the config.yml to preserve the default recipes until next version (which I just uploaded and it's under approval :} )
-
View User Profile
-
Send Message
Posted Aug 3, 2012I use the version 1.24c
Where can I download this version 1.24d or 1.25??