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.
@FlOppythp
ID data is out. Its been deprecated by Bukkit and Mojang. The future there will be no IDs. Not for any plugin, so you better get used to it.
@hiiiboy111
I will not be supported enchanting in a crafting recipe.
Hey! I really LOVE this plugin, best I've seen so far! However, I have an idea that needs the enchantment option, I know you didn't go through with it, but can you please try to custom code the plugin so that enchanting works, thanks!
@MisterJonicraft
You configured it wrong. Your furnace recipes work fine. Most of the shaped recipes, however, have errors in them.
For starters, you cannot override a recipe that doesnt exist, so override: true for all those mob_sepawners is doing you no good here, and might even be causing issues in itself.
Second, your name is in quotes, and it doesnt have to be. I removed them, just in case thats part of the problem.
Third, and most importantly, most of you shapes do not match your ingredient lists. The letters you set in the shape MUST be in the ingredients list. And those in the ingredient list MUST be in the shape. If not, it will error.
Lastly, not sure if you did this on purpose or not, but your last shaped recipe doesnt match the others. You used diamond BLOCKS and no iron fence, even though you specified a blank I: field in the ingredients.
Hope this helps.
Doesnt work , need help :
# 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: MOB_SPAWNER
override: true
quantity: 1
name: 'ZOMBIE'
shape:
- 'DDD'
- 'IRI'
- 'DDD'
ingredients:
R: ROTTEN_FLESH
D: DIAMOND
I: IRON_FENCE
- material: MOB_SPAWNER
override: true
quantity: 1
name: 'CREEPER'
shape:
- 'DDD'
- 'IRI'
- 'DDD'
ingredients:
S: SULPHUR
D: DIAMOND
I: IRON_FENCE
- material: MOB_SPAWNER
override: true
quantity: 1
name: 'SKELETON'
shape:
- 'DDD'
- 'IBI'
- 'DDD'
ingredients:
B: BONE
D: DIAMOND
I:
- material: MOB_SPAWNER
override: true
quantity: 1
name: 'SPIDER'
shape:
- 'DDD'
- 'IEI'
- 'DDD'
ingredients:
B: SPIDER_EYE
D: DIAMOND
I: IRON_FENCE
- material: MOB_SPAWNER
override: true
quantity: 1
name: 'SKELETON'
shape:
- 'DDD'
- 'DPD'
- 'DDD'
ingredients:
P: POISONOUS_POTATO
D: DIAMOND_BLOCK
I: IRON_FENCE
shapeless:
- material: LEATHER
quantity: 1
ingredients:
ROTTEN_FLESH: 9
- material: COAL
quantity: 1
lore:
- 'Crafted from Charcoal'
ingredients:
COAL:1: 1
furnace:
- material: SOUL_SAND
source: DIRT
name: 'Gebrannter Dreck'
- material: NETHER_BRICK
source: NETHERRACK
name: 'Gebrannter Netherstein'
- material: WATER
source: SNOW_BLOCK
- material: CHAINMAIL_HELMET
source: GOLD_HELMET
- material: CHAINMAIL_CHESTPLATE
source: GOLD_CHESTPLATE
- material: CHAINMAIL_LEGGINGS
source: GOLD_LEGGINGS
- material: CHAINMAIL_BOOTS
source: GOLD_BOOTS
- material: JACK_O_LANTERN
source: PUMPKIN
name: 'Gebrannter Kuerbis'
@jeppepette
You are using incorrect material names. Iron bars is IRON_FENCE, and the nether quartz is QUARTZ_ORE, for example.
I've provided a link to the full list of available material names in the config. But I'll go ahead and link it here as well.
http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
@wesleyd0g
Not a bug. You configured it wrong. There should only 1 entry for each type (shaped, shapeless, furnace). The rest all fit under each of those. and the spacing matters. If you use tabs, or space things wrongly, it will fail to read the file correctly. If you need to check your spacing use an online YAML parser to verify its correct.
Here, this is what your example should be:
== I found a bug? ==
recipes:
shaped:
- material: MOB_SPAWNER
quantity: 1
name: Skeleton
shape:
- 'III'
- 'IEI'
- 'III'
ingredients:
I: IRON_FENCE
E: MONSTER_EGG:51
shaped:
- material: MOB_SPAWNER
quantity: 1
name: Zombie
shape:
- 'III'
- 'IEI'
- 'III'
ingredients:
I: IRON_FENCE
E: MONSTER_EGG:54
shaped:
- material: MOB_SPAWNER
quantity: 1
name: Creeper
shape:
- 'III'
- 'IEI'
- 'III'
ingredients:
I: IRON_FENCE
E: MONSTER_EGG:50
shaped:
- material: MOB_SPAWNER
quantity: 1
name: Slime
shape:
- 'III'
- 'IEI'
- 'III'
ingredients:
I: IRON_FENCE
E: MONSTER_EGG:55
shaped:
- material: MOB_SPAWNER
quantity: 1
name: Enderman
shape:
- 'III'
- 'IEI'
- 'III'
ingredients:
I: IRON_FENCE
E: MONSTER_EGG:58
shaped:
- material: MOB_SPAWNER
quantity: 1
name: Blaze
shape:
- 'III'
- 'IEI'
- 'III'
ingredients:
I: IRON_FENCE
E: MONSTER_EGG:61
ok i got your plugin and i really love it :D but i feel like some items does not work like NEHTER_QUARTZ or IRON_BARS i kinda tried a few ways but i dont seam to get it to work is there any way you can send me a link of how i am surposed to type in the names of this items cus it seams a bit off to me that the names it self isend the real once :/ i got the hole ink_sack part covered but this IRON_BARS and NETHER_QUARTZ seam to not work just like the NETHER_BRICK gives me the block and not the material it self so id like to request a tiny more help on that part maybe make a list of names of the differend types of stuff your surposed to type :D just saying ^_^ i hope i am not complanin to much :D
You are alsome! Nice and easy plugin to use.
I like when plugin builder listen to his users!
9/10 Score
Uploaded v1.2 Jenkins Build #11
Fixed: none
Added:
To make a custom mob spawner recipe, set the "name" as the entity you want it to be. Example:
@UnUltima23
What do you mean? Dyes work just fine... Here's a simple recipe that turns 2 red dyes back into a flower
@wesleyd0g
Sure thing. I just tested this out on current build and the spawners always came out as pigs. Next update will support custom spawner cages.
Also can you make id for mobs spawners so we can craft spawner?
Could you please add support for more items then? Some items don't work, like dyes.
@wesleyd0g
It does work. You must uncomment the recipes, though (remove the # on lines 12-52).
The default config dont work if you wanne craft something?
@wesleyd0g
I'm not sure how to answer that. Could you be a little more specific on what aspect you are confused about? I'll gladly clarify anything you don't understand ^_^
Maybe im stupid but how this works?
@UnUltima23
Brewing recipes are sadly not possible due to the way Minecraft works. The recipes for brewing stands are in the client, but not the server. Its really weird, and I spent a few days looking up any hacks that I could try to get those to work, to no avail.
The item IDs are being phased out of the Bukkit API and from Minecraft itself. So no, I will not be supporting IDs.
Enchantments I decided not to support. While it is very possible, it just didnt make any sense to me from a lore perspective. Crafting is crafting. Enchanting is enchanting. I believe the two should stay separate.
@UnUltima23
Oh, and can you use item id's instead of names?
Could you possible add brewing recipes? Maybe with custom effects? And are enchantments possible?