RecipeLookup
This server mod allows players to search how to craft items! Have you ever been in game and you suddenly need an item but can't for the life of you remember the recipe? Looking recipes up on the wiki is just too much of an effort but you have to waste your valuable playing time on it anyway.
But wait, what if the server you're playing on has RecipeLookup?
Simply type /recipe followed by the item name and bang it pops up!
But what if there's more than one recipe for the same item?
RecipeLookup simply rotates through all of the possible combinations if showing recipes in a workbench menu is enabled, otherwise it has a simple command structure to view the different recipes!
But what if I have a plugin to add custom recipes?
RecipeLookup is hooked into the Bukkit API for recipes, so all recipes added correctly should be there!
I've seen lots of plugins like this. What makes this one better than the others?
- It uses Bukkit API commands to look up recipes, making it more lightweight and faster than some other soloutions. This also makes it update to new recipes as soon as they are edited.
- The plugin was developed primarily for OniCraft so it was designed to be lightweight as to not lag a server with a large user base, while still having cool features.
- RecipeLookup will scroll through all possible recipes for the items you specify!
How can we lookup a recipe a name that is a subset of another item? For example, bo or book will return bookshelf. How can we get the recipe just for book?
@creativetux
I'll admit - that's a pretty nifty idea, although I can see some problems:
How would you show the ingredients without forcing the player to sit through an animation sequence? (Which could be long!)
Hey! Awesome plugin! What my players have asked for is a /potion also. I'm guessing that would be neat to add into this same plugin, showing a brewing stand instead of the crafting table.
What do you think ? Is it do-able?
how do i use it?
i downloaded it what files do i put it in
@meiamsome
I mean like a gui with all recipes in it with pages, so you can select one recipe in the list and then it opens the recipe for it
@xH3LLRAIZ3Rx
Can you clarify what you mean? The recipes already come up in a GUI..?
Can you add a inventory GUI for the plugin to see the recipes
http://pastebin.com/bRUUeXzC
@xH3LLRAIZ3Rx
Sorry for the ambiguity, I meant the pastebin one
@DavisJensn143
No, there isn't... I can implement one if you want though.
IS there a permission node?
@meiamsome
ok, helpful to redo recipes or to give you the pastebin of the recipes?
@xH3LLRAIZ3Rx
On second thoughts, if it isn't too much effort it may be helpful
@xH3LLRAIZ3Rx
Nah, don't do that, I'll look into it - I think I know why it might be happening
@meiamsome
Hmm, wierd, should i redo my recipes then? Or do you want the pastebin of the recipes and format?
@xH3LLRAIZ3Rx
It should already support the recipes, if CraftBook adds them correctly.
(I looked through the code of CraftBook, and it looks like it should be working)
can you add CraftBook Recipe Support
@Zbob750
Update allows spaces now ^_^
@Zbob750
Yeah, that was the plan I had - I'll look into it when I have some time :D
@meiamsome
Hey thanks for the quick response.
Daylight detector renamed to daylight sensor successfully thanks for that tip.
I'm not a plugin developer but is there some way to make it stop looking for the actual recipe to lookup when it hits a number? so it'd read the whole string until it hit a number? Since to my knowledge there are no numbers in any block data? So it'd read the data like "/recipe <name - no number in sight> <#> ?
Like I said, not a plugin dev, just shooting off ideas.
Thanks