Recipe Configuration
The recipes allow players to create unique items through their profession and using their workstations.
Recipe Creation
Before creating a recipe, one must first create an item in the file matching the profession. This is done by going in the /RPPRofessions/items/ folder to create a .yml file named after the desired profession. E.g. /RPPRofessions/items/alchemist.yml .
All the items created inside that .yml file will be linked to the profession of the file name.
When creating the .yml file, the profession id is not case sensitive. This mean that, if you created a profession which id is ENCHANTER, the file can either be named enchanter.yml or ENCHANTER.yml.
General Options
These options are common to all kind of recipes.
Mandatory Options
These options must be defined otherwise the plugin won't load the recipe.
Station
The workstation used to craft the item. It obviously must be set to a workstation usable by this profession.
If you want to use the vanilla crafting table as the recipe station set the option to 'WORKBENCH'
Category
The category in which to sort the recipe. This is used to classify the recipes in the recipes menu.
Additional Options
These options are not required as they all have default value that would be chosen should you decide not to do so.
Required level
Set the required profession level in order to craft this item. Default value is 1.
Level gain
How many levels should be gained when completing this craft. Default value is 1.
Level cap
The maximum level the player can gain level from crafting this item. Default value is required-level + 25.
Default
If the players should know how to craft this item as soon as they reach the required level. Setting it to false will force players to learn the recipe by finding and right clicking the recipe for this craft. By default the value is set to true.
Dynamic
Whether the recipe is dynamic, i.e. the crafter must complete the workstation mini-game in order to complete the craft. Default value is false.
Shaped Recipe Options
These options are common to all recipes using 3x3 crafting grid.
Recipe
The actual recipe. Each number corresponds to a position in the crafting grid, with 0 being the top left corner and 8 the bottom right corner.
You can use RPProfession items in the recipe as well:
You can also use items from compatible plugins:c
MMOItems: "mmo-item:"/"mi:"
MythicMobs: "mm-item:"/"mm:"
Reagent
The reagent is an additional item that is required in order to make the recipe work. The crafter must place the required reagent in the bottom slot of the crafting recipe in order to successfully create their item.
Brewing Recipe Options
These options only work for recipes using the brewing stand, i.e. dynamic recipes in workstations with BREWING_STAND set as the station option.
Receptacle
The item that must be placed in the potions slots, i.e. the 3 bottom slots of the brewing inventory. It can be anything.
Reagent
The item that must be placed in the top slot of the brewing inventory. It can be anything.
Not to be confused with the reagent option of shaped recipes.
Fuel
The item that must be placed in the fuel/blaze powder slot of the brewing inventory, i.e. the leftmost slot of the inventory. It can be anything.
Fuel consumed
Whether the brewing stand must be fueled with blaze powder and the recipe will consume one unit of it. Default value is false, i.e. the potion can be crafted without blaze powder loaded in the brewing stand.
Using Soft Dependencies
You might want to use items from other plugins as your recipe result, meaning let players craft items from other resources than RPProfessions. This can help you create even more interesting and unique professions.
Instead of configuring your items from scratch using options like material, display-name, etc... you can simply import an item.
MMOItems
To use an item from MMOItems as your recipe result:
MythicMobs
To use an item from MythicMobs as your recipe result:
Oraxen
To use an item from Oraxen as your recipe result:
Check out the Item Configuration Examples page of the wiki for full examples of items and recipes configurations.
Last updated