Configuration and How-To
config.yml - The main configuration
The config.yml only has only a few options:
| check-updates | If this is set to true, cRecipes will automatically check for updates. |
| debug-output | If you enable this the plugin will inform you about errors and other stuff |
| permissions.messages | The default message shown when a player lacks the permission to craft an item |
recipes.yml- The recipe configuration
Attention: This file is NOT being generated by default! To start off, create an empty file called "recipes.yml" first!
The only real configuration file you need is a "recipes.yml" inside the cRecipes plugin folder. This plugin supports shaped recipes, shapeless recipes and furnace recipes. If you want to remove a vanilla recipe just add the name to the remove-list.
General Information
The recipe configuration consists out of four different sections:
remove-vanilla: # Put vanilla removals in here shaped: # Put shaped recipes in here shapeless: # Put shapeless recipes in here furnace: # Put furnace recipes in here
A typical recipe configuration needs at least an output and the recipe itself. Optional configurations are not needed by default.
"Name of Recipe": block: <Material>[:<Data>] # Example: block: 98:5 recipe: # The recipe itself drops: # Optional, if no list is given, the original block is being returned - <Material>:<Data> details: [] # Optional, List of item "lores" permission: 'my.crafting.permission' # Optional permission need to craft this item messages: # Optional message overwrites no-permission: "No permission, my friend" amount: 4 #Optional, the amount of items to craft set-name: true # If set to false the item name is not being set extras: #Optional, list of items given upon successful crafting - <Material>:<Data>
Shaped Recipes
A shaped recipe needs a defined shape to be successfully crafted (like pickaxes, shovels, ...). Possible shapes are 1x2, 1x3, 2x1, 2x2, 2x3, 3x1, 3x2, 3x3.
recipe: ingredients: X: <Material>:<data> Y: <Material> shape: - XYX - YXX
Example:
shaped: 'Hay': block: SPONGE recipe: ingredients: a: WHEAT shape: - aaa - aaa - aaa details: - Crafted with fresh wheat directly from the farmland permission: craft.hay messages: no-permission: '&3You need to solve the farmland-quest before you can craft this block!'
Shapeless Recipes
In a shapeless recipe the order in the crafting area does not matter.
recipe: - <amount>:<Material>:<Data> - <amount>:<Material>
Example:
shapeless: 'Coal Barrel': block: WOOD:9 recipe: - 1:WOOD:8 - 1:COAL drops: - WOOD:8 - COAL
Furnace Recipes
In a furnace recipe only the input matters. You do not need the recipe key in this case!
Example:
"Dirty Wood": output: WOOD:5 input: DIRT
- 4 comments
- 4 comments
- Reply
- #4
SpaceEmotion Mar 05, 2013 at 18:47 UTC - 0 likes@edric12: Go
You can use item IDs and names: http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html for the names
BFAK:spaceemotion,90605036,8cc2404f667f38b8178394e559370eede43a72e94fb0f4c68b84f14157199693
- Reply
- #3
SpaceEmotion Mar 05, 2013 at 18:46 UTC - 0 likes@FuSe18: Go
I am just citing:
The recipe configuration consists out of four different sections:
remove-vanilla:
- Reply
- #2
edric12 Feb 22, 2013 at 14:02 UTC - 0 likesDo tutorial video, and post a recipe.yml or config plz? can use the ids of the items?
- Reply
- #1
FuSe18 Feb 16, 2013 at 08:10 UTC - 0 likesThanks for the horrid explination of how to remove items
The only real configuration file you need is a "recipes.yml" inside the cRecipes plugin folder. This plugin supports shaped recipes, shapeless recipes and furnace recipes. If you want to remove a vanilla recipe just add the name to the remove-list.
so what do i make a remove-list.yml? and then inside just type
enchanting_table