Cookbook
Cookbook 1.2
A plugin to customize the recipes on your server to your liking. Currently it only allows to set recipes in the recipes.cb config file, but an in-game recipe creator is planned as well as recipe-based permissions.
Recipes are read from recipes.cb. The format is pretty intuitive; it is most easily explained by example.
# The # symbol indicates that the rest of the line is a comment @Shaped dirt dirt # An up to 3x3 grid of the ingredients, with air for empty slots. 0 3 # ingredients can be specified by ID or name -> 2x IRON_INGOT # The format of the result is the same for all recipe types @Smelt Dirt -> 3x Wheat @Shapeless Apple, Bowl -> 1 Water-bucket # The x is optional @Smelt Redstone -> 6 ink-sack/3 # You can specify data-values anywhere except on smelting input @Smelt Bow -> 1 Bow ARROW_INFINITE=1 # You can add enchantments or other metadata like this.
For more details, see Recipe Format.
Configuration
The following keys are used from the config.yml in the Cookbook folder
- startup - Specifies how Cookbook should behave on startup. Valid values are "clear" (remove all vanilla recipes before adding the ones from recipes.cb), "reset" (reset to vanilla recipes before adding your custom recipes), and "compound" (just add your recipes). You could use this to suppress recipes from other plugins, or to completely redo the recipes Minecraft offers. Note that some vanilla recipes, such as fireworks, dyed leather armour, map copying, map zooming, and book copying, are impossible to reimplement using Cookbook, so consider this before deciding to use "clear".
- fix.soup-bowl - If true, Cookbook will give back the bowl if you use mushroom soup in a recipe.
- fix.glass-bottle - If true, Cookbook will give back the bottle if you use a potion in a recipe. Note that, if you set this to true and create recipes where potions are used as ingredients to craft other potions, you will get a free glass bottle each time a potion is crafted from a potion. So don't set it to true if you want recipes of that type.
- allow-high-enchants - If true, Cookbook will allow enchantments of higher than normal levels.
- allow-wrong-enchants - If true, Cookbook will allow enchantments on items that they don't normally apply to.
- generate-defaults-cb - If true, Cookbook will generate a defaults.cb before adding any recipes. After doing so, this flag will be set to false. Note that, due to Bukkit quirks, a few recipes in the resulting defaults.cb won't be accurate; generally the complicated things involving maps, leather armour, books, or fireworks. However, these recipes can't be replicated with Cookbook's capability anyway. Note also that if other plugins add custom recipes, these recipes may appear in the defaults.cb if they loaded before Cookbook.
List of item/block names || List of enchantment names
Note: This is not the original Cookbook by fullwall and is not even based on his code; it has been rewritten from scratch, but I liked the name and, since his has been inactive for a long time, decided to recycle it. If there is enough demand I may write a converter to convert fullwall's Cookbook format to my Cookbook format.
can you add brewing stand recipes
Add custom furnace fuels?
startup: clear
doesn't work :/
Is the default.cb complete? I mean are all standard recipes inside it?
Is this still updated?
It is a very cool plugin. You can even make it reverse craft items.
Cool plugin :). If anyone wants to use it with unsafe enchantments, I posted a patch + custom build in ticket 13 - compiled for 1.2.5-R1.0.
best plugin ever
@TheSandwichMakr
aggree'd, but I think the bukkit API isnt out yet for custom brewing
Could you please add brewing recipes Maybe like @Brewing rotten_flesh top input potion/0 bottom input -> potion/49 output
is there plans for an update for 1.2.+?
What is the syntex for the startup? I did
and got
I've heard of that issue. There's even a ticket for it. I imagine it'd be relatively simple to send the extra update that would be required to fix that glitch, though getting it fixed in CraftBukkit would be nice as well.
@Celtic_Minstrel
Oh :P. Thanks a bunch, and thanks for making a plugin like this for 1.2.3, helps a bunch. By the way, is there any possible way to fix the bug where when you hold shift and click an item to make all of that item it only puts one of them in your inventory till you close the table? I also noticed this glitch in CustomCrafting. I can make a video If required.
Ah, I see another issue. The result line for several of your recipes is missing the amount; it only has the ID of the result you want. You need to add "1x" before all of those in order for it to understand it.
I may look into making the amount part optional so that it doesn't break if you omit it.
@Celtic_Minstrel
Sorry about that, I'll have to remember that next time. I created a nice little webpage for you to view the files with :P
I went ahead and fixed the shapeless ones already and flipped my quantities in my results (instead of 4 netherrack making 4 nether brick, I made 4 netherrack make 112 cobblestone).
Thanks.
@xclucky
I can't do much with your error messages since you've combined the files and made the line numbers meaningless. In future, please just post your config file unchanged, and either add the error messages at the end or post them separately.
Looking through your config, I did notice that your shapeless recipes are incorrect. All their ingredients should be on one line, separated by commas.
As for all data values, that's supported on the ingredients; you can use either /-1 or /*.
Does anybody have this working on the Beta 1.2.3?
I'm having a few errors, here is a brief example of them, the link provided has more:
These are most likely errors on my part, however could you please take a look at them and reply back? Thanks.
PS: The previous plugin that I used for this, customcrafting, had the option to do something like 35/-1 to do all data values of 35. Does that work on this plugin too? If not, could you add it?
@Celtic_Minstrel
lol thanks for fix