Pl3xRecipes
Description
Easily and quickly add custom recipes to Bukkit via a simple config. Supports shaped, shapeless, and furnace recipes. Custom names and lore with color/style is also supported.
Please be VERY careful when you setup your recipes. The slightest fault can cause the whole thing to not function at all. Use the correct material names. Dont try to override recipes that arent there (mob spawners, for example). Make sure your raw data values are correct. For the love of all that is good, match your shapes to your ingredient lists!
v1.2 now supports custom mob spawners. To make a custom mob spawner recipe, set the "name" as the entity you want it to be. Example:
recipes: shaped: - material: MOB_SPAWNER quantity: 1 name: SKELETON shape: - 'III' - 'IEI' - 'III' ingredients: I: IRON_FENCE E: MONSTER_EGG:51
Enjoy! ^_^
Commands
/pl3xrecipes (reload) View version and/or reload config.yml from disk. (Aliases: recipes)
Permissions
pl3xrecipes.command.pl3xrecipes Allow access to the /pl3xrecipes command.
Default config.yml
Version 1.1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | # Enable debug info in console debug-mode: false # Enable colors in console output color-logs: true # Custom Recipes # List of Material names can be found here: http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html # Please uncomment all the below lines and change/add/remove to your hearts content recipes: # shaped: # - material: LEASH # override: true # quantity: 1 # name: '&3Super &4Leash' # lore: # - 'This &4is &just' # - '&asome &2sample &olore' # shape: # - 'S ' # - ' S ' # - ' S' # ingredients: # S: STRING # - material: SADDLE # quantity: 1 # shape: # - 'LLL' # - 'SLS' # - 'I I' # ingredients: # L: LEATHER # S: STRING # I: IRON_INGOT # shapeless: # - material: LEATHER # quantity: 1 # ingredients: # ROTTEN_FLESH: 9 # - material: COAL # quantity: 1 # lore: # - 'Crafted from Charcoal' # ingredients: # COAL:1: 1 # furnace: # - material: LEATHER # source: ROTTEN_FLESH # - material: WOOL:15 # source: WOOL # name: 'Burnt Wool' |
Todo
Add furnace recipesAdded in v1.1Add option to override default recipeAdded in v1.1Add custom lore/namesAdded in v1.1Add enchantment optionsDecided not to go through with this ideaAdd potion recipesNot possible using the Bukkit API
Have a suggestion? Leave a comment!
Metrics
This plugin uses metrics to collect stats! It only collect basic things such as version type, and players online. If you want to see everything, click on the graph. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
Uploaded v1.1 Jenkins build #9
Fixed:
Added:
Other:
@Krydoza
I figured out how to override default recipes. Its a bit weird, though. Seems the client knows what the defaults are and shows it up on the crafting table instead of waiting for a server response. Once the server responds with "no such recipe" the recipe is removed from the crafting table. This results in a little "blink" of the result item using an old default recipe due to network latency. Nothing I can do to fix this blink at all, but it is working in Jenkins build #8.
Please remove your old config.yml to get a new copy, or open the .jar in Winrar to at least look at the new config.yml to see what's changed. I also gave examples on how to include items with data values (like colored wool, or charcoal)
I'm about to start working on the custom names/lore now. ;)
@Auxesis
After thinking more about it, this idea doesnt really fit or make sense to me. There is an enchanting table to perform enchants on already. This plugin's aim is to add something new to the game. Plus, logically/realistically speaking, you cant make a magical sword just by putting pieces of materials together.
I mean, it would make sense if you could put magical properties on diamonds and then used those magical diamonds to make a magical sword. But that just adds a huge overhead to the whole project to support something like that. I just dont have the time or will power to do that much work. Sorry. :(
@Auxesis
@Krydoza
Complete oversights on my part. I'll add these any any other custom data that I can think of/find in the next release ^_^
@Krydoza
This will not override defaults, no. I'm not sure if that's even possible, to be honest. I'll look more into that and if its possible I'll add an option to do that.
It would be nice if we could use this to create recipes for custom named/lore/effect items.
Example: Blaze Rod+Redstone Dust+Diamond to create a Blaze Rod item named "Blaze Wand" w/ Fire Aspect V enchantment.
Also, I would like to know if this will allow for overriding existing recipes.
I haven't used this plugin yet, but it would be neat if you added something to have items enchant on crafting. Could be a subsetting or something like: