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:
@lizardbones
I already made enchanted results in the next version, I need to finish working on the rest of it to release it. Still, I can only make enchanted recipe results, I can't use enchanted items as materials for recipes.
@boblefisk
What ?
your latest build R: v1.1g for CB 1.1-R7 Mar 03, 2012
is having a infinite block bug in nether. you dont lose blocks once entering nether, if you restart server while down there, its temp. fixed, but as soon as you reenter nether, the same problem occur.
For having enchanted items as a result, couldn't you do something like this? -> Make an item stack of something (boots); Enchant the item stack of something; Create a new recipe with that enchanted item as the result; Add the recipe to the server;
Here's some copied code with one added line: ItemStack resultmoss = new ItemStack(Material.MOSSY_COBBLESTONE,1); resultmoss.addEnchantment(ENCH, ?); << this line is suspect, but something like this ShapedRecipe mossrecipe = new ShapedRecipe(resultmoss);
There's more there, like actual code, but is there something in the getServer.addRecipe() or the new ShapedRecipe()/new unshapedRecipe() routines or the addEnchantment routine that prevents enchanted items from being the result of a recipe?
This is an "I'm curious" post, not a "Do this" post.
@LordKainzo
That error is getting really annoying... nobody even replied to my post in the forums, so I don't know how to solve it.
Does it actually break anything ?
EDIT: I suspect is something wrong with bukkit on this since it's triggering inside the getTileEntities() method...
Just leaving this here (from latest) http://pastie.org/3630594
@Hjelmansson
Releasing dev versions will take extra time, I'm focusing on releasing ... releases =) Also, the un*.txt will be replaced by whatever turns out in the vote.
@dilbukon
It will be a easier way in the next version, see the vote :P
Hi, my server needs to ban most of the recipes exist in the game.
Is there any way to do this without listing all the recipes manually in the restricted config file?
is there a dev. version or a version compatible with CraftBukkit 1.2.3-R0.3?
EDIT: Using 1.1g, the custom crafts are still working, but the uncraftables aren't.
I <3 u bro (no homo)
Btw spout now has a furnace api plugin too for custom furnace recipies, not sure if you need anything like that since you already have some furnace things in here.
I just wanted something uncluttered to add a few small recipies like 4 netherack -> netherbrick and this plugin does that perfectly! Great job.
Yes I am trying to add permissions for all recipes, that's why it takes so long to release the newer version :/
Cookbook / Celtic_Minstrel said he is now adding Permissions, do you think you'll add that as well?
@THDigi
I'll get you a detailed report on how to replicate it if you want it.
@LordKainzo
I couldn't replicate the issue so I can't fix it. Still, the issue could've been with bukkit because bukkit handles the recipe creation in the workbench and so on.
@thappy001
Not possible for now.
Are there any permission nodes for this plugin? I would like to only allow custom recipes to specific groups.
@THDigi
Were the dupe exploits ever resolved? I'd love to see this plugin again on my server :D
@angelofdev
No, because it's not that easy and it will require a txt style change.
Has spout been removed yet?
@Kane_Hart
It's kinda the only way, but when the R5 bukkit is released, spout will no longer be required for removing recipes.
Still, why is it a problem to use Spout server plugin ? I said in the description, it does NOT require the client.
Was very excited to use this on my Industrial Server to ban certain items from being crafted. That was until I saw spout required to ban items!
spout is only used to deny furnace recipes, if you don't use spout you just miss out on that.