cRecipes

Configuration

Configuration and How-To

config.yml - The main configuration

The config.yml only has only a few options:

check-updatesIf this is set to true, cRecipes will automatically check for updates.
debug-outputIf you enable this the plugin will inform you about errors and other stuff
permissions.messagesThe 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

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of link3321 link3321 Apr 29, 2014 at 20:15 UTC - 0 likes

    Can i make a recipie including a custom crafted item? Example 5 Diamonds makes a gold block and 5 of those gold blocks make a nether star and only 5 of those gold block(With custom name and lore) makes a nether star not for example 5 normal crafted gold blocks(9 gold ingots) can also make a nether star

  • Avatar of SpaceEmotion 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

  • Avatar of SpaceEmotion 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:

    1. Put vanilla removals in here
  • Avatar of edric12 edric12 Feb 22, 2013 at 14:02 UTC - 0 likes

    Do tutorial video, and post a recipe.yml or config plz? can use the ids of the items?

  • Avatar of FuSe18 FuSe18 Feb 16, 2013 at 08:10 UTC - 0 likes

    Thanks 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

  • 5 comments

Facts

Date created
Feb 09, 2013
Last updated
Feb 09, 2013

Author