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.
Whoops!
@PhanaticD
This might probably be a bug in Minecraft 1.2.3 and not Craftbukkit or Cookbook. But let's wait what Celtic has to say about this. Btw I'm having this problem too.
damage values dont seem to work i have red and yellow wool make glass but it only works with 2 white wool
@Shapeless wool/14, wool/4 -> 1x 20
For anyone still on 1.1 who hasn't heard yet, there's a 1.1-R7 build out now, which you'll need to get if you want recipes that have enchanted results.
@bluehasia
Probably won't happen, sorry.
I'm getting this error on startup
And then a lot of this
think it be epic if this plugin could listen for the custom made items made with this plugin http://forums.spout.org/threads/fun-rpg-morematerials-v1-6-2-unleash-the-power-of-custom-blocks-and-items-spn-737-cb-1-1-r4.70/
Version 1.0 will probably work on 1.2, as long as you don't enable the glass bottle or soup bowl fixes.
Will you be updating this for 1.2 ?
added new recipes today and cant for the life of me figure out what is wrong? the 18 current i have still work but the plugin fails to load the rest in the file? i was on v.5 i upgraded now to v.07 still now work
@shapeless 16 -> 9x 263 #this is the last working recipe that was original before i updated the list
@shapeless 295 326 -> 4x 111
@shapeless 295 326 280 -> 4x 106
@shapeless 87 04 -> 2x 112
@shapeless 87 04 87 04 -> 4x 112
@shapeless 87 04 87 04 87 04 -> 6x 112
@shapeless 87 04 87 04 87 04 87 04 -> 8x 112
EDIT: i give up trying to get them in there right rows it keeps putting them all on the same line
EDIT 2: cant say how many times i posted my question then i see what i did wrong*facepalm* no comma,works now
@Adkos
It won't work with custom items unless the mod that provides them replaces the Material enum. There's not a lot I can do about this; some workaround might be possible, but for the most part it's simply an issue with the way Bukkit does things (something that they're working on fixing though).
@Dmck2b
From what I've heard, Spout is going to be a separate server mod from Bukkit which implements the Bukkit API for compatibility with Bukkit plugins but also provides its own API.
@Psyphil
Permissions are planned. Mostly I simply haven't had the time to work on it, and also to do it properly I kinda need inventory events. I don't think it'll happen for a 1.1 Bukkit; the events are implemented in my test version of CraftBukkit, but they cause client crashes in some circumstances. Maybe they'll be ready for 1.2 Bukkit.
Suggestion: Permissions!
A simple permission to use any custom recipe would do but the ability to set different recipes in different "permission groups" would be awesome.
I was just reading your changelog before I update and what do you mean by "Spout beong discontinued as a plugin"?
I havent heard any news of this or is it just a mistake in what you were trying to convey?
This plugin looks awesome, but before install it, I wanna know if it works with custom items, whatever Spout plugin they come from ?
That fixed the vines. Thanks so much for the update\support and the mod.
@denxerator
A shaped recipe is a regular style recipe, where you need to arrange the items in some kind of pattern. A shapeless recipe is different; you need the right ingredients, but it doesn't matter where you put them. A smelting recipe sets what you get when you smelt something in a furnace.
For your recipe, you'd probably want something like this:
Hi, great plugin!
I just have a question about it, what is shaped, smelt, shapeless?
And also say you want to craft a grass block using dirt and seeds, would it be @Shaped seed seed seed seed dirt seed seed seed air For 3 seeds on the top row, 1 seed 1 dirt 1 seed in the middle row, and 2 seed on the bottom row with the last slot being empty?
@Swang4004
As of 0.7 I think you should be able to get it work by specifying "any data value" with /-1 or /*. The updated version is already live (I deleted the bad version as soon as I realized there was an issue).
@Celtic_Minstrel
Thanks for getting back to me, you might be on to something. I did a \give and the vines did work just fine. I placed one on a wall, sheared it then tried it again and it seemed to work still. A Vine from a chest legitimately gained does not work. Ill try the v0.7 after its updated and see if it helps.
I figured the third recipe out, I was noobing it up.
To the 21 people who downloaded 0.7, there will soon be a revised version of it available. You'll want to redownload, since I suspect the 0.7 file was in fact just version 0.6 relabelled.