Configuration Usage - ThePlay3r/CustomRecipes GitHub Wiki

Configuration Usage

Here you can find examples of formating stuff in configuration.
Navigation

| Crafting
| Furnace


Crafting

crafting-recipes:
  <ID>: # Name of the recipe, can be whatever.
    shape: # Shape of the recipe, representing the crafting table.
      row-1: " E " # Top 3 items of the crafting table.
      row-2: " E " # Middle 3 items of the crafting table.
      row-3: " S " # Bottom 3 items of the crafting tabl.e
    ingredients: # Ingredients, defined in the shape.
      # Must be in this format: <CHARACTER:MATERIAL>
      # List of materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
      E: "EMERALD"
      S: "STICK"
      # In this example, the crafting recipe would look for something like "emerald sword".
    result: ... # PLJRApi's Configuration (Itemstack, that will be crafted from the recipe.)

Furnace

furnace-recipes:
  <ID>: # Name of the recipe, can be whatever.
    ingredient: "IRON_HELMET" # Ingredient, that will be required for to be smelted.
     # List of materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    result: ... # PLJRApi's Configuration (Itemstack, that will be result of the smelting.)
⚠️ **GitHub.com Fallback** ⚠️